#978C32#978C32
#978C32 is a light, moderate yellow. Relative luminance 0.256; OKLCH L 63.2% C 0.110 H 102.3°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #978C32 |
|---|---|
| RGB | rgb(151, 140, 50) |
| HSL | hsl(53, 50%, 39%) |
| HSV | hsv(53, 67%, 59%) |
| CMYK | cmyk(0%, 7.3%, 66.9%, 40.8%) |
| CIE-LAB | lab(57.62, -7.05, 47.76) |
| CIE-LCH | lch(57.62, 48.28, 98.39°) |
| OKLab | oklab(63.23% -0.0236 0.1079) |
| OKLCH | oklch(63.23% 0.11 102.3) |
| XYZ | xyz(22.7172, 25.5667, 6.7552) |
| Luminance | 0.2557 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 5.78
Diarrhea
#9F8303
ΔE00 6.45
Baby Poo
#AB9004
ΔE00 6.71
Olive
#808000
ΔE00 6.72
Baby Poop
#937C00
ΔE00 6.89
Baby Shit Brown
#AD900D
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978C32 #323D97
analogous
#975932 #978C32 #709732
triadic
#978C32 #32978C #8C3297
tetradic
#978C32 #329759 #323D97 #973270
square
#978C32 #329759 #323D97 #973270
split-complementary
#978C32 #327097 #593297
monochromatic
#3B3714 #696123 #978C32 #C1B445 #D1C673
Accessibility & contrast
On white
3.44
#978C32 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.11
#978C32 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978C32
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978C32 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978C32 | 1.00 | 3.44 | 6.11 | 6.11 |
| #FFFFFF | 3.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#998826
Deuteranopia (green-blind)
#9C8D37
Tritanopia (blue-blind)
#A28279
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #978c32; /* rgb */ color: rgb(151, 140, 50); /* oklch */ color: oklch(63.2% 0.110 102.3);
Tailwind
colors: {
custom: {
50: '#b8ad6f',
500: '#978c32',
950: '#000000',
},
}SCSS
$custom: #978c32; $custom-light: #b8ad6f; $custom-dark: #000000;
JSON
{
"hex": "#978c32",
"rgb": {
"r": 151,
"g": 140,
"b": 50
},
"hsl": {
"h": 53.465,
"s": 50.249,
"l": 39.412
},
"oklch": {
"l": 0.63227,
"c": 0.11045,
"h": 102.3
},
"luminance": 0.25566
}Semantic roles & 50–950 ramp
primary
#978C32
secondary
#6C75B9
accent
#5DDA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A