#978C3F#978C3F
#978C3F is a light, moderate yellow. Relative luminance 0.257; OKLCH L 63.4% C 0.099 H 101.3°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #978C3F |
|---|---|
| RGB | rgb(151, 140, 63) |
| HSL | hsl(53, 41%, 42%) |
| HSV | hsv(53, 58%, 59%) |
| CMYK | cmyk(0%, 7.3%, 58.3%, 40.8%) |
| CIE-LAB | lab(57.75, -6.12, 41.85) |
| CIE-LCH | lch(57.75, 42.29, 98.32°) |
| OKLab | oklab(63.37% -0.0193 0.0972) |
| OKLCH | oklch(63.37% 0.099 101.3) |
| XYZ | xyz(23.0386, 25.6952, 8.4478) |
| Luminance | 0.2569 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 3.89
Drab
#828344
ΔE00 6.20
Dark Sand
#A88F59
ΔE00 7.30
Diarrhea
#9F8303
ΔE00 7.53
Olive
#808000
ΔE00 7.82
Baby Poop
#937C00
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978C3F #3F4A97
analogous
#97603F #978C3F #76973F
triadic
#978C3F #3F978C #8C3F97
tetradic
#978C3F #3F9760 #3F4A97 #973F76
square
#978C3F #3F9760 #3F4A97 #973F76
split-complementary
#978C3F #3F7697 #603F97
monochromatic
#413C1B #6C642D #978C3F #BAAE59 #CCC385
Accessibility & contrast
On white
3.42
#978C3F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.14
#978C3F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978C3F
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978C3F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978C3F | 1.00 | 3.42 | 6.14 | 6.14 |
| #FFFFFF | 3.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#988837
Deuteranopia (green-blind)
#9B8D43
Tritanopia (blue-blind)
#A2837B
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #978c3f; /* rgb */ color: rgb(151, 140, 63); /* oklch */ color: oklch(63.4% 0.099 101.3);
Tailwind
colors: {
custom: {
50: '#b8ad77',
500: '#978c3f',
950: '#000000',
},
}SCSS
$custom: #978c3f; $custom-light: #b8ad77; $custom-dark: #000000;
JSON
{
"hex": "#978c3f",
"rgb": {
"r": 151,
"g": 140,
"b": 63
},
"hsl": {
"h": 52.5,
"s": 41.121,
"l": 41.961
},
"oklch": {
"l": 0.63365,
"c": 0.09912,
"h": 101.3
},
"luminance": 0.25694
}Semantic roles & 50–950 ramp
primary
#978C3F
secondary
#7C83B6
accent
#66D157
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121009
muted
#817F7B