#978C41#978C41
#978C41 is a light, moderate yellow. Relative luminance 0.257; OKLCH L 63.4% C 0.097 H 101.1°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #978C41 |
|---|---|
| RGB | rgb(151, 140, 65) |
| HSL | hsl(52, 40%, 42%) |
| HSV | hsv(52, 57%, 59%) |
| CMYK | cmyk(0%, 7.3%, 57%, 40.8%) |
| CIE-LAB | lab(57.77, -5.96, 40.89) |
| CIE-LCH | lch(57.77, 41.32, 98.29°) |
| OKLab | oklab(63.39% -0.0186 0.0954) |
| OKLCH | oklch(63.39% 0.097 101.1) |
| XYZ | xyz(23.0955, 25.7180, 8.7475) |
| Luminance | 0.2572 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 3.57
Drab
#828344
ΔE00 6.07
Dark Sand
#A88F59
ΔE00 7.08
Diarrhea
#9F8303
ΔE00 7.74
Olive
#808000
ΔE00 8.05
Baby Poop
#937C00
ΔE00 8.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978C41 #414C97
analogous
#976141 #978C41 #779741
triadic
#978C41 #41978C #8C4197
tetradic
#978C41 #419761 #414C97 #974177
square
#978C41 #419761 #414C97 #974177
split-complementary
#978C41 #417797 #614197
monochromatic
#413D1C #6C642F #978C41 #B9AD5C #CBC387
Accessibility & contrast
On white
3.42
#978C41 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.14
#978C41 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978C41
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978C41 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978C41 | 1.00 | 3.42 | 6.14 | 6.14 |
| #FFFFFF | 3.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#98883A
Deuteranopia (green-blind)
#9B8D45
Tritanopia (blue-blind)
#A2837B
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #978c41; /* rgb */ color: rgb(151, 140, 65); /* oklch */ color: oklch(63.4% 0.097 101.1);
Tailwind
colors: {
custom: {
50: '#b8ad78',
500: '#978c41',
950: '#000000',
},
}SCSS
$custom: #978c41; $custom-light: #b8ad78; $custom-dark: #000000;
JSON
{
"hex": "#978c41",
"rgb": {
"r": 151,
"g": 140,
"b": 65
},
"hsl": {
"h": 52.326,
"s": 39.815,
"l": 42.353
},
"oklch": {
"l": 0.63389,
"c": 0.09719,
"h": 101.1
},
"luminance": 0.25717
}Semantic roles & 50–950 ramp
primary
#978C41
secondary
#7E85B6
accent
#67D058
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121009
muted
#817F7B