#E4D062#E4D062
#E4D062 is a very light, vivid yellow. Relative luminance 0.625; OKLCH L 85.3% C 0.132 H 99.1°. Best body text is #000000 at 13.50:1 contrast (WCAG AA passes).
Color values
| HEX | #E4D062 |
|---|---|
| RGB | rgb(228, 208, 98) |
| HSL | hsl(51, 71%, 64%) |
| HSV | hsv(51, 57%, 89%) |
| CMYK | cmyk(0%, 8.8%, 57%, 10.6%) |
| CIE-LAB | lab(83.17, -6.42, 56.13) |
| CIE-LCH | lch(83.17, 56.49, 96.53°) |
| OKLab | oklab(85.28% -0.021 0.1304) |
| OKLCH | oklch(85.28% 0.132 99.1) |
| XYZ | xyz(56.7575, 62.4899, 20.6250) |
| Luminance | 0.6249 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 3.37
Dull Yellow
#EEDC5B
ΔE00 3.43
Light Mustard
#F7D560
ΔE00 4.14
Sand (survey)
#E2CA76
ΔE00 4.17
Maize
#F4D054
ΔE00 4.50
Pale Gold
#FDDE6C
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E4D062 #6276E4
analogous
#E48F62 #E4D062 #B7E462
triadic
#E4D062 #62E4D0 #D062E4
tetradic
#E4D062 #62E48F #6276E4 #E462B7
square
#E4D062 #62E48F #6276E4 #E462B7
split-complementary
#E4D062 #62B7E4 #8F62E4
monochromatic
#AE981E #DBC02E #E4D062 #EDE096 #F6EFCA
Accessibility & contrast
On white
1.56
#E4D062 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.50
#E4D062 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E4D062
13.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E4D062 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E4D062 | 1.00 | 1.56 | 13.50 | 13.50 |
| #FFFFFF | 1.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E2CB57
Deuteranopia (green-blind)
#E7D267
Tritanopia (blue-blind)
#F4C3B8
Achromatopsia (no color)
#CFCFCF
Design tokens & code
CSS
--color: #e4d062; /* rgb */ color: rgb(228, 208, 98); /* oklch */ color: oklch(85.3% 0.132 99.1);
Tailwind
colors: {
custom: {
50: '#efde92',
500: '#e4d062',
950: '#000000',
},
}SCSS
$custom: #e4d062; $custom-light: #efde92; $custom-dark: #000000;
JSON
{
"hex": "#e4d062",
"rgb": {
"r": 228,
"g": 208,
"b": 98
},
"hsl": {
"h": 50.769,
"s": 70.652,
"l": 63.922
},
"oklch": {
"l": 0.85275,
"c": 0.13207,
"h": 99.1
},
"luminance": 0.62488
}Semantic roles & 50–950 ramp
primary
#E4D062
secondary
#3B4DAF
accent
#30D313
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F