#978B35#978B35
#978B35 is a light, moderate yellow. Relative luminance 0.253; OKLCH L 63.0% C 0.107 H 101.4°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #978B35 |
|---|---|
| RGB | rgb(151, 139, 53) |
| HSL | hsl(53, 48%, 40%) |
| HSV | hsv(53, 65%, 59%) |
| CMYK | cmyk(0%, 7.9%, 64.9%, 40.8%) |
| CIE-LAB | lab(57.37, -6.31, 46.15) |
| CIE-LCH | lch(57.37, 46.58, 97.78°) |
| OKLab | oklab(63.03% -0.0211 0.105) |
| OKLCH | oklch(63.03% 0.107 101.4) |
| XYZ | xyz(22.6386, 25.3025, 7.0589) |
| Luminance | 0.2530 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 5.30
Diarrhea
#9F8303
ΔE00 6.38
Baby Poop
#937C00
ΔE00 6.75
Baby Poo
#AB9004
ΔE00 6.92
Olive
#808000
ΔE00 6.92
Drab
#828344
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978B35 #354197
analogous
#975A35 #978B35 #729735
triadic
#978B35 #35978B #8B3597
tetradic
#978B35 #35975A #354197 #973572
square
#978B35 #35975A #354197 #973572
split-complementary
#978B35 #357297 #5A3597
monochromatic
#3C3815 #6A6125 #978B35 #BFB14A #CFC477
Accessibility & contrast
On white
3.47
#978B35 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.06
#978B35 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978B35
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978B35 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978B35 | 1.00 | 3.47 | 6.06 | 6.06 |
| #FFFFFF | 3.47 | 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)
#97872B
Deuteranopia (green-blind)
#9B8C3A
Tritanopia (blue-blind)
#A28179
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #978b35; /* rgb */ color: rgb(151, 139, 53); /* oklch */ color: oklch(63.0% 0.107 101.4);
Tailwind
colors: {
custom: {
50: '#b8ac70',
500: '#978b35',
950: '#000000',
},
}SCSS
$custom: #978b35; $custom-light: #b8ac70; $custom-dark: #000000;
JSON
{
"hex": "#978b35",
"rgb": {
"r": 151,
"g": 139,
"b": 53
},
"hsl": {
"h": 52.653,
"s": 48.039,
"l": 40
},
"oklch": {
"l": 0.63033,
"c": 0.10709,
"h": 101.4
},
"luminance": 0.25302
}Semantic roles & 50–950 ramp
primary
#978B35
secondary
#7079B8
accent
#61D850
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121008
muted
#817F7B