#978837#978837
#978837 is a light, moderate yellow. Relative luminance 0.245; OKLCH L 62.4% C 0.103 H 98.8°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #978837 |
|---|---|
| RGB | rgb(151, 136, 55) |
| HSL | hsl(51, 47%, 40%) |
| HSV | hsv(51, 64%, 59%) |
| CMYK | cmyk(0%, 9.9%, 63.6%, 40.8%) |
| CIE-LAB | lab(56.55, -4.53, 44.35) |
| CIE-LCH | lch(56.55, 44.58, 95.83°) |
| OKLab | oklab(62.39% -0.0158 0.1015) |
| OKLCH | oklch(62.39% 0.103 98.8) |
| XYZ | xyz(22.2572, 24.4644, 7.1634) |
| Luminance | 0.2446 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 5.02
Diarrhea
#9F8303
ΔE00 5.88
Baby Poop
#937C00
ΔE00 6.08
Dark Mustard
#A88905
ΔE00 6.73
Drab
#828344
ΔE00 6.85
Hazel
#8E7618
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978837 #374697
analogous
#975837 #978837 #769737
triadic
#978837 #379788 #883797
tetradic
#978837 #379758 #374697 #973776
square
#978837 #379758 #374697 #973776
split-complementary
#978837 #377697 #583797
monochromatic
#3D3716 #6A6027 #978837 #BEAC4D #CFC17A
Accessibility & contrast
On white
3.56
#978837 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.89
#978837 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978837
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978837 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978837 | 1.00 | 3.56 | 5.89 | 5.89 |
| #FFFFFF | 3.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#95852E
Deuteranopia (green-blind)
#998A3B
Tritanopia (blue-blind)
#A27F77
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #978837; /* rgb */ color: rgb(151, 136, 55); /* oklch */ color: oklch(62.4% 0.103 98.8);
Tailwind
colors: {
custom: {
50: '#b8aa71',
500: '#978837',
950: '#000000',
},
}SCSS
$custom: #978837; $custom-light: #b8aa71; $custom-dark: #000000;
JSON
{
"hex": "#978837",
"rgb": {
"r": 151,
"g": 136,
"b": 55
},
"hsl": {
"h": 50.625,
"s": 46.602,
"l": 40.392
},
"oklch": {
"l": 0.6239,
"c": 0.10268,
"h": 98.8
},
"luminance": 0.24463
}Semantic roles & 50–950 ramp
primary
#978837
secondary
#727DB8
accent
#66D652
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121008
muted
#817F7B