#E4D06C#E4D06C
#E4D06C is a very light, vivid yellow. Relative luminance 0.627; OKLCH L 85.4% C 0.123 H 98.2°. Best body text is #000000 at 13.54:1 contrast (WCAG AA passes).
Color values
| HEX | #E4D06C |
|---|---|
| RGB | rgb(228, 208, 108) |
| HSL | hsl(50, 69%, 66%) |
| HSV | hsv(50, 53%, 89%) |
| CMYK | cmyk(0%, 8.8%, 52.6%, 10.6%) |
| CIE-LAB | lab(83.28, -5.64, 51.60) |
| CIE-LCH | lch(83.28, 51.91, 96.24°) |
| OKLab | oklab(85.39% -0.0176 0.1216) |
| OKLCH | oklch(85.39% 0.123 98.2) |
| XYZ | xyz(57.2595, 62.6907, 23.2688) |
| Luminance | 0.6269 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 2.70
Sand (survey)
#E2CA76
ΔE00 3.02
Dull Yellow
#EEDC5B
ΔE00 4.37
Light Mustard
#F7D560
ΔE00 4.47
Wheat (survey)
#FBDD7E
ΔE00 4.54
Pale Gold
#FDDE6C
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E4D06C #6C80E4
analogous
#E4946C #E4D06C #BCE46C
triadic
#E4D06C #6CE4D0 #D06CE4
tetradic
#E4D06C #6CE494 #6C80E4 #E46CBC
square
#E4D06C #6CE494 #6C80E4 #E46CBC
split-complementary
#E4D06C #6CBCE4 #946CE4
monochromatic
#B49C21 #DBBF38 #E4D06C #EDE1A0 #F7F1D3
Accessibility & contrast
On white
1.55
#E4D06C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.54
#E4D06C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E4D06C
13.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E4D06C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E4D06C | 1.00 | 1.55 | 13.54 | 13.54 |
| #FFFFFF | 1.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E1CB63
Deuteranopia (green-blind)
#E6D370
Tritanopia (blue-blind)
#F3C3B9
Achromatopsia (no color)
#CFCFCF
Design tokens & code
CSS
--color: #e4d06c; /* rgb */ color: rgb(228, 208, 108); /* oklch */ color: oklch(85.4% 0.123 98.2);
Tailwind
colors: {
custom: {
50: '#efde98',
500: '#e4d06c',
950: '#000000',
},
}SCSS
$custom: #e4d06c; $custom-light: #efde98; $custom-dark: #000000;
JSON
{
"hex": "#e4d06c",
"rgb": {
"r": 228,
"g": 208,
"b": 108
},
"hsl": {
"h": 50,
"s": 68.966,
"l": 65.882
},
"oklch": {
"l": 0.85394,
"c": 0.12291,
"h": 98.2
},
"luminance": 0.62688
}Semantic roles & 50–950 ramp
primary
#E4D06C
secondary
#3F53B5
accent
#34D115
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F