Pear color: hex code #D1E231
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 | |
|---|---|---|
| RGB | rgb(209, 226, 49) | |
| RGB percent | rgb(82%, 88.6%, 19.2%) | |
| HSL | hsl(66, 75%, 54%) | |
| HSV / HSB | hsv(66, 78%, 89%) | |
| CMYK | cmyk(8%, 0%, 78%, 11%) | |
| CIE LAB | lab(86.09, -25.82, 76.99) | |
| CIE LCH | lch(86.09, 81.21, 108.54) | |
| CIE XYZ | xyz(54.047, 68.171, 13.216) | |
| Decimal | 13754929 | |
| Short hex | None (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 #D1E231 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.63:1 | Pass | Pass | Pass |
| Sample text | 1.44:1 | Fail | Fail | Fail |
| #D1E231 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.44:1 | Fail | Fail | Fail |
| Sample text | 14.63:1 | Pass | Pass | Pass |
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.
#f2d600Protanopia
no red cones#f1d942Deuteranopia
no green cones#dfd5c2Tritanopia
no blue cones#d7d7d7Achromatopsia
no color vision
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); }
Similar colors
#cae03bGreenivorous#cfe838Lime Fizz#d2db32Bitter Lemon#d4de49Yuzukoshō#cae80aPoisonous Pesto#cdd80dGoldzilla#c6d624Lime Twist#c0d725Lime Punch
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.