#9C981F#9C981F
#9C981F is a light, vivid yellow. Relative luminance 0.296; OKLCH L 66.2% C 0.133 H 107.5°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).
Color values
| HEX | #9C981F |
|---|---|
| RGB | rgb(156, 152, 31) |
| HSL | hsl(58, 67%, 37%) |
| HSV | hsv(58, 80%, 61%) |
| CMYK | cmyk(0%, 2.6%, 80.1%, 38.8%) |
| CIE-LAB | lab(61.33, -12.16, 58.56) |
| CIE-LCH | lch(61.33, 59.81, 101.73°) |
| OKLab | oklab(66.25% -0.0401 0.1271) |
| OKLCH | oklch(66.25% 0.133 107.5) |
| XYZ | xyz(25.1869, 29.6242, 5.6874) |
| Luminance | 0.2962 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.04
Baby Poop Green
#8F9805
ΔE00 3.51
Vomit
#A2A415
ΔE00 3.95
Puke
#A5A502
ΔE00 4.50
Baby Shit Green
#889717
ΔE00 5.14
Pea Soup Green
#94A617
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C981F #1F239C
analogous
#9C5A1F #9C981F #629C1F
triadic
#9C981F #1F9C98 #981F9C
tetradic
#9C981F #1F9C5A #1F239C #9C1F62
square
#9C981F #1F9C5A #1F239C #9C1F62
split-complementary
#9C981F #1F629C #5A1F9C
monochromatic
#36350B #696615 #9C981F #CFCA29 #DED958
Accessibility & contrast
On white
3.03
#9C981F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.92
#9C981F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C981F
6.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C981F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C981F | 1.00 | 3.03 | 6.92 | 6.92 |
| #FFFFFF | 3.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A59200
Deuteranopia (green-blind)
#A8962A
Tritanopia (blue-blind)
#A88D82
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #9c981f; /* rgb */ color: rgb(156, 152, 31); /* oklch */ color: oklch(66.2% 0.133 107.5);
Tailwind
colors: {
custom: {
50: '#bdb667',
500: '#9c981f',
950: '#000000',
},
}SCSS
$custom: #9c981f; $custom-light: #bdb667; $custom-dark: #000000;
JSON
{
"hex": "#9c981f",
"rgb": {
"r": 156,
"g": 152,
"b": 31
},
"hsl": {
"h": 58.08,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.66246,
"c": 0.13328,
"h": 107.5
},
"luminance": 0.29623
}Semantic roles & 50–950 ramp
primary
#9C981F
secondary
#5559C1
accent
#44EA3E
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A