Pear color: hex code #D1E231

#D1E231 rgb(209, 226, 49)
Shades of yellow

Pear has the hex code #D1E231. It is a moderate yellow.

In the RGB color model it is made of 82% red, 88.6% green and 19.2% blue (209, 226, 49).

Its hue angle is 66°, with 75% saturation and 54% lightness. For print, the CMYK equivalent is 8% cyan, 0% magenta, 78% yellow and 11% black.

Black text is the more readable choice on this background (contrast 14.63:1).

Pear (#D1E231) color codes

HEX#D1E231
RGBrgb(209, 226, 49)
RGB percentrgb(82%, 88.6%, 19.2%)
HSLhsl(66, 75%, 54%)
HSV / HSBhsv(66, 78%, 89%)
CMYKcmyk(8%, 0%, 78%, 11%)
CIE LABlab(86.09, -25.82, 76.99)
CIE LCHlch(86.09, 81.21, 108.54)
CIE XYZxyz(54.047, 68.171, 13.216)
Decimal13754929
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with Pear, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #D1E231RatioAAAAAAA large
Sample text14.63:1PassPassPass
Sample text1.44:1FailFailFail
#D1E231 as text onRatioAAAAAAA large
Sample text1.44:1FailFailFail
Sample text14.63:1PassPassPass

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #D1E231 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #d1e231; }
.text { color: #d1e231; }
.border { border: 2px solid #d1e231; }
.transparent { background-color: rgb(209 226 49 / 50%); }
.gradient { background: linear-gradient(to right, #d1e231, #79e231); }
Background
Text color
Border

Similar colors

Closest common color name: Dandelion.

See #D1E231 on its hex code page

Questions

What color is #D1E231?
#D1E231 is a moderate yellow known as Pear. It belongs to the yellow family of colors.
What is the RGB value of Pear?
The RGB value is 209, 226, 49: 209 red, 226 green and 49 blue on a 0 to 255 scale.
What is the complementary color of Pear?
The complementary color is #4231E2, found by rotating the hue 180° on the color wheel.
Is black or white text better on #D1E231?
Black text. Black text has a contrast ratio of 14.63:1 and white text 1.44:1. WCAG asks for at least 4.5:1 for normal text.