#9E9D17#9E9D17
#9E9D17 is a light, vivid yellow. Relative luminance 0.314; OKLCH L 67.5% C 0.141 H 109.2°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #9E9D17 |
|---|---|
| RGB | rgb(158, 157, 23) |
| HSL | hsl(60, 75%, 35%) |
| HSV | hsv(60, 85%, 62%) |
| CMYK | cmyk(0%, 0.6%, 85.4%, 38%) |
| CIE-LAB | lab(62.88, -14.14, 62.10) |
| CIE-LCH | lch(62.88, 63.69, 102.82°) |
| OKLab | oklab(67.52% -0.0463 0.1332) |
| OKLCH | oklch(67.52% 0.141 109.2) |
| XYZ | xyz(26.3132, 31.4458, 5.4940) |
| Luminance | 0.3145 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.18
Pea Soup
#929901
ΔE00 2.69
Puke
#A5A502
ΔE00 2.77
Baby Poop Green
#8F9805
ΔE00 3.36
Pea Soup Green
#94A617
ΔE00 4.91
Baby Shit Green
#889717
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E9D17 #17189E
analogous
#9E5A17 #9E9D17 #5B9E17
triadic
#9E9D17 #179E9D #9D179E
tetradic
#9E9D17 #179E5A #17189E #9E175B
square
#9E9D17 #179E5A #17189E #9E175B
split-complementary
#9E9D17 #175B9E #5A179E
monochromatic
#333307 #69680F #9E9D17 #D3D21F #E5E44B
Accessibility & contrast
On white
2.88
#9E9D17 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.29
#9E9D17 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9E9D17
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E9D17 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E9D17 | 1.00 | 2.88 | 7.29 | 7.29 |
| #FFFFFF | 2.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AB9600
Deuteranopia (green-blind)
#AC9A25
Tritanopia (blue-blind)
#AA9286
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #9e9d17; /* rgb */ color: rgb(158, 157, 23); /* oklch */ color: oklch(67.5% 0.141 109.2);
Tailwind
colors: {
custom: {
50: '#bfb964',
500: '#9e9d17',
950: '#000000',
},
}SCSS
$custom: #9e9d17; $custom-light: #bfb964; $custom-dark: #000000;
JSON
{
"hex": "#9e9d17",
"rgb": {
"r": 158,
"g": 157,
"b": 23
},
"hsl": {
"h": 59.556,
"s": 74.586,
"l": 35.49
},
"oklch": {
"l": 0.67518,
"c": 0.14101,
"h": 109.2
},
"luminance": 0.31445
}Semantic roles & 50–950 ramp
primary
#9E9D17
secondary
#4A4BC6
accent
#38F137
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A