#E2D562#E2D562
#E2D562 is a very light, vivid yellow. Relative luminance 0.646; OKLCH L 86.1% C 0.137 H 102.9°. Best body text is #000000 at 13.93:1 contrast (WCAG AA passes).
Color values
| HEX | #E2D562 |
|---|---|
| RGB | rgb(226, 213, 98) |
| HSL | hsl(54, 69%, 64%) |
| HSV | hsv(54, 57%, 89%) |
| CMYK | cmyk(0%, 5.8%, 56.6%, 11.4%) |
| CIE-LAB | lab(84.30, -9.78, 57.36) |
| CIE-LCH | lch(84.30, 58.19, 99.67°) |
| OKLab | oklab(86.13% -0.0305 0.1331) |
| OKLCH | oklch(86.13% 0.137 102.9) |
| XYZ | xyz(57.3648, 64.6412, 21.0082) |
| Luminance | 0.6464 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.70
Sandy
#F1DA7A
ΔE00 4.18
Sand Yellow
#FCE166
ΔE00 4.93
Yellow Tan
#FFE36E
ΔE00 5.42
Khaki (CSS)
#F0E68C
ΔE00 5.43
Pale Gold
#FDDE6C
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2D562 #626FE2
analogous
#E29562 #E2D562 #AFE262
triadic
#E2D562 #62E2D5 #D562E2
tetradic
#E2D562 #62E295 #626FE2 #E262AF
square
#E2D562 #62E295 #626FE2 #E262AF
split-complementary
#E2D562 #62AFE2 #9562E2
monochromatic
#AA9C1F #D8C72E #E2D562 #ECE396 #F5F1C9
Accessibility & contrast
On white
1.51
#E2D562 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.93
#E2D562 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2D562
13.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2D562 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2D562 | 1.00 | 1.51 | 13.93 | 13.93 |
| #FFFFFF | 1.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E6CF56
Deuteranopia (green-blind)
#EAD568
Tritanopia (blue-blind)
#F1C8BC
Achromatopsia (no color)
#D2D2D2
Design tokens & code
CSS
--color: #e2d562; /* rgb */ color: rgb(226, 213, 98); /* oklch */ color: oklch(86.1% 0.137 102.9);
Tailwind
colors: {
custom: {
50: '#eee192',
500: '#e2d562',
950: '#000000',
},
}SCSS
$custom: #e2d562; $custom-light: #eee192; $custom-dark: #000000;
JSON
{
"hex": "#e2d562",
"rgb": {
"r": 226,
"g": 213,
"b": 98
},
"hsl": {
"h": 53.906,
"s": 68.817,
"l": 63.529
},
"oklch": {
"l": 0.86127,
"c": 0.13652,
"h": 102.9
},
"luminance": 0.64639
}Semantic roles & 50–950 ramp
primary
#E2D562
secondary
#3C48AC
accent
#28D115
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F