#978E39#978E39
#978E39 is a light, moderate yellow. Relative luminance 0.262; OKLCH L 63.7% C 0.107 H 103.3°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #978E39 |
|---|---|
| RGB | rgb(151, 142, 57) |
| HSL | hsl(54, 45%, 41%) |
| HSV | hsv(54, 62%, 59%) |
| CMYK | cmyk(0%, 6%, 62.3%, 40.8%) |
| CIE-LAB | lab(58.25, -7.66, 45.27) |
| CIE-LCH | lch(58.25, 45.91, 99.61°) |
| OKLab | oklab(63.74% -0.0245 0.1037) |
| OKLCH | oklch(63.74% 0.107 103.3) |
| XYZ | xyz(23.1749, 26.2216, 7.7106) |
| Luminance | 0.2622 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 5.04
Drab
#828344
ΔE00 6.80
Baby Poop Green
#8F9805
ΔE00 7.07
Pea Soup
#929901
ΔE00 7.09
Olive
#808000
ΔE00 7.30
Baby Shit Green
#889717
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978E39 #394297
analogous
#975F39 #978E39 #719739
triadic
#978E39 #39978E #8E3997
tetradic
#978E39 #39975F #394297 #973971
square
#978E39 #39975F #394297 #973971
split-complementary
#978E39 #397197 #5F3997
monochromatic
#3E3A17 #6B6428 #978E39 #BDB350 #CEC67D
Accessibility & contrast
On white
3.36
#978E39 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.24
#978E39 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978E39
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978E39 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978E39 | 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)
#9A8A2F
Deuteranopia (green-blind)
#9D8E3E
Tritanopia (blue-blind)
#A2857C
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #978e39; /* rgb */ color: rgb(151, 142, 57); /* oklch */ color: oklch(63.7% 0.107 103.3);
Tailwind
colors: {
custom: {
50: '#b8ae73',
500: '#978e39',
950: '#000000',
},
}SCSS
$custom: #978e39; $custom-light: #b8ae73; $custom-dark: #000000;
JSON
{
"hex": "#978e39",
"rgb": {
"r": 151,
"g": 142,
"b": 57
},
"hsl": {
"h": 54.255,
"s": 45.192,
"l": 40.784
},
"oklch": {
"l": 0.63742,
"c": 0.10656,
"h": 103.3
},
"luminance": 0.26221
}Semantic roles & 50–950 ramp
primary
#978E39
secondary
#757BB7
accent
#5FD553
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121008
muted
#817F7B