#E2D757#E2D757
#E2D757 is a very light, vivid yellow. Relative luminance 0.655; OKLCH L 86.4% C 0.148 H 104.4°. Best body text is #000000 at 14.09:1 contrast (WCAG AA passes).
Color values
| HEX | #E2D757 |
|---|---|
| RGB | rgb(226, 215, 87) |
| HSL | hsl(55, 71%, 61%) |
| HSV | hsv(55, 62%, 89%) |
| CMYK | cmyk(0%, 4.9%, 61.5%, 11.4%) |
| CIE-LAB | lab(84.72, -11.54, 62.63) |
| CIE-LCH | lch(84.72, 63.68, 100.44°) |
| OKLab | oklab(86.43% -0.0367 0.1429) |
| OKLCH | oklch(86.43% 0.148 104.4) |
| XYZ | xyz(57.3868, 65.4598, 18.6271) |
| Luminance | 0.6546 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.28
Piss Yellow
#DDD618
ΔE00 4.42
Sand Yellow
#FCE166
ΔE00 5.07
Yellowish
#FAEE66
ΔE00 5.16
Sandy
#F1DA7A
ΔE00 5.39
Sandy Yellow
#FDEE73
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2D757 #5762E2
analogous
#E29257 #E2D757 #A8E257
triadic
#E2D757 #57E2D7 #D757E2
tetradic
#E2D757 #57E292 #5762E2 #E257A8
square
#E2D757 #57E292 #5762E2 #E257A8
split-complementary
#E2D757 #57A8E2 #9257E2
monochromatic
#A3981C #D7C925 #E2D757 #EBE38B #F4F0BF
Accessibility & contrast
On white
1.49
#E2D757 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.09
#E2D757 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2D757
14.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2D757 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2D757 | 1.00 | 1.49 | 14.09 | 14.09 |
| #FFFFFF | 1.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E9D048
Deuteranopia (green-blind)
#ECD65E
Tritanopia (blue-blind)
#F2C9BC
Achromatopsia (no color)
#D3D3D3
Design tokens & code
CSS
--color: #e2d757; /* rgb */ color: rgb(226, 215, 87); /* oklch */ color: oklch(86.4% 0.148 104.4);
Tailwind
colors: {
custom: {
50: '#eee38c',
500: '#e2d757',
950: '#000000',
},
}SCSS
$custom: #e2d757; $custom-light: #eee38c; $custom-dark: #000000;
JSON
{
"hex": "#e2d757",
"rgb": {
"r": 226,
"g": 215,
"b": 87
},
"hsl": {
"h": 55.252,
"s": 70.558,
"l": 61.373
},
"oklch": {
"l": 0.8643,
"c": 0.14755,
"h": 104.4
},
"luminance": 0.65458
}Semantic roles & 50–950 ramp
primary
#E2D757
secondary
#3841A5
accent
#22D313
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F