#978E63#978E63
#978E63 is a light, moderate yellow. Relative luminance 0.268; OKLCH L 64.4% C 0.061 H 97.8°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #978E63 |
|---|---|
| RGB | rgb(151, 142, 99) |
| HSL | hsl(50, 21%, 49%) |
| HSV | hsv(50, 34%, 59%) |
| CMYK | cmyk(0%, 6%, 34.4%, 40.8%) |
| CIE-LAB | lab(58.81, -3.45, 24.16) |
| CIE-LCH | lch(58.81, 24.40, 98.13°) |
| OKLab | oklab(64.38% -0.0082 0.0601) |
| OKLCH | oklch(64.38% 0.061 97.8) |
| XYZ | xyz(24.6879, 26.8268, 15.6796) |
| Luminance | 0.2683 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 3.65
Brown Grey
#8D8468
ΔE00 5.49
Dark Sand
#A88F59
ΔE00 6.13
Dark Beige
#AC9362
ΔE00 6.46
Drab
#828344
ΔE00 7.65
Dust
#B2996E
ΔE00 7.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978E63 #636C97
analogous
#977463 #978E63 #869763
triadic
#978E63 #63978E #8E6397
tetradic
#978E63 #639774 #636C97 #976386
square
#978E63 #639774 #636C97 #976386
split-complementary
#978E63 #638697 #746397
monochromatic
#4D4833 #726B4B #978E63 #B0A987 #C9C4AC
Accessibility & contrast
On white
3.30
#978E63 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.37
#978E63 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978E63
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978E63 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978E63 | 1.00 | 3.30 | 6.37 | 6.37 |
| #FFFFFF | 3.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968C60
Deuteranopia (green-blind)
#998F65
Tritanopia (blue-blind)
#9F8883
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #978e63; /* rgb */ color: rgb(151, 142, 99); /* oklch */ color: oklch(64.4% 0.061 97.8);
Tailwind
colors: {
custom: {
50: '#b6af90',
500: '#978e63',
950: '#000000',
},
}SCSS
$custom: #978e63; $custom-light: #b6af90; $custom-dark: #000000;
JSON
{
"hex": "#978e63",
"rgb": {
"r": 151,
"g": 142,
"b": 99
},
"hsl": {
"h": 49.615,
"s": 20.8,
"l": 49.02
},
"oklch": {
"l": 0.64376,
"c": 0.06068,
"h": 97.8
},
"luminance": 0.26826
}Semantic roles & 50–950 ramp
primary
#978E63
secondary
#9FA3B7
accent
#79BD6A
background
#FBFAF8
surface
#F6F4F0
border
#D0CECB
text
#11100C
muted
#807F7D