#978D6F#978D6F
#978D6F is a light, muted yellow. Relative luminance 0.268; OKLCH L 64.4% C 0.044 H 91.8°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #978D6F |
|---|---|
| RGB | rgb(151, 141, 111) |
| HSL | hsl(45, 16%, 51%) |
| HSV | hsv(45, 26%, 59%) |
| CMYK | cmyk(0%, 6.6%, 26.5%, 40.8%) |
| CIE-LAB | lab(58.77, -1.25, 17.39) |
| CIE-LCH | lch(58.77, 17.43, 94.10°) |
| OKLab | oklab(64.42% -0.0014 0.0442) |
| OKLCH | oklch(64.42% 0.044 91.8) |
| XYZ | xyz(25.1567, 26.7773, 18.8792) |
| Luminance | 0.2678 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Grey
#8D8468
ΔE00 3.29
Dark Khaki
#9B8F55
ΔE00 7.26
Dark Beige
#AC9362
ΔE00 7.40
Stone (survey)
#ADA587
ΔE00 7.59
Taupe
#8B7D6B
ΔE00 7.73
Dark Sand
#A88F59
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978D6F #6F7997
analogous
#97796F #978D6F #8D976F
triadic
#978D6F #6F978D #8D6F97
tetradic
#978D6F #6F9779 #6F7997 #976F8D
square
#978D6F #6F9779 #6F7997 #976F8D
split-complementary
#978D6F #6F8D97 #796F97
monochromatic
#514B3B #756C54 #978D6F #B1A993 #CAC5B6
Accessibility & contrast
On white
3.30
#978D6F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.36
#978D6F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978D6F
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978D6F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978D6F | 1.00 | 3.30 | 6.36 | 6.36 |
| #FFFFFF | 3.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948C6D
Deuteranopia (green-blind)
#968F70
Tritanopia (blue-blind)
#9E8885
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #978d6f; /* rgb */ color: rgb(151, 141, 111); /* oklch */ color: oklch(64.4% 0.044 91.8);
Tailwind
colors: {
custom: {
50: '#b6ae98',
500: '#978d6f',
950: '#000000',
},
}SCSS
$custom: #978d6f; $custom-light: #b6ae98; $custom-dark: #000000;
JSON
{
"hex": "#978d6f",
"rgb": {
"r": 151,
"g": 141,
"b": 111
},
"hsl": {
"h": 45,
"s": 16.129,
"l": 51.373
},
"oklch": {
"l": 0.64415,
"c": 0.04418,
"h": 91.8
},
"luminance": 0.26777
}Semantic roles & 50–950 ramp
primary
#978D6F
secondary
#A8ACBA
accent
#81B96F
background
#FBFAF9
surface
#F6F4F2
border
#D0CECC
text
#11100D
muted
#807F7E