#E2D161#E2D161
#E2D161 is a very light, vivid yellow. Relative luminance 0.626; OKLCH L 85.3% C 0.134 H 100.8°. Best body text is #000000 at 13.53:1 contrast (WCAG AA passes).
Color values
| HEX | #E2D161 |
|---|---|
| RGB | rgb(226, 209, 97) |
| HSL | hsl(52, 69%, 63%) |
| HSV | hsv(52, 57%, 89%) |
| CMYK | cmyk(0%, 7.5%, 57.1%, 11.4%) |
| CIE-LAB | lab(83.25, -7.83, 56.62) |
| CIE-LCH | lch(83.25, 57.16, 97.87°) |
| OKLab | oklab(85.29% -0.025 0.1314) |
| OKLCH | oklch(85.29% 0.134 100.8) |
| XYZ | xyz(56.3242, 62.6349, 20.4298) |
| Luminance | 0.6263 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 3.16
Sandy
#F1DA7A
ΔE00 3.76
Sand (survey)
#E2CA76
ΔE00 4.75
Light Mustard
#F7D560
ΔE00 4.83
Sand Yellow
#FCE166
ΔE00 4.89
Pale Gold
#FDDE6C
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2D161 #6172E2
analogous
#E29061 #E2D161 #B2E261
triadic
#E2D161 #61E2D1 #D161E2
tetradic
#E2D161 #61E290 #6172E2 #E261B2
square
#E2D161 #61E290 #6172E2 #E261B2
split-complementary
#E2D161 #61B2E2 #9061E2
monochromatic
#A9971F #D9C22D #E2D161 #EBE095 #F5EFC8
Accessibility & contrast
On white
1.55
#E2D161 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.53
#E2D161 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2D161
13.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2D161 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2D161 | 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)
#E2CB56
Deuteranopia (green-blind)
#E7D266
Tritanopia (blue-blind)
#F2C4B8
Achromatopsia (no color)
#CFCFCF
Design tokens & code
CSS
--color: #e2d161; /* rgb */ color: rgb(226, 209, 97); /* oklch */ color: oklch(85.3% 0.134 100.8);
Tailwind
colors: {
custom: {
50: '#eede91',
500: '#e2d161',
950: '#000000',
},
}SCSS
$custom: #e2d161; $custom-light: #eede91; $custom-dark: #000000;
JSON
{
"hex": "#e2d161",
"rgb": {
"r": 226,
"g": 209,
"b": 97
},
"hsl": {
"h": 52.093,
"s": 68.984,
"l": 63.333
},
"oklch": {
"l": 0.85292,
"c": 0.13375,
"h": 100.8
},
"luminance": 0.62633
}Semantic roles & 50–950 ramp
primary
#E2D161
secondary
#3C4AAB
accent
#2DD115
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F