#E8E262#E8E262
#E8E262 is a very light, vivid yellow. Relative luminance 0.724; OKLCH L 89.3% C 0.149 H 106.5°. Best body text is #000000 at 15.49:1 contrast (WCAG AA passes).
Color values
| HEX | #E8E262 |
|---|---|
| RGB | rgb(232, 226, 98) |
| HSL | hsl(57, 74%, 65%) |
| HSV | hsv(57, 58%, 91%) |
| CMYK | cmyk(0%, 2.6%, 57.8%, 9%) |
| CIE-LAB | lab(88.18, -13.82, 61.84) |
| CIE-LCH | lch(88.18, 63.37, 102.60°) |
| OKLab | oklab(89.33% -0.0423 0.1425) |
| OKLCH | oklch(89.33% 0.149 106.5) |
| XYZ | xyz(62.6816, 72.4323, 22.2319) |
| Luminance | 0.7243 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 3.18
Yellowish
#FAEE66
ΔE00 3.29
Sandy Yellow
#FDEE73
ΔE00 3.74
Straw
#FCF679
ΔE00 4.34
Khaki (CSS)
#F0E68C
ΔE00 5.29
Sand Yellow
#FCE166
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E8E262 #6268E8
analogous
#E89F62 #E8E262 #ABE862
triadic
#E8E262 #62E8E2 #E262E8
tetradic
#E8E262 #62E89F #6268E8 #E862AB
square
#E8E262 #62E89F #6268E8 #E862AB
split-complementary
#E8E262 #62ABE8 #9F62E8
monochromatic
#B5AE1B #E0D82D #E8E262 #F0EC97 #F8F6CD
Accessibility & contrast
On white
1.36
#E8E262 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.49
#E8E262 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E8E262
15.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E8E262 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E8E262 | 1.00 | 1.36 | 15.49 | 15.49 |
| #FFFFFF | 1.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F3DA54
Deuteranopia (green-blind)
#F6E069
Tritanopia (blue-blind)
#F7D5C6
Achromatopsia (no color)
#DDDDDD
Design tokens & code
CSS
--color: #e8e262; /* rgb */ color: rgb(232, 226, 98); /* oklch */ color: oklch(89.3% 0.149 106.5);
Tailwind
colors: {
custom: {
50: '#f2ea93',
500: '#e8e262',
950: '#000000',
},
}SCSS
$custom: #e8e262; $custom-light: #f2ea93; $custom-dark: #000000;
JSON
{
"hex": "#e8e262",
"rgb": {
"r": 232,
"g": 226,
"b": 98
},
"hsl": {
"h": 57.313,
"s": 74.444,
"l": 64.706
},
"oklch": {
"l": 0.8933,
"c": 0.1487,
"h": 106.5
},
"luminance": 0.7243
}Semantic roles & 50–950 ramp
primary
#E8E262
secondary
#393FB5
accent
#18D70F
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160D
muted
#85847F