#978D2A#978D2A
#978D2A is a light, moderate yellow. Relative luminance 0.258; OKLCH L 63.4% C 0.117 H 103.5°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #978D2A |
|---|---|
| RGB | rgb(151, 141, 42) |
| HSL | hsl(54, 56%, 38%) |
| HSV | hsv(54, 72%, 59%) |
| CMYK | cmyk(0%, 6.6%, 72.2%, 40.8%) |
| CIE-LAB | lab(57.84, -8.05, 51.32) |
| CIE-LCH | lch(57.84, 51.95, 98.91°) |
| OKLab | oklab(63.38% -0.0273 0.114) |
| OKLCH | oklch(63.38% 0.117 103.5) |
| XYZ | xyz(22.7063, 25.7972, 5.9733) |
| Luminance | 0.2580 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 6.21
Baby Poo
#AB9004
ΔE00 6.26
Baby Poop Green
#8F9805
ΔE00 6.28
Diarrhea
#9F8303
ΔE00 6.37
Olive
#808000
ΔE00 6.39
Baby Shit Brown
#AD900D
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978D2A #2A3497
analogous
#97562A #978D2A #6B972A
triadic
#978D2A #2A978D #8D2A97
tetradic
#978D2A #2A9756 #2A3497 #972A6B
square
#978D2A #2A9756 #2A3497 #972A6B
split-complementary
#978D2A #2A6B97 #562A97
monochromatic
#37340F #67601D #978D2A #C7BA37 #D5CB67
Accessibility & contrast
On white
3.41
#978D2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.16
#978D2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978D2A
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978D2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978D2A | 1.00 | 3.41 | 6.16 | 6.16 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A881A
Deuteranopia (green-blind)
#9D8D31
Tritanopia (blue-blind)
#A38379
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #978d2a; /* rgb */ color: rgb(151, 141, 42); /* oklch */ color: oklch(63.4% 0.117 103.5);
Tailwind
colors: {
custom: {
50: '#b9ae6a',
500: '#978d2a',
950: '#000000',
},
}SCSS
$custom: #978d2a; $custom-light: #b9ae6a; $custom-dark: #000000;
JSON
{
"hex": "#978d2a",
"rgb": {
"r": 151,
"g": 141,
"b": 42
},
"hsl": {
"h": 54.495,
"s": 56.477,
"l": 37.843
},
"oklch": {
"l": 0.63383,
"c": 0.11723,
"h": 103.5
},
"luminance": 0.25796
}Semantic roles & 50–950 ramp
primary
#978D2A
secondary
#626ABB
accent
#56E048
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A