#978E2A#978E2A
#978E2A is a light, moderate yellow. Relative luminance 0.261; OKLCH L 63.6% C 0.118 H 104.1°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #978E2A |
|---|---|
| RGB | rgb(151, 142, 42) |
| HSL | hsl(55, 56%, 38%) |
| HSV | hsv(55, 72%, 59%) |
| CMYK | cmyk(0%, 6%, 72.2%, 40.8%) |
| CIE-LAB | lab(58.13, -8.59, 51.60) |
| CIE-LCH | lch(58.13, 52.31, 99.45°) |
| OKLab | oklab(63.61% -0.0288 0.1146) |
| OKLCH | oklch(63.61% 0.118 104.1) |
| XYZ | xyz(22.8544, 26.0934, 6.0227) |
| Luminance | 0.2609 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 5.83
Baby Poop Green
#8F9805
ΔE00 5.90
Baby Poo
#AB9004
ΔE00 6.39
Olive
#808000
ΔE00 6.48
Baby Shit Green
#889717
ΔE00 6.70
Diarrhea
#9F8303
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978E2A #2A3397
analogous
#97572A #978E2A #69972A
triadic
#978E2A #2A978E #8E2A97
tetradic
#978E2A #2A9757 #2A3397 #972A69
square
#978E2A #2A9757 #2A3397 #972A69
split-complementary
#978E2A #2A6997 #572A97
monochromatic
#37340F #67611D #978E2A #C7BB37 #D5CC67
Accessibility & contrast
On white
3.38
#978E2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.22
#978E2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978E2A
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978E2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978E2A | 1.00 | 3.38 | 6.22 | 6.22 |
| #FFFFFF | 3.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B891A
Deuteranopia (green-blind)
#9E8E31
Tritanopia (blue-blind)
#A2847A
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #978e2a; /* rgb */ color: rgb(151, 142, 42); /* oklch */ color: oklch(63.6% 0.118 104.1);
Tailwind
colors: {
custom: {
50: '#b9ae6a',
500: '#978e2a',
950: '#000000',
},
}SCSS
$custom: #978e2a; $custom-light: #b9ae6a; $custom-dark: #000000;
JSON
{
"hex": "#978e2a",
"rgb": {
"r": 151,
"g": 142,
"b": 42
},
"hsl": {
"h": 55.046,
"s": 56.477,
"l": 37.843
},
"oklch": {
"l": 0.63607,
"c": 0.11817,
"h": 104.1
},
"luminance": 0.26092
}Semantic roles & 50–950 ramp
primary
#978E2A
secondary
#6269BB
accent
#55E048
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A