#978B36#978B36
#978B36 is a light, moderate yellow. Relative luminance 0.253; OKLCH L 63.0% C 0.106 H 101.3°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #978B36 |
|---|---|
| RGB | rgb(151, 139, 54) |
| HSL | hsl(53, 47%, 40%) |
| HSV | hsv(53, 64%, 59%) |
| CMYK | cmyk(0%, 7.9%, 64.2%, 40.8%) |
| CIE-LAB | lab(57.38, -6.24, 45.71) |
| CIE-LCH | lch(57.38, 46.13, 97.77°) |
| OKLab | oklab(63.04% -0.0208 0.1042) |
| OKLCH | oklch(63.04% 0.106 101.3) |
| XYZ | xyz(22.6619, 25.3118, 7.1813) |
| Luminance | 0.2531 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 5.16
Diarrhea
#9F8303
ΔE00 6.46
Baby Poop
#937C00
ΔE00 6.82
Drab
#828344
ΔE00 6.86
Olive
#808000
ΔE00 7.00
Baby Poo
#AB9004
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978B36 #364297
analogous
#975A36 #978B36 #739736
triadic
#978B36 #36978B #8B3697
tetradic
#978B36 #36975A #364297 #973673
square
#978B36 #36975A #364297 #973673
split-complementary
#978B36 #367397 #5A3697
monochromatic
#3D3816 #6A6226 #978B36 #BFB14B #CFC478
Accessibility & contrast
On white
3.46
#978B36 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.06
#978B36 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978B36
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978B36 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978B36 | 1.00 | 3.46 | 6.06 | 6.06 |
| #FFFFFF | 3.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#97872C
Deuteranopia (green-blind)
#9B8C3B
Tritanopia (blue-blind)
#A28279
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #978b36; /* rgb */ color: rgb(151, 139, 54); /* oklch */ color: oklch(63.0% 0.106 101.3);
Tailwind
colors: {
custom: {
50: '#b8ac71',
500: '#978b36',
950: '#000000',
},
}SCSS
$custom: #978b36; $custom-light: #b8ac71; $custom-dark: #000000;
JSON
{
"hex": "#978b36",
"rgb": {
"r": 151,
"g": 139,
"b": 54
},
"hsl": {
"h": 52.577,
"s": 47.317,
"l": 40.196
},
"oklch": {
"l": 0.63043,
"c": 0.10625,
"h": 101.3
},
"luminance": 0.25311
}Semantic roles & 50–950 ramp
primary
#978B36
secondary
#717AB8
accent
#61D751
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121008
muted
#817F7B