#978E2E#978E2E
#978E2E is a light, moderate yellow. Relative luminance 0.261; OKLCH L 63.6% C 0.115 H 103.9°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #978E2E |
|---|---|
| RGB | rgb(151, 142, 46) |
| HSL | hsl(55, 53%, 39%) |
| HSV | hsv(55, 70%, 59%) |
| CMYK | cmyk(0%, 6%, 69.5%, 40.8%) |
| CIE-LAB | lab(58.15, -8.37, 50.01) |
| CIE-LCH | lch(58.15, 50.71, 99.50°) |
| OKLab | oklab(63.64% -0.0278 0.112) |
| OKLCH | oklch(63.64% 0.115 103.9) |
| XYZ | xyz(22.9296, 26.1235, 6.4188) |
| Luminance | 0.2612 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 6.09
Baby Poop Green
#8F9805
ΔE00 6.14
Dark Khaki
#9B8F55
ΔE00 6.48
Baby Poo
#AB9004
ΔE00 6.62
Olive
#808000
ΔE00 6.63
Baby Shit Green
#889717
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978E2E #2E3797
analogous
#97592E #978E2E #6B972E
triadic
#978E2E #2E978E #8E2E97
tetradic
#978E2E #2E9759 #2E3797 #972E6B
square
#978E2E #2E9759 #2E3797 #972E6B
split-complementary
#978E2E #2E6B97 #592E97
monochromatic
#393611 #686220 #978E2E #C4B93E #D2CA6D
Accessibility & contrast
On white
3.37
#978E2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.22
#978E2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978E2E
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978E2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978E2E | 1.00 | 3.37 | 6.22 | 6.22 |
| #FFFFFF | 3.37 | 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)
#9B8920
Deuteranopia (green-blind)
#9E8E34
Tritanopia (blue-blind)
#A2847B
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #978e2e; /* rgb */ color: rgb(151, 142, 46); /* oklch */ color: oklch(63.6% 0.115 103.9);
Tailwind
colors: {
custom: {
50: '#b9ae6d',
500: '#978e2e',
950: '#000000',
},
}SCSS
$custom: #978e2e; $custom-light: #b9ae6d; $custom-dark: #000000;
JSON
{
"hex": "#978e2e",
"rgb": {
"r": 151,
"g": 142,
"b": 46
},
"hsl": {
"h": 54.857,
"s": 53.299,
"l": 38.627
},
"oklch": {
"l": 0.63639,
"c": 0.11537,
"h": 103.9
},
"luminance": 0.26123
}Semantic roles & 50–950 ramp
primary
#978E2E
secondary
#676EBA
accent
#58DD4B
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A