#978D2B#978D2B
#978D2B is a light, moderate yellow. Relative luminance 0.258; OKLCH L 63.4% C 0.117 H 103.4°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #978D2B |
|---|---|
| RGB | rgb(151, 141, 43) |
| HSL | hsl(54, 56%, 38%) |
| HSV | hsv(54, 72%, 59%) |
| CMYK | cmyk(0%, 6.6%, 71.5%, 40.8%) |
| CIE-LAB | lab(57.85, -7.99, 50.93) |
| CIE-LCH | lch(57.85, 51.56, 98.92°) |
| OKLab | oklab(63.39% -0.027 0.1134) |
| OKLCH | oklch(63.39% 0.117 103.4) |
| XYZ | xyz(22.7244, 25.8044, 6.0688) |
| Luminance | 0.2580 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 6.27
Baby Poo
#AB9004
ΔE00 6.32
Baby Poop Green
#8F9805
ΔE00 6.34
Diarrhea
#9F8303
ΔE00 6.41
Olive
#808000
ΔE00 6.43
Baby Shit Brown
#AD900D
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978D2B #2B3597
analogous
#97572B #978D2B #6B972B
triadic
#978D2B #2B978D #8D2B97
tetradic
#978D2B #2B9757 #2B3597 #972B6B
square
#978D2B #2B9757 #2B3597 #972B6B
split-complementary
#978D2B #2B6B97 #572B97
monochromatic
#383410 #67611D #978D2B #C7B939 #D4CA68
Accessibility & contrast
On white
3.41
#978D2B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.16
#978D2B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978D2B
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978D2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978D2B | 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)
#9A881C
Deuteranopia (green-blind)
#9D8D31
Tritanopia (blue-blind)
#A3837A
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #978d2b; /* rgb */ color: rgb(151, 141, 43); /* oklch */ color: oklch(63.4% 0.117 103.4);
Tailwind
colors: {
custom: {
50: '#b9ae6b',
500: '#978d2b',
950: '#000000',
},
}SCSS
$custom: #978d2b; $custom-light: #b9ae6b; $custom-dark: #000000;
JSON
{
"hex": "#978d2b",
"rgb": {
"r": 151,
"g": 141,
"b": 43
},
"hsl": {
"h": 54.444,
"s": 55.67,
"l": 38.039
},
"oklch": {
"l": 0.63391,
"c": 0.11655,
"h": 103.4
},
"luminance": 0.25803
}Semantic roles & 50–950 ramp
primary
#978D2B
secondary
#636BBB
accent
#57DF49
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A