#E2E74E#E2E74E
#E2E74E is a very light, vivid yellow. Relative luminance 0.739; OKLCH L 89.7% C 0.170 H 111.2°. Best body text is #000000 at 15.77:1 contrast (WCAG AA passes).
Color values
| HEX | #E2E74E |
|---|---|
| RGB | rgb(226, 231, 78) |
| HSL | hsl(62, 76%, 61%) |
| HSV | hsv(62, 66%, 91%) |
| CMYK | cmyk(2.2%, 0%, 66.2%, 9.4%) |
| CIE-LAB | lab(88.86, -19.96, 70.56) |
| CIE-LCH | lch(88.86, 73.32, 105.79°) |
| OKLab | oklab(89.71% -0.0614 0.1583) |
| OKLCH | oklch(89.71% 0.17 111.2) |
| XYZ | xyz(61.3170, 73.8722, 18.2350) |
| Luminance | 0.7387 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Off Yellow
#F1F33F
ΔE00 3.52
Sickly Yellow
#D0E429
ΔE00 3.58
Yellowish
#FAEE66
ΔE00 4.60
Straw
#FCF679
ΔE00 5.16
Canary
#FDFF63
ΔE00 5.19
Piss Yellow
#DDD618
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2E74E #534EE7
analogous
#E79F4E #E2E74E #95E74E
triadic
#E2E74E #4EE2E7 #E74EE2
tetradic
#E2E74E #4EE79F #534EE7 #E74E95
square
#E2E74E #4EE79F #534EE7 #E74E95
split-complementary
#E2E74E #4E95E7 #9F4EE7
monochromatic
#A0A416 #D4DA1E #E2E74E #EBEE84 #F4F6BA
Accessibility & contrast
On white
1.33
#E2E74E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.77
#E2E74E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2E74E
15.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2E74E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2E74E | 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)
#F8DD37
Deuteranopia (green-blind)
#F9E159
Tritanopia (blue-blind)
#F1D9C8
Achromatopsia (no color)
#DFDFDF
Design tokens & code
CSS
--color: #e2e74e; /* rgb */ color: rgb(226, 231, 78); /* oklch */ color: oklch(89.7% 0.170 111.2);
Tailwind
colors: {
custom: {
50: '#efee88',
500: '#e2e74e',
950: '#000000',
},
}SCSS
$custom: #e2e74e; $custom-light: #efee88; $custom-dark: #000000;
JSON
{
"hex": "#e2e74e",
"rgb": {
"r": 226,
"g": 231,
"b": 78
},
"hsl": {
"h": 61.961,
"s": 76.119,
"l": 60.588
},
"oklch": {
"l": 0.89712,
"c": 0.16981,
"h": 111.2
},
"luminance": 0.73871
}Semantic roles & 50–950 ramp
primary
#E2E74E
secondary
#3733A6
accent
#0DD814
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#17160C
muted
#85847F