#E2D162#E2D162
#E2D162 is a very light, vivid yellow. Relative luminance 0.627; OKLCH L 85.3% C 0.133 H 100.7°. Best body text is #000000 at 13.53:1 contrast (WCAG AA passes).
Color values
| HEX | #E2D162 |
|---|---|
| RGB | rgb(226, 209, 98) |
| HSL | hsl(52, 69%, 64%) |
| HSV | hsv(52, 57%, 89%) |
| CMYK | cmyk(0%, 7.5%, 56.6%, 11.4%) |
| CIE-LAB | lab(83.26, -7.75, 56.18) |
| CIE-LCH | lch(83.26, 56.71, 97.86°) |
| OKLab | oklab(85.3% -0.0247 0.1306) |
| OKLCH | oklch(85.3% 0.133 100.7) |
| XYZ | xyz(56.3711, 62.6537, 20.6769) |
| Luminance | 0.6265 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 3.23
Sandy
#F1DA7A
ΔE00 3.68
Sand (survey)
#E2CA76
ΔE00 4.65
Light Mustard
#F7D560
ΔE00 4.84
Sand Yellow
#FCE166
ΔE00 4.91
Pale Gold
#FDDE6C
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2D162 #6273E2
analogous
#E29162 #E2D162 #B3E262
triadic
#E2D162 #62E2D1 #D162E2
tetradic
#E2D162 #62E291 #6273E2 #E262B3
square
#E2D162 #62E291 #6273E2 #E262B3
split-complementary
#E2D162 #62B3E2 #9162E2
monochromatic
#AA981F #D8C22E #E2D162 #ECE096 #F5EFC9
Accessibility & contrast
On white
1.55
#E2D162 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.53
#E2D162 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2D162
13.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2D162 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2D162 | 1.00 | 1.55 | 13.53 | 13.53 |
| #FFFFFF | 1.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E2CC57
Deuteranopia (green-blind)
#E7D267
Tritanopia (blue-blind)
#F2C4B8
Achromatopsia (no color)
#CFCFCF
Design tokens & code
CSS
--color: #e2d162; /* rgb */ color: rgb(226, 209, 98); /* oklch */ color: oklch(85.3% 0.133 100.7);
Tailwind
colors: {
custom: {
50: '#eede92',
500: '#e2d162',
950: '#000000',
},
}SCSS
$custom: #e2d162; $custom-light: #eede92; $custom-dark: #000000;
JSON
{
"hex": "#e2d162",
"rgb": {
"r": 226,
"g": 209,
"b": 98
},
"hsl": {
"h": 52.031,
"s": 68.817,
"l": 63.529
},
"oklch": {
"l": 0.85303,
"c": 0.13286,
"h": 100.7
},
"luminance": 0.62652
}Semantic roles & 50–950 ramp
primary
#E2D162
secondary
#3C4BAC
accent
#2ED115
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F