#978F36#978F36
#978F36 is a light, moderate yellow. Relative luminance 0.265; OKLCH L 63.9% C 0.110 H 104.2°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #978F36 |
|---|---|
| RGB | rgb(151, 143, 54) |
| HSL | hsl(55, 47%, 40%) |
| HSV | hsv(55, 64%, 59%) |
| CMYK | cmyk(0%, 5.3%, 64.2%, 40.8%) |
| CIE-LAB | lab(58.50, -8.41, 46.91) |
| CIE-LCH | lch(58.50, 47.66, 100.17°) |
| OKLab | oklab(63.93% -0.027 0.1068) |
| OKLCH | oklch(63.93% 0.11 104.2) |
| XYZ | xyz(23.2517, 26.4914, 7.3779) |
| Luminance | 0.2649 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 5.62
Baby Poop Green
#8F9805
ΔE00 6.42
Pea Soup
#929901
ΔE00 6.43
Baby Shit Green
#889717
ΔE00 6.86
Olive
#808000
ΔE00 7.16
Drab
#828344
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978F36 #363E97
analogous
#975F36 #978F36 #6E9736
triadic
#978F36 #36978F #8F3697
tetradic
#978F36 #36975F #363E97 #97366E
square
#978F36 #36975F #363E97 #97366E
split-complementary
#978F36 #366E97 #5F3697
monochromatic
#3D3A16 #6A6426 #978F36 #BFB54B #CFC878
Accessibility & contrast
On white
3.33
#978F36 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.30
#978F36 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978F36
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978F36 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978F36 | 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)
#9B8A2B
Deuteranopia (green-blind)
#9E8F3B
Tritanopia (blue-blind)
#A2867C
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #978f36; /* rgb */ color: rgb(151, 143, 54); /* oklch */ color: oklch(63.9% 0.110 104.2);
Tailwind
colors: {
custom: {
50: '#b8af71',
500: '#978f36',
950: '#000000',
},
}SCSS
$custom: #978f36; $custom-light: #b8af71; $custom-dark: #000000;
JSON
{
"hex": "#978f36",
"rgb": {
"r": 151,
"g": 143,
"b": 54
},
"hsl": {
"h": 55.052,
"s": 47.317,
"l": 40.196
},
"oklch": {
"l": 0.63935,
"c": 0.1101,
"h": 104.2
},
"luminance": 0.26491
}Semantic roles & 50–950 ramp
primary
#978F36
secondary
#7177B8
accent
#5CD751
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121008
muted
#817F7B