#978D1E#978D1E
#978D1E is a light, vivid yellow. Relative luminance 0.257; OKLCH L 63.3% C 0.124 H 104.0°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #978D1E |
|---|---|
| RGB | rgb(151, 141, 30) |
| HSL | hsl(55, 67%, 35%) |
| HSV | hsv(55, 80%, 59%) |
| CMYK | cmyk(0%, 6.6%, 80.1%, 40.8%) |
| CIE-LAB | lab(57.77, -8.58, 55.54) |
| CIE-LCH | lch(57.77, 56.20, 98.79°) |
| OKLab | oklab(63.31% -0.03 0.1206) |
| OKLCH | oklch(63.31% 0.124 104) |
| XYZ | xyz(22.5227, 25.7238, 5.0069) |
| Luminance | 0.2572 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 5.70
Baby Poo
#AB9004
ΔE00 5.76
Baby Poop Green
#8F9805
ΔE00 5.84
Diarrhea
#9F8303
ΔE00 6.07
Olive
#808000
ΔE00 6.16
Baby Shit Brown
#AD900D
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978D1E #1E2897
analogous
#97501E #978D1E #65971E
triadic
#978D1E #1E978D #8D1E97
tetradic
#978D1E #1E9750 #1E2897 #971E65
square
#978D1E #1E9750 #1E2897 #971E65
split-complementary
#978D1E #1E6597 #501E97
monochromatic
#312E0A #645D14 #978D1E #CABD28 #DDD153
Accessibility & contrast
On white
3.42
#978D1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.14
#978D1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978D1E
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978D1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978D1E | 1.00 | 3.42 | 6.14 | 6.14 |
| #FFFFFF | 3.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#9E8D27
Tritanopia (blue-blind)
#A38379
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #978d1e; /* rgb */ color: rgb(151, 141, 30); /* oklch */ color: oklch(63.3% 0.124 104.0);
Tailwind
colors: {
custom: {
50: '#b9ae64',
500: '#978d1e',
950: '#000000',
},
}SCSS
$custom: #978d1e; $custom-light: #b9ae64; $custom-dark: #000000;
JSON
{
"hex": "#978d1e",
"rgb": {
"r": 151,
"g": 141,
"b": 30
},
"hsl": {
"h": 55.041,
"s": 66.851,
"l": 35.49
},
"oklch": {
"l": 0.63305,
"c": 0.12431,
"h": 104
},
"luminance": 0.25723
}Semantic roles & 50–950 ramp
primary
#978D1E
secondary
#515AC0
accent
#4CEA3E
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A