#978F37#978F37
#978F37 is a light, moderate yellow. Relative luminance 0.265; OKLCH L 63.9% C 0.109 H 104.1°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #978F37 |
|---|---|
| RGB | rgb(151, 143, 55) |
| HSL | hsl(55, 47%, 40%) |
| HSV | hsv(55, 64%, 59%) |
| CMYK | cmyk(0%, 5.3%, 63.6%, 40.8%) |
| CIE-LAB | lab(58.51, -8.35, 46.47) |
| CIE-LCH | lch(58.51, 47.21, 100.18°) |
| OKLab | oklab(63.94% -0.0267 0.106) |
| OKLCH | oklch(63.94% 0.109 104.1) |
| XYZ | xyz(23.2754, 26.5009, 7.5028) |
| Luminance | 0.2650 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 5.48
Baby Poop Green
#8F9805
ΔE00 6.52
Pea Soup
#929901
ΔE00 6.53
Baby Shit Green
#889717
ΔE00 6.93
Drab
#828344
ΔE00 7.08
Olive
#808000
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978F37 #373F97
analogous
#975F37 #978F37 #6F9737
triadic
#978F37 #37978F #8F3797
tetradic
#978F37 #37975F #373F97 #97376F
square
#978F37 #37975F #373F97 #97376F
split-complementary
#978F37 #376F97 #5F3797
monochromatic
#3D3A16 #6A6527 #978F37 #BEB54D #CFC77A
Accessibility & contrast
On white
3.33
#978F37 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.30
#978F37 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978F37
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978F37 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978F37 | 1.00 | 3.33 | 6.30 | 6.30 |
| #FFFFFF | 3.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8A2D
Deuteranopia (green-blind)
#9E8F3C
Tritanopia (blue-blind)
#A2867C
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #978f37; /* rgb */ color: rgb(151, 143, 55); /* oklch */ color: oklch(63.9% 0.109 104.1);
Tailwind
colors: {
custom: {
50: '#b8af72',
500: '#978f37',
950: '#000000',
},
}SCSS
$custom: #978f37; $custom-light: #b8af72; $custom-dark: #000000;
JSON
{
"hex": "#978f37",
"rgb": {
"r": 151,
"g": 143,
"b": 55
},
"hsl": {
"h": 55,
"s": 46.602,
"l": 40.392
},
"oklch": {
"l": 0.63945,
"c": 0.10926,
"h": 104.1
},
"luminance": 0.265
}Semantic roles & 50–950 ramp
primary
#978F37
secondary
#7278B8
accent
#5DD652
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121008
muted
#817F7B