#9C971F#9C971F
#9C971F is a light, vivid yellow. Relative luminance 0.293; OKLCH L 66.0% C 0.132 H 107.0°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #9C971F |
|---|---|
| RGB | rgb(156, 151, 31) |
| HSL | hsl(58, 67%, 37%) |
| HSV | hsv(58, 80%, 61%) |
| CMYK | cmyk(0%, 3.2%, 80.1%, 38.8%) |
| CIE-LAB | lab(61.05, -11.63, 58.31) |
| CIE-LCH | lch(61.05, 59.46, 101.28°) |
| OKLab | oklab(66.02% -0.0387 0.1266) |
| OKLCH | oklch(66.02% 0.132 107) |
| XYZ | xyz(25.0253, 29.3010, 5.6335) |
| Luminance | 0.2930 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.29
Baby Poop Green
#8F9805
ΔE00 3.74
Vomit
#A2A415
ΔE00 4.30
Puke
#A5A502
ΔE00 4.81
Baby Shit Green
#889717
ΔE00 5.34
Pea Soup Green
#94A617
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C971F #1F249C
analogous
#9C591F #9C971F #639C1F
triadic
#9C971F #1F9C97 #971F9C
tetradic
#9C971F #1F9C59 #1F249C #9C1F63
square
#9C971F #1F9C59 #1F249C #9C1F63
split-complementary
#9C971F #1F639C #591F9C
monochromatic
#36340B #696615 #9C971F #CFC829 #DED858
Accessibility & contrast
On white
3.06
#9C971F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.86
#9C971F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C971F
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C971F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C971F | 1.00 | 3.06 | 6.86 | 6.86 |
| #FFFFFF | 3.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A49100
Deuteranopia (green-blind)
#A79529
Tritanopia (blue-blind)
#A88C81
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #9c971f; /* rgb */ color: rgb(156, 151, 31); /* oklch */ color: oklch(66.0% 0.132 107.0);
Tailwind
colors: {
custom: {
50: '#bdb566',
500: '#9c971f',
950: '#000000',
},
}SCSS
$custom: #9c971f; $custom-light: #bdb566; $custom-dark: #000000;
JSON
{
"hex": "#9c971f",
"rgb": {
"r": 156,
"g": 151,
"b": 31
},
"hsl": {
"h": 57.6,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.66021,
"c": 0.13233,
"h": 107
},
"luminance": 0.293
}Semantic roles & 50–950 ramp
primary
#9C971F
secondary
#555AC1
accent
#45EA3E
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A