#978E1E#978E1E
#978E1E is a light, vivid yellow. Relative luminance 0.260; OKLCH L 63.5% C 0.125 H 104.6°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #978E1E |
|---|---|
| RGB | rgb(151, 142, 30) |
| HSL | hsl(56, 67%, 35%) |
| HSV | hsv(56, 80%, 59%) |
| CMYK | cmyk(0%, 6%, 80.1%, 40.8%) |
| CIE-LAB | lab(58.06, -9.12, 55.80) |
| CIE-LCH | lch(58.06, 56.54, 99.29°) |
| OKLab | oklab(63.53% -0.0315 0.1212) |
| OKLCH | oklch(63.53% 0.125 104.6) |
| XYZ | xyz(22.6709, 26.0200, 5.0562) |
| Luminance | 0.2602 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 5.30
Baby Poop Green
#8F9805
ΔE00 5.45
Baby Poo
#AB9004
ΔE00 5.91
Olive
#808000
ΔE00 6.27
Baby Shit Brown
#AD900D
ΔE00 6.40
Diarrhea
#9F8303
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978E1E #1E2797
analogous
#97511E #978E1E #63971E
triadic
#978E1E #1E978E #8E1E97
tetradic
#978E1E #1E9751 #1E2797 #971E63
square
#978E1E #1E9751 #1E2797 #971E63
split-complementary
#978E1E #1E6397 #511E97
monochromatic
#312E0A #645E14 #978E1E #CABE28 #DDD253
Accessibility & contrast
On white
3.39
#978E1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.20
#978E1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978E1E
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978E1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978E1E | 1.00 | 3.39 | 6.20 | 6.20 |
| #FFFFFF | 3.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8900
Deuteranopia (green-blind)
#9E8E27
Tritanopia (blue-blind)
#A38479
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #978e1e; /* rgb */ color: rgb(151, 142, 30); /* oklch */ color: oklch(63.5% 0.125 104.6);
Tailwind
colors: {
custom: {
50: '#b9ae65',
500: '#978e1e',
950: '#000000',
},
}SCSS
$custom: #978e1e; $custom-light: #b9ae65; $custom-dark: #000000;
JSON
{
"hex": "#978e1e",
"rgb": {
"r": 151,
"g": 142,
"b": 30
},
"hsl": {
"h": 55.537,
"s": 66.851,
"l": 35.49
},
"oklch": {
"l": 0.6353,
"c": 0.1252,
"h": 104.6
},
"luminance": 0.26019
}Semantic roles & 50–950 ramp
primary
#978E1E
secondary
#5159C0
accent
#4BEA3E
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A