#978D2C#978D2C
#978D2C is a light, moderate yellow. Relative luminance 0.258; OKLCH L 63.4% C 0.116 H 103.4°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #978D2C |
|---|---|
| RGB | rgb(151, 141, 44) |
| HSL | hsl(54, 55%, 38%) |
| HSV | hsv(54, 71%, 59%) |
| CMYK | cmyk(0%, 6.6%, 70.9%, 40.8%) |
| CIE-LAB | lab(57.86, -7.94, 50.54) |
| CIE-LCH | lch(57.86, 51.16, 98.93°) |
| OKLab | oklab(63.4% -0.0268 0.1127) |
| OKLCH | oklch(63.4% 0.116 103.4) |
| XYZ | xyz(22.7429, 25.8118, 6.1666) |
| Luminance | 0.2581 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 6.34
Baby Poo
#AB9004
ΔE00 6.38
Baby Poop Green
#8F9805
ΔE00 6.39
Diarrhea
#9F8303
ΔE00 6.45
Olive
#808000
ΔE00 6.47
Dark Khaki
#9B8F55
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978D2C #2C3697
analogous
#97582C #978D2C #6B972C
triadic
#978D2C #2C978D #8D2C97
tetradic
#978D2C #2C9758 #2C3697 #972C6B
square
#978D2C #2C9758 #2C3697 #972C6B
split-complementary
#978D2C #2C6B97 #582C97
monochromatic
#383410 #68611E #978D2C #C6B93A #D4CA6A
Accessibility & contrast
On white
3.41
#978D2C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.16
#978D2C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978D2C
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978D2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978D2C | 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)
#9A881D
Deuteranopia (green-blind)
#9D8D32
Tritanopia (blue-blind)
#A2837A
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #978d2c; /* rgb */ color: rgb(151, 141, 44); /* oklch */ color: oklch(63.4% 0.116 103.4);
Tailwind
colors: {
custom: {
50: '#b9ae6b',
500: '#978d2c',
950: '#000000',
},
}SCSS
$custom: #978d2c; $custom-light: #b9ae6b; $custom-dark: #000000;
JSON
{
"hex": "#978d2c",
"rgb": {
"r": 151,
"g": 141,
"b": 44
},
"hsl": {
"h": 54.393,
"s": 54.872,
"l": 38.235
},
"oklch": {
"l": 0.63399,
"c": 0.11586,
"h": 103.4
},
"luminance": 0.25811
}Semantic roles & 50–950 ramp
primary
#978D2C
secondary
#656DBA
accent
#57DE4A
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A