#E4D262#E4D262
#E4D262 is a very light, vivid yellow. Relative luminance 0.635; OKLCH L 85.7% C 0.134 H 100.3°. Best body text is #000000 at 13.69:1 contrast (WCAG AA passes).
Color values
| HEX | #E4D262 |
|---|---|
| RGB | rgb(228, 210, 98) |
| HSL | hsl(52, 71%, 64%) |
| HSV | hsv(52, 57%, 89%) |
| CMYK | cmyk(0%, 7.9%, 57%, 10.6%) |
| CIE-LAB | lab(83.69, -7.44, 56.71) |
| CIE-LCH | lch(83.69, 57.20, 97.47°) |
| OKLab | oklab(85.69% -0.0239 0.1317) |
| OKLCH | oklch(85.69% 0.134 100.3) |
| XYZ | xyz(57.2482, 63.4713, 20.7885) |
| Luminance | 0.6347 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.94
Sandy
#F1DA7A
ΔE00 3.46
Light Mustard
#F7D560
ΔE00 4.49
Sand Yellow
#FCE166
ΔE00 4.52
Sand (survey)
#E2CA76
ΔE00 4.71
Pale Gold
#FDDE6C
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E4D262 #6274E4
analogous
#E49162 #E4D262 #B5E462
triadic
#E4D262 #62E4D2 #D262E4
tetradic
#E4D262 #62E491 #6274E4 #E462B5
square
#E4D262 #62E491 #6274E4 #E462B5
split-complementary
#E4D262 #62B5E4 #9162E4
monochromatic
#AE9A1E #DBC32E #E4D262 #EDE196 #F6F0CA
Accessibility & contrast
On white
1.53
#E4D262 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.69
#E4D262 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E4D262
13.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E4D262 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E4D262 | 1.00 | 1.53 | 13.69 | 13.69 |
| #FFFFFF | 1.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E3CD57
Deuteranopia (green-blind)
#E9D467
Tritanopia (blue-blind)
#F4C5B9
Achromatopsia (no color)
#D1D1D1
Design tokens & code
CSS
--color: #e4d262; /* rgb */ color: rgb(228, 210, 98); /* oklch */ color: oklch(85.7% 0.134 100.3);
Tailwind
colors: {
custom: {
50: '#efdf92',
500: '#e4d262',
950: '#000000',
},
}SCSS
$custom: #e4d262; $custom-light: #efdf92; $custom-dark: #000000;
JSON
{
"hex": "#e4d262",
"rgb": {
"r": 228,
"g": 210,
"b": 98
},
"hsl": {
"h": 51.692,
"s": 70.652,
"l": 63.922
},
"oklch": {
"l": 0.85685,
"c": 0.13381,
"h": 100.3
},
"luminance": 0.63469
}Semantic roles & 50–950 ramp
primary
#E4D262
secondary
#3B4BAF
accent
#2DD313
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F