#978C4E#978C4E
#978C4E is a light, moderate yellow. Relative luminance 0.259; OKLCH L 63.6% C 0.084 H 99.5°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #978C4E |
|---|---|
| RGB | rgb(151, 140, 78) |
| HSL | hsl(51, 32%, 45%) |
| HSV | hsv(51, 48%, 59%) |
| CMYK | cmyk(0%, 7.3%, 48.3%, 40.8%) |
| CIE-LAB | lab(57.93, -4.77, 34.42) |
| CIE-LCH | lch(57.93, 34.75, 97.89°) |
| OKLab | oklab(63.57% -0.0137 0.0825) |
| OKLCH | oklch(63.57% 0.084 99.5) |
| XYZ | xyz(23.5164, 25.8863, 10.9641) |
| Luminance | 0.2589 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 1.49
Drab
#828344
ΔE00 5.74
Dark Sand
#A88F59
ΔE00 5.80
Dark Beige
#AC9362
ΔE00 7.06
Khaki (survey)
#AAA662
ΔE00 8.22
Camo
#7F8F4E
ΔE00 8.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978C4E #4E5997
analogous
#97684E #978C4E #7E974E
triadic
#978C4E #4E978C #8C4E97
tetradic
#978C4E #4E9768 #4E5997 #974E7E
square
#978C4E #4E9768 #4E5997 #974E7E
split-complementary
#978C4E #4E7E97 #684E97
monochromatic
#464124 #6F6739 #978C4E #B4AA6E #C9C196
Accessibility & contrast
On white
3.40
#978C4E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.18
#978C4E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978C4E
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978C4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978C4E | 1.00 | 3.40 | 6.18 | 6.18 |
| #FFFFFF | 3.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#978949
Deuteranopia (green-blind)
#9A8D51
Tritanopia (blue-blind)
#A1847D
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #978c4e; /* rgb */ color: rgb(151, 140, 78); /* oklch */ color: oklch(63.6% 0.084 99.5);
Tailwind
colors: {
custom: {
50: '#b7ad81',
500: '#978c4e',
950: '#000000',
},
}SCSS
$custom: #978c4e; $custom-light: #b7ad81; $custom-dark: #000000;
JSON
{
"hex": "#978c4e",
"rgb": {
"r": 151,
"g": 140,
"b": 78
},
"hsl": {
"h": 50.959,
"s": 31.878,
"l": 44.902
},
"oklch": {
"l": 0.63568,
"c": 0.08362,
"h": 99.5
},
"luminance": 0.25886
}Semantic roles & 50–950 ramp
primary
#978C4E
secondary
#8B92B6
accent
#6FC860
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#11100A
muted
#807F7C