#978D36#978D36
#978D36 is a light, moderate yellow. Relative luminance 0.259; OKLCH L 63.5% C 0.108 H 102.8°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #978D36 |
|---|---|
| RGB | rgb(151, 141, 54) |
| HSL | hsl(54, 47%, 40%) |
| HSV | hsv(54, 64%, 59%) |
| CMYK | cmyk(0%, 6.6%, 64.2%, 40.8%) |
| CIE-LAB | lab(57.94, -7.33, 46.31) |
| CIE-LCH | lch(57.94, 46.89, 98.99°) |
| OKLab | oklab(63.49% -0.0239 0.1055) |
| OKLCH | oklch(63.49% 0.108 102.8) |
| XYZ | xyz(22.9541, 25.8963, 7.2787) |
| Luminance | 0.2590 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 5.33
Drab
#828344
ΔE00 6.96
Diarrhea
#9F8303
ΔE00 7.02
Olive
#808000
ΔE00 7.02
Baby Poo
#AB9004
ΔE00 7.12
Baby Poop Green
#8F9805
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978D36 #364097
analogous
#975C36 #978D36 #719736
triadic
#978D36 #36978D #8D3697
tetradic
#978D36 #36975C #364097 #973671
square
#978D36 #36975C #364097 #973671
split-complementary
#978D36 #367197 #5C3697
monochromatic
#3D3916 #6A6326 #978D36 #BFB34B #CFC678
Accessibility & contrast
On white
3.40
#978D36 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.18
#978D36 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978D36
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978D36 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978D36 | 1.00 | 3.40 | 6.18 | 6.18 |
| #FFFFFF | 3.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#99892C
Deuteranopia (green-blind)
#9C8D3B
Tritanopia (blue-blind)
#A2847B
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #978d36; /* rgb */ color: rgb(151, 141, 54); /* oklch */ color: oklch(63.5% 0.108 102.8);
Tailwind
colors: {
custom: {
50: '#b8ae71',
500: '#978d36',
950: '#000000',
},
}SCSS
$custom: #978d36; $custom-light: #b8ae71; $custom-dark: #000000;
JSON
{
"hex": "#978d36",
"rgb": {
"r": 151,
"g": 141,
"b": 54
},
"hsl": {
"h": 53.814,
"s": 47.317,
"l": 40.196
},
"oklch": {
"l": 0.63488,
"c": 0.10814,
"h": 102.8
},
"luminance": 0.25895
}Semantic roles & 50–950 ramp
primary
#978D36
secondary
#7178B8
accent
#5FD751
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121008
muted
#817F7B