#978E2D#978E2D
#978E2D is a light, moderate yellow. Relative luminance 0.261; OKLCH L 63.6% C 0.116 H 104.0°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #978E2D |
|---|---|
| RGB | rgb(151, 142, 45) |
| HSL | hsl(55, 54%, 38%) |
| HSV | hsv(55, 70%, 59%) |
| CMYK | cmyk(0%, 6%, 70.2%, 40.8%) |
| CIE-LAB | lab(58.15, -8.43, 50.42) |
| CIE-LCH | lch(58.15, 51.12, 99.49°) |
| OKLab | oklab(63.63% -0.028 0.1127) |
| OKLCH | oklch(63.63% 0.116 104) |
| XYZ | xyz(22.9101, 26.1157, 6.3162) |
| Luminance | 0.2611 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 6.02
Baby Poop Green
#8F9805
ΔE00 6.07
Baby Poo
#AB9004
ΔE00 6.56
Olive
#808000
ΔE00 6.59
Dark Khaki
#9B8F55
ΔE00 6.60
Baby Shit Green
#889717
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978E2D #2D3697
analogous
#97592D #978E2D #6B972D
triadic
#978E2D #2D978E #8E2D97
tetradic
#978E2D #2D9759 #2D3697 #972D6B
square
#978E2D #2D9759 #2D3697 #972D6B
split-complementary
#978E2D #2D6B97 #592D97
monochromatic
#393511 #68621F #978E2D #C5B93C #D3CA6B
Accessibility & contrast
On white
3.37
#978E2D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.22
#978E2D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978E2D
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978E2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978E2D | 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)
#9B891F
Deuteranopia (green-blind)
#9E8E33
Tritanopia (blue-blind)
#A2847B
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #978e2d; /* rgb */ color: rgb(151, 142, 45); /* oklch */ color: oklch(63.6% 0.116 104.0);
Tailwind
colors: {
custom: {
50: '#b9ae6c',
500: '#978e2d',
950: '#000000',
},
}SCSS
$custom: #978e2d; $custom-light: #b9ae6c; $custom-dark: #000000;
JSON
{
"hex": "#978e2d",
"rgb": {
"r": 151,
"g": 142,
"b": 45
},
"hsl": {
"h": 54.906,
"s": 54.082,
"l": 38.431
},
"oklch": {
"l": 0.63631,
"c": 0.11609,
"h": 104
},
"luminance": 0.26115
}Semantic roles & 50–950 ramp
primary
#978E2D
secondary
#666DBA
accent
#57DD4A
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A