#E6E162#E6E162
#E6E162 is a very light, vivid yellow. Relative luminance 0.716; OKLCH L 89.0% C 0.148 H 107.0°. Best body text is #000000 at 15.31:1 contrast (WCAG AA passes).
Color values
| HEX | #E6E162 |
|---|---|
| RGB | rgb(230, 225, 98) |
| HSL | hsl(58, 73%, 64%) |
| HSV | hsv(58, 57%, 90%) |
| CMYK | cmyk(0%, 2.2%, 57.4%, 9.8%) |
| CIE-LAB | lab(87.75, -14.14, 61.33) |
| CIE-LCH | lch(87.75, 62.94, 102.98°) |
| OKLab | oklab(88.96% -0.0431 0.1415) |
| OKLCH | oklch(88.96% 0.148 107) |
| XYZ | xyz(61.7648, 71.5571, 22.1113) |
| Luminance | 0.7156 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 3.38
Yellowish
#FAEE66
ΔE00 3.65
Sandy Yellow
#FDEE73
ΔE00 4.07
Straw
#FCF679
ΔE00 4.59
Khaki (CSS)
#F0E68C
ΔE00 5.30
Piss Yellow
#DDD618
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E6E162 #6267E6
analogous
#E69F62 #E6E162 #A9E662
triadic
#E6E162 #62E6E1 #E162E6
tetradic
#E6E162 #62E69F #6267E6 #E662A9
square
#E6E162 #62E69F #6267E6 #E662A9
split-complementary
#E6E162 #62A9E6 #9F62E6
monochromatic
#B1AC1C #DED72D #E6E162 #EEEB97 #F7F5CC
Accessibility & contrast
On white
1.37
#E6E162 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.31
#E6E162 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E6E162
15.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E6E162 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E6E162 | 1.00 | 1.37 | 15.31 | 15.31 |
| #FFFFFF | 1.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F2D954
Deuteranopia (green-blind)
#F5DE69
Tritanopia (blue-blind)
#F5D4C5
Achromatopsia (no color)
#DCDCDC
Design tokens & code
CSS
--color: #e6e162; /* rgb */ color: rgb(230, 225, 98); /* oklch */ color: oklch(89.0% 0.148 107.0);
Tailwind
colors: {
custom: {
50: '#f1ea93',
500: '#e6e162',
950: '#000000',
},
}SCSS
$custom: #e6e162; $custom-light: #f1ea93; $custom-dark: #000000;
JSON
{
"hex": "#e6e162",
"rgb": {
"r": 230,
"g": 225,
"b": 98
},
"hsl": {
"h": 57.727,
"s": 72.527,
"l": 64.314
},
"oklch": {
"l": 0.88955,
"c": 0.14792,
"h": 107
},
"luminance": 0.71555
}Semantic roles & 50–950 ramp
primary
#E6E162
secondary
#3A3FB2
accent
#18D511
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160D
muted
#85847F