#E2E74C#E2E74C
#E2E74C is a very light, vivid yellow. Relative luminance 0.738; OKLCH L 89.7% C 0.171 H 111.2°. Best body text is #000000 at 15.77:1 contrast (WCAG AA passes).
Color values
| HEX | #E2E74C |
|---|---|
| RGB | rgb(226, 231, 76) |
| HSL | hsl(62, 76%, 60%) |
| HSV | hsv(62, 67%, 91%) |
| CMYK | cmyk(2.2%, 0%, 67.1%, 9.4%) |
| CIE-LAB | lab(88.85, -20.07, 71.29) |
| CIE-LCH | lch(88.85, 74.06, 105.72°) |
| OKLab | oklab(89.7% -0.0619 0.1596) |
| OKLCH | oklch(89.7% 0.171 111.2) |
| XYZ | xyz(61.2464, 73.8439, 17.8631) |
| Luminance | 0.7384 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Off Yellow
#F1F33F
ΔE00 3.41
Sickly Yellow
#D0E429
ΔE00 3.50
Yellowish
#FAEE66
ΔE00 4.63
Piss Yellow
#DDD618
ΔE00 5.11
Canary
#FDFF63
ΔE00 5.19
Banana Yellow
#FAFE4B
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2E74C #514CE7
analogous
#E79E4C #E2E74C #95E74C
triadic
#E2E74C #4CE2E7 #E74CE2
tetradic
#E2E74C #4CE79E #514CE7 #E74C95
square
#E2E74C #4CE79E #514CE7 #E74C95
split-complementary
#E2E74C #4C95E7 #9E4CE7
monochromatic
#9EA316 #D3D91D #E2E74C #EBEE82 #F3F5B8
Accessibility & contrast
On white
1.33
#E2E74C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.77
#E2E74C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2E74C
15.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2E74C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2E74C | 1.00 | 1.33 | 15.77 | 15.77 |
| #FFFFFF | 1.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F8DD34
Deuteranopia (green-blind)
#F9E157
Tritanopia (blue-blind)
#F1D9C8
Achromatopsia (no color)
#DFDFDF
Design tokens & code
CSS
--color: #e2e74c; /* rgb */ color: rgb(226, 231, 76); /* oklch */ color: oklch(89.7% 0.171 111.2);
Tailwind
colors: {
custom: {
50: '#efee87',
500: '#e2e74c',
950: '#000000',
},
}SCSS
$custom: #e2e74c; $custom-light: #efee87; $custom-dark: #000000;
JSON
{
"hex": "#e2e74c",
"rgb": {
"r": 226,
"g": 231,
"b": 76
},
"hsl": {
"h": 61.935,
"s": 76.355,
"l": 60.196
},
"oklch": {
"l": 0.89697,
"c": 0.17114,
"h": 111.2
},
"luminance": 0.73842
}Semantic roles & 50–950 ramp
primary
#E2E74C
secondary
#3632A5
accent
#0DD914
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#17160C
muted
#85847F