#978D38#978D38
#978D38 is a light, moderate yellow. Relative luminance 0.259; OKLCH L 63.5% C 0.106 H 102.6°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #978D38 |
|---|---|
| RGB | rgb(151, 141, 56) |
| HSL | hsl(54, 46%, 41%) |
| HSV | hsv(54, 63%, 59%) |
| CMYK | cmyk(0%, 6.6%, 62.9%, 40.8%) |
| CIE-LAB | lab(57.96, -7.19, 45.41) |
| CIE-LCH | lch(57.96, 45.98, 99.00°) |
| OKLab | oklab(63.51% -0.0233 0.1039) |
| OKLCH | oklch(63.51% 0.106 102.6) |
| XYZ | xyz(23.0020, 25.9155, 7.5312) |
| Luminance | 0.2591 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 5.05
Drab
#828344
ΔE00 6.79
Diarrhea
#9F8303
ΔE00 7.16
Olive
#808000
ΔE00 7.17
Baby Poo
#AB9004
ΔE00 7.30
Baby Poop Green
#8F9805
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978D38 #384297
analogous
#975D38 #978D38 #719738
triadic
#978D38 #38978D #8D3897
tetradic
#978D38 #38975D #384297 #973871
square
#978D38 #38975D #384297 #973871
split-complementary
#978D38 #387197 #5D3897
monochromatic
#3E3A17 #6A6327 #978D38 #BEB24F #CEC57B
Accessibility & contrast
On white
3.40
#978D38 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.18
#978D38 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978D38
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978D38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978D38 | 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)
#99892E
Deuteranopia (green-blind)
#9C8D3D
Tritanopia (blue-blind)
#A2847B
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #978d38; /* rgb */ color: rgb(151, 141, 56); /* oklch */ color: oklch(63.5% 0.106 102.6);
Tailwind
colors: {
custom: {
50: '#b8ae72',
500: '#978d38',
950: '#000000',
},
}SCSS
$custom: #978d38; $custom-light: #b8ae72; $custom-dark: #000000;
JSON
{
"hex": "#978d38",
"rgb": {
"r": 151,
"g": 141,
"b": 56
},
"hsl": {
"h": 53.684,
"s": 45.894,
"l": 40.588
},
"oklch": {
"l": 0.63509,
"c": 0.10644,
"h": 102.6
},
"luminance": 0.25915
}Semantic roles & 50–950 ramp
primary
#978D38
secondary
#737BB7
accent
#60D652
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121008
muted
#817F7B