#9D9F17#9D9F17
#9D9F17 is a light, vivid yellow. Relative luminance 0.320; OKLCH L 67.9% C 0.143 H 110.6°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).
Color values
| HEX | #9D9F17 |
|---|---|
| RGB | rgb(157, 159, 23) |
| HSL | hsl(61, 75%, 36%) |
| HSV | hsv(61, 86%, 62%) |
| CMYK | cmyk(1.3%, 0%, 85.5%, 37.6%) |
| CIE-LAB | lab(63.37, -15.62, 62.47) |
| CIE-LCH | lch(63.37, 64.39, 104.04°) |
| OKLab | oklab(67.88% -0.0504 0.134) |
| OKLCH | oklch(67.88% 0.143 110.6) |
| XYZ | xyz(26.4584, 32.0270, 5.5985) |
| Luminance | 0.3203 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.61
Puke
#A5A502
ΔE00 2.45
Pea Soup
#929901
ΔE00 2.55
Baby Poop Green
#8F9805
ΔE00 3.19
Pea Soup Green
#94A617
ΔE00 4.02
Baby Shit Green
#889717
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D9F17 #19179F
analogous
#9F5D17 #9D9F17 #599F17
triadic
#9D9F17 #179D9F #9F179D
tetradic
#9D9F17 #179F5D #19179F #9F1759
square
#9D9F17 #179F5D #19179F #9F1759
split-complementary
#9D9F17 #17599F #5D179F
monochromatic
#333408 #686A0F #9D9F17 #D2D41F #E3E54B
Accessibility & contrast
On white
2.84
#9D9F17 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.41
#9D9F17 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9D9F17
7.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D9F17 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D9F17 | 1.00 | 2.84 | 7.41 | 7.41 |
| #FFFFFF | 2.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AC9800
Deuteranopia (green-blind)
#AD9B26
Tritanopia (blue-blind)
#A99487
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #9d9f17; /* rgb */ color: rgb(157, 159, 23); /* oklch */ color: oklch(67.9% 0.143 110.6);
Tailwind
colors: {
custom: {
50: '#bebb65',
500: '#9d9f17',
950: '#000000',
},
}SCSS
$custom: #9d9f17; $custom-light: #bebb65; $custom-dark: #000000;
JSON
{
"hex": "#9d9f17",
"rgb": {
"r": 157,
"g": 159,
"b": 23
},
"hsl": {
"h": 60.882,
"s": 74.725,
"l": 35.686
},
"oklch": {
"l": 0.67884,
"c": 0.14319,
"h": 110.6
},
"luminance": 0.32026
}Semantic roles & 50–950 ramp
primary
#9D9F17
secondary
#4D4BC7
accent
#36F139
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A