#978E1A#978E1A
#978E1A is a light, vivid yellow. Relative luminance 0.260; OKLCH L 63.5% C 0.127 H 104.7°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #978E1A |
|---|---|
| RGB | rgb(151, 142, 26) |
| HSL | hsl(56, 71%, 35%) |
| HSV | hsv(56, 83%, 59%) |
| CMYK | cmyk(0%, 6%, 82.8%, 40.8%) |
| CIE-LAB | lab(58.04, -9.26, 56.98) |
| CIE-LCH | lch(58.04, 57.73, 99.23°) |
| OKLab | oklab(63.51% -0.0322 0.1229) |
| OKLCH | oklch(63.51% 0.127 104.7) |
| XYZ | xyz(22.6230, 26.0008, 4.8041) |
| Luminance | 0.2600 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 5.20
Baby Poop Green
#8F9805
ΔE00 5.37
Baby Poo
#AB9004
ΔE00 5.81
Olive
#808000
ΔE00 6.26
Baby Shit Brown
#AD900D
ΔE00 6.33
Diarrhea
#9F8303
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978E1A #1A2397
analogous
#97501A #978E1A #62971A
triadic
#978E1A #1A978E #8E1A97
tetradic
#978E1A #1A9750 #1A2397 #971A62
square
#978E1A #1A9750 #1A2397 #971A62
split-complementary
#978E1A #1A6297 #501A97
monochromatic
#2F2C08 #635D11 #978E1A #CBBF23 #E0D54B
Accessibility & contrast
On white
3.39
#978E1A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.20
#978E1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978E1A
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978E1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978E1A | 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)
#9E8E24
Tritanopia (blue-blind)
#A38479
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #978e1a; /* rgb */ color: rgb(151, 142, 26); /* oklch */ color: oklch(63.5% 0.127 104.7);
Tailwind
colors: {
custom: {
50: '#b9ae63',
500: '#978e1a',
950: '#000000',
},
}SCSS
$custom: #978e1a; $custom-light: #b9ae63; $custom-dark: #000000;
JSON
{
"hex": "#978e1a",
"rgb": {
"r": 151,
"g": 142,
"b": 26
},
"hsl": {
"h": 55.68,
"s": 70.621,
"l": 34.706
},
"oklch": {
"l": 0.63509,
"c": 0.12709,
"h": 104.7
},
"luminance": 0.26
}Semantic roles & 50–950 ramp
primary
#978E1A
secondary
#4B53C2
accent
#47ED3A
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A