#E2E671#E2E671
#E2E671 is a very light, vivid yellow. Relative luminance 0.740; OKLCH L 89.8% C 0.140 H 110.7°. Best body text is #000000 at 15.79:1 contrast (WCAG AA passes).
Color values
| HEX | #E2E671 |
|---|---|
| RGB | rgb(226, 230, 113) |
| HSL | hsl(62, 70%, 67%) |
| HSV | hsv(62, 51%, 90%) |
| CMYK | cmyk(1.7%, 0%, 50.9%, 9.8%) |
| CIE-LAB | lab(88.90, -17.04, 55.85) |
| CIE-LCH | lch(88.90, 58.39, 106.97°) |
| OKLab | oklab(89.84% -0.0496 0.1314) |
| OKLCH | oklch(89.84% 0.14 110.7) |
| XYZ | xyz(62.6428, 73.9560, 26.5946) |
| Luminance | 0.7396 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 4.61
Yellowish Tan
#FCFC81
ΔE00 4.92
Khaki (CSS)
#F0E68C
ΔE00 4.98
Manilla
#FFFA86
ΔE00 5.07
Yellowish
#FAEE66
ΔE00 5.20
Sandy Yellow
#FDEE73
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2E671 #7571E6
analogous
#E6AF71 #E2E671 #A8E671
triadic
#E2E671 #71E2E6 #E671E2
tetradic
#E2E671 #71E6AF #7571E6 #E671A8
square
#E2E671 #71E6AF #7571E6 #E671A8
split-complementary
#E2E671 #71A8E6 #AF71E6
monochromatic
#B6BC21 #D7DD3D #E2E671 #EDEFA5 #F7F8D9
Accessibility & contrast
On white
1.33
#E2E671 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.79
#E2E671 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2E671
15.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2E671 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2E671 | 1.00 | 1.33 | 15.79 | 15.79 |
| #FFFFFF | 1.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F5DD66
Deuteranopia (green-blind)
#F6E177
Tritanopia (blue-blind)
#EFDACC
Achromatopsia (no color)
#DFDFDF
Design tokens & code
CSS
--color: #e2e671; /* rgb */ color: rgb(226, 230, 113); /* oklch */ color: oklch(89.8% 0.140 110.7);
Tailwind
colors: {
custom: {
50: '#eded9d',
500: '#e2e671',
950: '#000000',
},
}SCSS
$custom: #e2e671; $custom-light: #eded9d; $custom-dark: #000000;
JSON
{
"hex": "#e2e671",
"rgb": {
"r": 226,
"g": 230,
"b": 113
},
"hsl": {
"h": 62.051,
"s": 70.06,
"l": 67.255
},
"oklch": {
"l": 0.89841,
"c": 0.14043,
"h": 110.7
},
"luminance": 0.73955
}Semantic roles & 50–950 ramp
primary
#E2E671
secondary
#4440BB
accent
#13D21A
background
#FFFEFC
surface
#FEFDF5
border
#D6D5CF
text
#17160E
muted
#85847F