#9C971D#9C971D
#9C971D is a light, vivid yellow. Relative luminance 0.293; OKLCH L 66.0% C 0.133 H 107.0°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #9C971D |
|---|---|
| RGB | rgb(156, 151, 29) |
| HSL | hsl(58, 69%, 36%) |
| HSV | hsv(58, 81%, 61%) |
| CMYK | cmyk(0%, 3.2%, 81.4%, 38.8%) |
| CIE-LAB | lab(61.04, -11.70, 58.90) |
| CIE-LCH | lch(61.04, 60.05, 101.24°) |
| OKLab | oklab(66.01% -0.039 0.1274) |
| OKLCH | oklch(66.01% 0.133 107) |
| XYZ | xyz(24.9997, 29.2908, 5.4990) |
| Luminance | 0.2929 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.24
Baby Poop Green
#8F9805
ΔE00 3.71
Vomit
#A2A415
ΔE00 4.26
Puke
#A5A502
ΔE00 4.74
Baby Shit Green
#889717
ΔE00 5.36
Baby Poo
#AB9004
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C971D #1D229C
analogous
#9C581D #9C971D #629C1D
triadic
#9C971D #1D9C97 #971D9C
tetradic
#9C971D #1D9C58 #1D229C #9C1D62
square
#9C971D #1D9C58 #1D229C #9C1D62
split-complementary
#9C971D #1D629C #581D9C
monochromatic
#35330A #686513 #9C971D #D0C927 #DFDA54
Accessibility & contrast
On white
3.06
#9C971D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.86
#9C971D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C971D
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C971D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C971D | 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)
#A59100
Deuteranopia (green-blind)
#A79528
Tritanopia (blue-blind)
#A88C81
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #9c971d; /* rgb */ color: rgb(156, 151, 29); /* oklch */ color: oklch(66.0% 0.133 107.0);
Tailwind
colors: {
custom: {
50: '#bdb566',
500: '#9c971d',
950: '#000000',
},
}SCSS
$custom: #9c971d; $custom-light: #bdb566; $custom-dark: #000000;
JSON
{
"hex": "#9c971d",
"rgb": {
"r": 156,
"g": 151,
"b": 29
},
"hsl": {
"h": 57.638,
"s": 68.649,
"l": 36.275
},
"oklch": {
"l": 0.66011,
"c": 0.13326,
"h": 107
},
"luminance": 0.2929
}Semantic roles & 50–950 ramp
primary
#9C971D
secondary
#5257C2
accent
#43EB3C
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A