#978A5B#978A5B
#978A5B is a light, moderate yellow. Relative luminance 0.255; OKLCH L 63.3% C 0.067 H 94.5°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #978A5B |
|---|---|
| RGB | rgb(151, 138, 91) |
| HSL | hsl(47, 25%, 47%) |
| HSV | hsv(47, 40%, 59%) |
| CMYK | cmyk(0%, 8.6%, 39.7%, 40.8%) |
| CIE-LAB | lab(57.57, -2.23, 26.95) |
| CIE-LCH | lch(57.57, 27.04, 94.74°) |
| OKLab | oklab(63.35% -0.0052 0.0663) |
| OKLCH | oklch(63.35% 0.067 94.5) |
| XYZ | xyz(23.7398, 25.5124, 13.5694) |
| Luminance | 0.2551 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 2.97
Dark Sand
#A88F59
ΔE00 4.95
Dark Beige
#AC9362
ΔE00 5.77
Brown Grey
#8D8468
ΔE00 5.79
Drab
#828344
ΔE00 7.17
Dust
#B2996E
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978A5B #5B6897
analogous
#976C5B #978A5B #86975B
triadic
#978A5B #5B978A #8A5B97
tetradic
#978A5B #5B976C #5B6897 #975B86
square
#978A5B #5B976C #5B6897 #975B86
split-complementary
#978A5B #5B8697 #6C5B97
monochromatic
#4B442D #716744 #978A5B #B1A67E #C8C0A4
Accessibility & contrast
On white
3.44
#978A5B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.10
#978A5B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978A5B
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978A5B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978A5B | 1.00 | 3.44 | 6.10 | 6.10 |
| #FFFFFF | 3.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938858
Deuteranopia (green-blind)
#978C5D
Tritanopia (blue-blind)
#A0837E
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #978a5b; /* rgb */ color: rgb(151, 138, 91); /* oklch */ color: oklch(63.3% 0.067 94.5);
Tailwind
colors: {
custom: {
50: '#b6ac8a',
500: '#978a5b',
950: '#000000',
},
}SCSS
$custom: #978a5b; $custom-light: #b6ac8a; $custom-dark: #000000;
JSON
{
"hex": "#978a5b",
"rgb": {
"r": 151,
"g": 138,
"b": 91
},
"hsl": {
"h": 47,
"s": 24.793,
"l": 47.451
},
"oklch": {
"l": 0.63349,
"c": 0.06653,
"h": 94.5
},
"luminance": 0.25512
}Semantic roles & 50–950 ramp
primary
#978A5B
secondary
#989EB6
accent
#7AC167
background
#FBFAF8
surface
#F6F4F0
border
#D0CECB
text
#11100B
muted
#807F7C