#978C62#978C62
#978C62 is a light, muted yellow. Relative luminance 0.262; OKLCH L 63.9% C 0.060 H 95.2°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #978C62 |
|---|---|
| RGB | rgb(151, 140, 98) |
| HSL | hsl(48, 21%, 49%) |
| HSV | hsv(48, 35%, 59%) |
| CMYK | cmyk(0%, 7.3%, 35.1%, 40.8%) |
| CIE-LAB | lab(58.24, -2.48, 23.96) |
| CIE-LCH | lch(58.24, 24.09, 95.90°) |
| OKLab | oklab(63.92% -0.0054 0.0596) |
| OKLCH | oklch(63.92% 0.06 95.2) |
| XYZ | xyz(24.3455, 26.2180, 15.3310) |
| Luminance | 0.2622 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 3.89
Brown Grey
#8D8468
ΔE00 4.91
Dark Sand
#A88F59
ΔE00 5.69
Dark Beige
#AC9362
ΔE00 6.07
Dust
#B2996E
ΔE00 7.48
Drab
#828344
ΔE00 7.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978C62 #626D97
analogous
#977262 #978C62 #889762
triadic
#978C62 #62978C #8C6297
tetradic
#978C62 #629772 #626D97 #976288
square
#978C62 #629772 #626D97 #976288
split-complementary
#978C62 #628897 #726297
monochromatic
#4D4732 #726A4A #978C62 #B0A886 #C8C2AB
Accessibility & contrast
On white
3.36
#978C62 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.24
#978C62 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978C62
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978C62 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978C62 | 1.00 | 3.36 | 6.24 | 6.24 |
| #FFFFFF | 3.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948A5F
Deuteranopia (green-blind)
#978E63
Tritanopia (blue-blind)
#9F8681
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #978c62; /* rgb */ color: rgb(151, 140, 98); /* oklch */ color: oklch(63.9% 0.060 95.2);
Tailwind
colors: {
custom: {
50: '#b6ad8f',
500: '#978c62',
950: '#000000',
},
}SCSS
$custom: #978c62; $custom-light: #b6ad8f; $custom-dark: #000000;
JSON
{
"hex": "#978c62",
"rgb": {
"r": 151,
"g": 140,
"b": 98
},
"hsl": {
"h": 47.547,
"s": 21.285,
"l": 48.824
},
"oklch": {
"l": 0.63919,
"c": 0.05987,
"h": 95.2
},
"luminance": 0.26217
}Semantic roles & 50–950 ramp
primary
#978C62
secondary
#9EA3B7
accent
#7BBE6A
background
#FBFAF8
surface
#F6F4F0
border
#D0CECB
text
#11100C
muted
#807F7D