#978B37#978B37
#978B37 is a light, moderate yellow. Relative luminance 0.253; OKLCH L 63.1% C 0.105 H 101.2°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #978B37 |
|---|---|
| RGB | rgb(151, 139, 55) |
| HSL | hsl(53, 47%, 40%) |
| HSV | hsv(53, 64%, 59%) |
| CMYK | cmyk(0%, 7.9%, 63.6%, 40.8%) |
| CIE-LAB | lab(57.39, -6.17, 45.26) |
| CIE-LCH | lch(57.39, 45.68, 97.77°) |
| OKLab | oklab(63.05% -0.0205 0.1034) |
| OKLCH | oklch(63.05% 0.105 101.2) |
| XYZ | xyz(22.6856, 25.3213, 7.3062) |
| Luminance | 0.2532 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 5.02
Diarrhea
#9F8303
ΔE00 6.54
Drab
#828344
ΔE00 6.78
Baby Poop
#937C00
ΔE00 6.89
Olive
#808000
ΔE00 7.08
Baby Poo
#AB9004
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978B37 #374397
analogous
#975B37 #978B37 #739737
triadic
#978B37 #37978B #8B3797
tetradic
#978B37 #37975B #374397 #973773
square
#978B37 #37975B #374397 #973773
split-complementary
#978B37 #377397 #5B3797
monochromatic
#3D3816 #6A6227 #978B37 #BEB04D #CFC47A
Accessibility & contrast
On white
3.46
#978B37 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.06
#978B37 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978B37
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978B37 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978B37 | 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)
#97872D
Deuteranopia (green-blind)
#9B8C3B
Tritanopia (blue-blind)
#A28279
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #978b37; /* rgb */ color: rgb(151, 139, 55); /* oklch */ color: oklch(63.1% 0.105 101.2);
Tailwind
colors: {
custom: {
50: '#b8ac72',
500: '#978b37',
950: '#000000',
},
}SCSS
$custom: #978b37; $custom-light: #b8ac72; $custom-dark: #000000;
JSON
{
"hex": "#978b37",
"rgb": {
"r": 151,
"g": 139,
"b": 55
},
"hsl": {
"h": 52.5,
"s": 46.602,
"l": 40.392
},
"oklch": {
"l": 0.63054,
"c": 0.1054,
"h": 101.2
},
"luminance": 0.2532
}Semantic roles & 50–950 ramp
primary
#978B37
secondary
#727BB8
accent
#62D652
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121008
muted
#817F7B