#978D24#978D24
#978D24 is a light, vivid yellow. Relative luminance 0.258; OKLCH L 63.3% C 0.121 H 103.7°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #978D24 |
|---|---|
| RGB | rgb(151, 141, 36) |
| HSL | hsl(55, 61%, 37%) |
| HSV | hsv(55, 76%, 59%) |
| CMYK | cmyk(0%, 6.6%, 76.2%, 40.8%) |
| CIE-LAB | lab(57.81, -8.34, 53.55) |
| CIE-LCH | lch(57.81, 54.19, 98.85°) |
| OKLab | oklab(63.34% -0.0287 0.1176) |
| OKLCH | oklch(63.34% 0.121 103.7) |
| XYZ | xyz(22.6068, 25.7574, 5.4496) |
| Luminance | 0.2576 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 5.91
Baby Poo
#AB9004
ΔE00 5.97
Baby Poop Green
#8F9805
ΔE00 6.01
Diarrhea
#9F8303
ΔE00 6.19
Olive
#808000
ΔE00 6.24
Baby Shit Brown
#AD900D
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978D24 #242E97
analogous
#975424 #978D24 #689724
triadic
#978D24 #24978D #8D2497
tetradic
#978D24 #249754 #242E97 #972468
square
#978D24 #249754 #242E97 #972468
split-complementary
#978D24 #246897 #542497
monochromatic
#34310C #665F18 #978D24 #C8BB30 #D8CE5D
Accessibility & contrast
On white
3.41
#978D24 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.15
#978D24 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978D24
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978D24 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978D24 | 1.00 | 3.41 | 6.15 | 6.15 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A880E
Deuteranopia (green-blind)
#9D8D2C
Tritanopia (blue-blind)
#A38379
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #978d24; /* rgb */ color: rgb(151, 141, 36); /* oklch */ color: oklch(63.3% 0.121 103.7);
Tailwind
colors: {
custom: {
50: '#b9ae67',
500: '#978d24',
950: '#000000',
},
}SCSS
$custom: #978d24; $custom-light: #b9ae67; $custom-dark: #000000;
JSON
{
"hex": "#978d24",
"rgb": {
"r": 151,
"g": 141,
"b": 36
},
"hsl": {
"h": 54.783,
"s": 61.497,
"l": 36.667
},
"oklch": {
"l": 0.63341,
"c": 0.12103,
"h": 103.7
},
"luminance": 0.25756
}Semantic roles & 50–950 ramp
primary
#978D24
secondary
#5A62BD
accent
#51E543
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A