#978B3F#978B3F
#978B3F is a light, moderate yellow. Relative luminance 0.254; OKLCH L 63.1% C 0.098 H 100.4°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #978B3F |
|---|---|
| RGB | rgb(151, 139, 63) |
| HSL | hsl(52, 41%, 42%) |
| HSV | hsv(52, 58%, 59%) |
| CMYK | cmyk(0%, 7.9%, 58.3%, 40.8%) |
| CIE-LAB | lab(57.47, -5.57, 41.53) |
| CIE-LCH | lch(57.47, 41.90, 97.65°) |
| OKLab | oklab(63.14% -0.0178 0.0965) |
| OKLCH | oklch(63.14% 0.098 100.4) |
| XYZ | xyz(22.8931, 25.4043, 8.3993) |
| Luminance | 0.2540 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 3.82
Drab
#828344
ΔE00 6.19
Dark Sand
#A88F59
ΔE00 7.06
Diarrhea
#9F8303
ΔE00 7.31
Baby Poop
#937C00
ΔE00 7.61
Olive
#808000
ΔE00 7.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978B3F #3F4B97
analogous
#975F3F #978B3F #77973F
triadic
#978B3F #3F978B #8B3F97
tetradic
#978B3F #3F975F #3F4B97 #973F77
square
#978B3F #3F975F #3F4B97 #973F77
split-complementary
#978B3F #3F7797 #5F3F97
monochromatic
#413B1B #6C632D #978B3F #BAAD59 #CCC285
Accessibility & contrast
On white
3.45
#978B3F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.08
#978B3F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978B3F
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978B3F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978B3F | 1.00 | 3.45 | 6.08 | 6.08 |
| #FFFFFF | 3.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#978737
Deuteranopia (green-blind)
#9A8C43
Tritanopia (blue-blind)
#A2827A
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #978b3f; /* rgb */ color: rgb(151, 139, 63); /* oklch */ color: oklch(63.1% 0.098 100.4);
Tailwind
colors: {
custom: {
50: '#b8ac77',
500: '#978b3f',
950: '#000000',
},
}SCSS
$custom: #978b3f; $custom-light: #b8ac77; $custom-dark: #000000;
JSON
{
"hex": "#978b3f",
"rgb": {
"r": 151,
"g": 139,
"b": 63
},
"hsl": {
"h": 51.818,
"s": 41.121,
"l": 41.961
},
"oklch": {
"l": 0.63143,
"c": 0.09815,
"h": 100.4
},
"luminance": 0.25403
}Semantic roles & 50–950 ramp
primary
#978B3F
secondary
#7C84B6
accent
#67D157
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121009
muted
#817F7B