#978E6F#978E6F
#978E6F is a light, muted yellow. Relative luminance 0.271; OKLCH L 64.6% C 0.045 H 93.8°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #978E6F |
|---|---|
| RGB | rgb(151, 142, 111) |
| HSL | hsl(47, 16%, 51%) |
| HSV | hsv(47, 26%, 59%) |
| CMYK | cmyk(0%, 6%, 26.5%, 40.8%) |
| CIE-LAB | lab(59.04, -1.80, 17.76) |
| CIE-LCH | lch(59.04, 17.85, 95.80°) |
| OKLab | oklab(64.63% -0.003 0.0451) |
| OKLCH | oklch(64.63% 0.045 93.8) |
| XYZ | xyz(25.3048, 27.0736, 18.9286) |
| Luminance | 0.2707 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Grey
#8D8468
ΔE00 3.60
Dark Khaki
#9B8F55
ΔE00 6.95
Stone (survey)
#ADA587
ΔE00 7.30
Dark Beige
#AC9362
ΔE00 7.46
Dark Sand
#A88F59
ΔE00 7.76
Dust
#B2996E
ΔE00 7.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978E6F #6F7897
analogous
#977A6F #978E6F #8C976F
triadic
#978E6F #6F978E #8E6F97
tetradic
#978E6F #6F977A #6F7897 #976F8C
square
#978E6F #6F977A #6F7897 #976F8C
split-complementary
#978E6F #6F8C97 #7A6F97
monochromatic
#514C3B #756D54 #978E6F #B1AA93 #CAC6B6
Accessibility & contrast
On white
3.27
#978E6F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.41
#978E6F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978E6F
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978E6F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978E6F | 1.00 | 3.27 | 6.41 | 6.41 |
| #FFFFFF | 3.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958C6D
Deuteranopia (green-blind)
#978F70
Tritanopia (blue-blind)
#9D8986
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #978e6f; /* rgb */ color: rgb(151, 142, 111); /* oklch */ color: oklch(64.6% 0.045 93.8);
Tailwind
colors: {
custom: {
50: '#b6af98',
500: '#978e6f',
950: '#000000',
},
}SCSS
$custom: #978e6f; $custom-light: #b6af98; $custom-dark: #000000;
JSON
{
"hex": "#978e6f",
"rgb": {
"r": 151,
"g": 142,
"b": 111
},
"hsl": {
"h": 46.5,
"s": 16.129,
"l": 51.373
},
"oklch": {
"l": 0.64631,
"c": 0.04518,
"h": 93.8
},
"luminance": 0.27073
}Semantic roles & 50–950 ramp
primary
#978E6F
secondary
#A8ACBA
accent
#80B96F
background
#FBFAF9
surface
#F6F4F2
border
#D0CECC
text
#11100D
muted
#807F7E