#978E24#978E24
#978E24 is a light, vivid yellow. Relative luminance 0.261; OKLCH L 63.6% C 0.122 H 104.4°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #978E24 |
|---|---|
| RGB | rgb(151, 142, 36) |
| HSL | hsl(55, 61%, 37%) |
| HSV | hsv(55, 76%, 59%) |
| CMYK | cmyk(0%, 6%, 76.2%, 40.8%) |
| CIE-LAB | lab(58.09, -8.88, 53.81) |
| CIE-LCH | lch(58.09, 54.54, 99.37°) |
| OKLab | oklab(63.57% -0.0302 0.1181) |
| OKLCH | oklch(63.57% 0.122 104.4) |
| XYZ | xyz(22.7549, 26.0536, 5.4990) |
| Luminance | 0.2605 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 5.51
Baby Poop Green
#8F9805
ΔE00 5.62
Baby Poo
#AB9004
ΔE00 6.11
Olive
#808000
ΔE00 6.34
Diarrhea
#9F8303
ΔE00 6.55
Baby Shit Brown
#AD900D
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978E24 #242D97
analogous
#975524 #978E24 #679724
triadic
#978E24 #24978E #8E2497
tetradic
#978E24 #249755 #242D97 #972467
square
#978E24 #249755 #242D97 #972467
split-complementary
#978E24 #246797 #552497
monochromatic
#34310C #666018 #978E24 #C8BC30 #D8CF5D
Accessibility & contrast
On white
3.38
#978E24 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.21
#978E24 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978E24
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978E24 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978E24 | 1.00 | 3.38 | 6.21 | 6.21 |
| #FFFFFF | 3.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B890E
Deuteranopia (green-blind)
#9E8E2C
Tritanopia (blue-blind)
#A3847A
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #978e24; /* rgb */ color: rgb(151, 142, 36); /* oklch */ color: oklch(63.6% 0.122 104.4);
Tailwind
colors: {
custom: {
50: '#b9ae67',
500: '#978e24',
950: '#000000',
},
}SCSS
$custom: #978e24; $custom-light: #b9ae67; $custom-dark: #000000;
JSON
{
"hex": "#978e24",
"rgb": {
"r": 151,
"g": 142,
"b": 36
},
"hsl": {
"h": 55.304,
"s": 61.497,
"l": 36.667
},
"oklch": {
"l": 0.63565,
"c": 0.12194,
"h": 104.4
},
"luminance": 0.26053
}Semantic roles & 50–950 ramp
primary
#978E24
secondary
#5A61BD
accent
#50E543
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A