#9C981E#9C981E
#9C981E is a light, vivid yellow. Relative luminance 0.296; OKLCH L 66.2% C 0.134 H 107.5°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).
Color values
| HEX | #9C981E |
|---|---|
| RGB | rgb(156, 152, 30) |
| HSL | hsl(58, 68%, 36%) |
| HSV | hsv(58, 81%, 61%) |
| CMYK | cmyk(0%, 2.6%, 80.8%, 38.8%) |
| CIE-LAB | lab(61.32, -12.19, 58.86) |
| CIE-LCH | lch(61.32, 60.11, 101.70°) |
| OKLab | oklab(66.24% -0.0403 0.1275) |
| OKLCH | oklch(66.24% 0.134 107.5) |
| XYZ | xyz(25.1739, 29.6190, 5.6190) |
| Luminance | 0.2962 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.01
Baby Poop Green
#8F9805
ΔE00 3.50
Vomit
#A2A415
ΔE00 3.93
Puke
#A5A502
ΔE00 4.46
Baby Shit Green
#889717
ΔE00 5.15
Pea Soup Green
#94A617
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C981E #1E229C
analogous
#9C591E #9C981E #619C1E
triadic
#9C981E #1E9C98 #981E9C
tetradic
#9C981E #1E9C59 #1E229C #9C1E61
square
#9C981E #1E9C59 #1E229C #9C1E61
split-complementary
#9C981E #1E619C #591E9C
monochromatic
#35340A #696614 #9C981E #CFCA28 #DEDA56
Accessibility & contrast
On white
3.03
#9C981E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.92
#9C981E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C981E
6.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C981E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C981E | 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)
#A89629
Tritanopia (blue-blind)
#A88D82
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #9c981e; /* rgb */ color: rgb(156, 152, 30); /* oklch */ color: oklch(66.2% 0.134 107.5);
Tailwind
colors: {
custom: {
50: '#bdb666',
500: '#9c981e',
950: '#000000',
},
}SCSS
$custom: #9c981e; $custom-light: #bdb666; $custom-dark: #000000;
JSON
{
"hex": "#9c981e",
"rgb": {
"r": 156,
"g": 152,
"b": 30
},
"hsl": {
"h": 58.095,
"s": 67.742,
"l": 36.471
},
"oklch": {
"l": 0.66241,
"c": 0.13376,
"h": 107.5
},
"luminance": 0.29618
}Semantic roles & 50–950 ramp
primary
#9C981E
secondary
#5457C2
accent
#43EB3D
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A