#978B32#978B32
#978B32 is a light, moderate yellow. Relative luminance 0.253; OKLCH L 63.0% C 0.110 H 101.6°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #978B32 |
|---|---|
| RGB | rgb(151, 139, 50) |
| HSL | hsl(53, 50%, 39%) |
| HSV | hsv(53, 67%, 59%) |
| CMYK | cmyk(0%, 7.9%, 66.9%, 40.8%) |
| CIE-LAB | lab(57.34, -6.50, 47.47) |
| CIE-LCH | lch(57.34, 47.91, 97.80°) |
| OKLab | oklab(63.01% -0.022 0.1073) |
| OKLCH | oklch(63.01% 0.11 101.6) |
| XYZ | xyz(22.5718, 25.2758, 6.7068) |
| Luminance | 0.2527 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 5.71
Diarrhea
#9F8303
ΔE00 6.16
Baby Poop
#937C00
ΔE00 6.55
Baby Poo
#AB9004
ΔE00 6.66
Olive
#808000
ΔE00 6.71
Dark Mustard
#A88905
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978B32 #323E97
analogous
#975832 #978B32 #719732
triadic
#978B32 #32978B #8B3297
tetradic
#978B32 #329758 #323E97 #973271
square
#978B32 #329758 #323E97 #973271
split-complementary
#978B32 #327197 #583297
monochromatic
#3B3614 #696123 #978B32 #C1B345 #D1C573
Accessibility & contrast
On white
3.47
#978B32 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.05
#978B32 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978B32
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978B32 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978B32 | 1.00 | 3.47 | 6.05 | 6.05 |
| #FFFFFF | 3.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#988727
Deuteranopia (green-blind)
#9B8C37
Tritanopia (blue-blind)
#A28179
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #978b32; /* rgb */ color: rgb(151, 139, 50); /* oklch */ color: oklch(63.0% 0.110 101.6);
Tailwind
colors: {
custom: {
50: '#b8ac6f',
500: '#978b32',
950: '#000000',
},
}SCSS
$custom: #978b32; $custom-light: #b8ac6f; $custom-dark: #000000;
JSON
{
"hex": "#978b32",
"rgb": {
"r": 151,
"g": 139,
"b": 50
},
"hsl": {
"h": 52.871,
"s": 50.249,
"l": 39.412
},
"oklch": {
"l": 0.63005,
"c": 0.10952,
"h": 101.6
},
"luminance": 0.25275
}Semantic roles & 50–950 ramp
primary
#978B32
secondary
#6C75B9
accent
#5FDA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A