#9E9E17#9E9E17
#9E9E17 is a light, vivid yellow. Relative luminance 0.318; OKLCH L 67.7% C 0.142 H 109.7°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #9E9E17 |
|---|---|
| RGB | rgb(158, 158, 23) |
| HSL | hsl(60, 75%, 35%) |
| HSV | hsv(60, 85%, 62%) |
| CMYK | cmyk(0%, 0%, 85.4%, 38%) |
| CIE-LAB | lab(63.17, -14.66, 62.33) |
| CIE-LCH | lch(63.17, 64.03, 103.23°) |
| OKLab | oklab(67.75% -0.0478 0.1337) |
| OKLCH | oklch(67.75% 0.142 109.7) |
| XYZ | xyz(26.4831, 31.7855, 5.5506) |
| Luminance | 0.3179 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.86
Puke
#A5A502
ΔE00 2.53
Pea Soup
#929901
ΔE00 2.68
Baby Poop Green
#8F9805
ΔE00 3.35
Pea Soup Green
#94A617
ΔE00 4.58
Baby Shit Green
#889717
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E9E17 #17179E
analogous
#9E5A17 #9E9E17 #5A9E17
triadic
#9E9E17 #179E9E #9E179E
tetradic
#9E9E17 #179E5A #17179E #9E175A
square
#9E9E17 #179E5A #17179E #9E175A
split-complementary
#9E9E17 #175A9E #5A179E
monochromatic
#333307 #69690F #9E9E17 #D3D31F #E5E54B
Accessibility & contrast
On white
2.85
#9E9E17 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.36
#9E9E17 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9E9E17
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E9E17 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E9E17 | 1.00 | 2.85 | 7.36 | 7.36 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AC9700
Deuteranopia (green-blind)
#AD9B26
Tritanopia (blue-blind)
#AA9387
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #9e9e17; /* rgb */ color: rgb(158, 158, 23); /* oklch */ color: oklch(67.7% 0.142 109.7);
Tailwind
colors: {
custom: {
50: '#bfba64',
500: '#9e9e17',
950: '#000000',
},
}SCSS
$custom: #9e9e17; $custom-light: #bfba64; $custom-dark: #000000;
JSON
{
"hex": "#9e9e17",
"rgb": {
"r": 158,
"g": 158,
"b": 23
},
"hsl": {
"h": 60,
"s": 74.586,
"l": 35.49
},
"oklch": {
"l": 0.67745,
"c": 0.14197,
"h": 109.7
},
"luminance": 0.31785
}Semantic roles & 50–950 ramp
primary
#9E9E17
secondary
#4A4AC6
accent
#37F137
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A