#E4D672#E4D672
#E4D672 is a very light, vivid yellow. Relative luminance 0.658; OKLCH L 86.7% C 0.123 H 101.4°. Best body text is #000000 at 14.16:1 contrast (WCAG AA passes).
Color values
| HEX | #E4D672 |
|---|---|
| RGB | rgb(228, 214, 114) |
| HSL | hsl(53, 68%, 67%) |
| HSV | hsv(53, 50%, 89%) |
| CMYK | cmyk(0%, 6.1%, 50%, 10.6%) |
| CIE-LAB | lab(84.90, -8.18, 50.67) |
| CIE-LCH | lch(84.90, 51.33, 99.17°) |
| OKLab | oklab(86.7% -0.0243 0.1202) |
| OKLCH | oklch(86.7% 0.123 101.4) |
| XYZ | xyz(59.0805, 65.8040, 25.5057) |
| Luminance | 0.6580 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 2.90
Dull Yellow
#EEDC5B
ΔE00 3.96
Khaki (CSS)
#F0E68C
ΔE00 4.06
Sand (survey)
#E2CA76
ΔE00 4.49
Wheat (survey)
#FBDD7E
ΔE00 5.10
Sand Yellow
#FCE166
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E4D672 #7280E4
analogous
#E49D72 #E4D672 #B9E472
triadic
#E4D672 #72E4D6 #D672E4
tetradic
#E4D672 #72E49D #7280E4 #E472B9
square
#E4D672 #72E49D #7280E4 #E472B9
split-complementary
#E4D672 #72B9E4 #9D72E4
monochromatic
#B8A623 #DAC73F #E4D672 #EEE5A5 #F8F4D9
Accessibility & contrast
On white
1.48
#E4D672 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.16
#E4D672 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E4D672
14.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E4D672 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E4D672 | 1.00 | 1.48 | 14.16 | 14.16 |
| #FFFFFF | 1.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E6D169
Deuteranopia (green-blind)
#EAD776
Tritanopia (blue-blind)
#F3CABF
Achromatopsia (no color)
#D4D4D4
Design tokens & code
CSS
--color: #e4d672; /* rgb */ color: rgb(228, 214, 114); /* oklch */ color: oklch(86.7% 0.123 101.4);
Tailwind
colors: {
custom: {
50: '#efe29d',
500: '#e4d672',
950: '#000000',
},
}SCSS
$custom: #e4d672; $custom-light: #efe29d; $custom-dark: #000000;
JSON
{
"hex": "#e4d672",
"rgb": {
"r": 228,
"g": 214,
"b": 114
},
"hsl": {
"h": 52.632,
"s": 67.857,
"l": 67.059
},
"oklch": {
"l": 0.86697,
"c": 0.12258,
"h": 101.4
},
"luminance": 0.65802
}Semantic roles & 50–950 ramp
primary
#E4D672
secondary
#4250B9
accent
#2DD016
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F