#E2E762#E2E762
#E2E762 is a very light, vivid yellow. Relative luminance 0.742; OKLCH L 89.9% C 0.155 H 111.1°. Best body text is #000000 at 15.84:1 contrast (WCAG AA passes).
Color values
| HEX | #E2E762 |
|---|---|
| RGB | rgb(226, 231, 98) |
| HSL | hsl(62, 73%, 65%) |
| HSV | hsv(62, 58%, 91%) |
| CMYK | cmyk(2.2%, 0%, 57.6%, 9.4%) |
| CIE-LAB | lab(89.02, -18.69, 62.65) |
| CIE-LCH | lch(89.02, 65.38, 106.62°) |
| OKLab | oklab(89.89% -0.0558 0.1444) |
| OKLCH | oklch(89.89% 0.155 111.1) |
| XYZ | xyz(62.1462, 74.2038, 22.6020) |
| Luminance | 0.7420 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 4.50
Yellowish
#FAEE66
ΔE00 4.62
Sickly Yellow
#D0E429
ΔE00 4.84
Yellowish Tan
#FCFC81
ΔE00 4.95
Off Yellow
#F1F33F
ΔE00 5.00
Custard
#FFFD78
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2E762 #6762E7
analogous
#E7AA62 #E2E762 #9FE762
triadic
#E2E762 #62E2E7 #E762E2
tetradic
#E2E762 #62E7AA #6762E7 #E7629F
square
#E2E762 #62E7AA #6762E7 #E7629F
split-complementary
#E2E762 #629FE7 #AA62E7
monochromatic
#ADB31B #D8DF2D #E2E762 #ECEF97 #F6F7CC
Accessibility & contrast
On white
1.33
#E2E762 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.84
#E2E762 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2E762
15.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2E762 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2E762 | 1.00 | 1.33 | 15.84 | 15.84 |
| #FFFFFF | 1.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F7DE53
Deuteranopia (green-blind)
#F8E16A
Tritanopia (blue-blind)
#F0DACA
Achromatopsia (no color)
#E0E0E0
Design tokens & code
CSS
--color: #e2e762; /* rgb */ color: rgb(226, 231, 98); /* oklch */ color: oklch(89.9% 0.155 111.1);
Tailwind
colors: {
custom: {
50: '#eeee93',
500: '#e2e762',
950: '#000000',
},
}SCSS
$custom: #e2e762; $custom-light: #eeee93; $custom-dark: #000000;
JSON
{
"hex": "#e2e762",
"rgb": {
"r": 226,
"g": 231,
"b": 98
},
"hsl": {
"h": 62.256,
"s": 73.481,
"l": 64.51
},
"oklch": {
"l": 0.89887,
"c": 0.15479,
"h": 111.1
},
"luminance": 0.74202
}Semantic roles & 50–950 ramp
primary
#E2E762
secondary
#3E3AB4
accent
#10D617
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17160D
muted
#85857F