#E2DD6C#E2DD6C
#E2DD6C is a very light, vivid yellow. Relative luminance 0.690; OKLCH L 87.9% C 0.135 H 106.6°. Best body text is #000000 at 14.79:1 contrast (WCAG AA passes).
Color values
| HEX | #E2DD6C |
|---|---|
| RGB | rgb(226, 221, 108) |
| HSL | hsl(57, 67%, 65%) |
| HSV | hsv(57, 52%, 89%) |
| CMYK | cmyk(0%, 2.2%, 52.2%, 11.4%) |
| CIE-LAB | lab(86.49, -13.01, 55.32) |
| CIE-LCH | lch(86.49, 56.83, 103.23°) |
| OKLab | oklab(87.9% -0.0386 0.1298) |
| OKLCH | oklch(87.9% 0.135 106.6) |
| XYZ | xyz(59.9289, 68.9661, 24.3394) |
| Luminance | 0.6896 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 3.96
Khaki (CSS)
#F0E68C
ΔE00 4.25
Sandy Yellow
#FDEE73
ΔE00 4.94
Yellowish
#FAEE66
ΔE00 5.04
Sandy
#F1DA7A
ΔE00 5.35
Straw
#FCF679
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2DD6C #6C71E2
analogous
#E2A26C #E2DD6C #ACE26C
triadic
#E2DD6C #6CE2DD #DD6CE2
tetradic
#E2DD6C #6CE2A2 #6C71E2 #E26CAC
square
#E2DD6C #6CE2A2 #6C71E2 #E26CAC
split-complementary
#E2DD6C #6CACE2 #A26CE2
monochromatic
#B1AB23 #D8D139 #E2DD6C #ECE99F #F6F5D2
Accessibility & contrast
On white
1.42
#E2DD6C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.79
#E2DD6C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2DD6C
14.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2DD6C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2DD6C | 1.00 | 1.42 | 14.79 | 14.79 |
| #FFFFFF | 1.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EDD661
Deuteranopia (green-blind)
#F0DB72
Tritanopia (blue-blind)
#F0D1C4
Achromatopsia (no color)
#D8D8D8
Design tokens & code
CSS
--color: #e2dd6c; /* rgb */ color: rgb(226, 221, 108); /* oklch */ color: oklch(87.9% 0.135 106.6);
Tailwind
colors: {
custom: {
50: '#ede799',
500: '#e2dd6c',
950: '#000000',
},
}SCSS
$custom: #e2dd6c; $custom-light: #ede799; $custom-dark: #000000;
JSON
{
"hex": "#e2dd6c",
"rgb": {
"r": 226,
"g": 221,
"b": 108
},
"hsl": {
"h": 57.458,
"s": 67.045,
"l": 65.49
},
"oklch": {
"l": 0.879,
"c": 0.13539,
"h": 106.6
},
"luminance": 0.68964
}Semantic roles & 50–950 ramp
primary
#E2DD6C
secondary
#4045B2
accent
#1ECF17
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17160E
muted
#85847F