#978C24#978C24
#978C24 is a light, vivid yellow. Relative luminance 0.255; OKLCH L 63.1% C 0.120 H 103.1°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #978C24 |
|---|---|
| RGB | rgb(151, 140, 36) |
| HSL | hsl(54, 61%, 37%) |
| HSV | hsv(54, 76%, 59%) |
| CMYK | cmyk(0%, 7.3%, 76.2%, 40.8%) |
| CIE-LAB | lab(57.52, -7.80, 53.28) |
| CIE-LCH | lch(57.52, 53.85, 98.32°) |
| OKLab | oklab(63.12% -0.0272 0.117) |
| OKLCH | oklch(63.12% 0.12 103.1) |
| XYZ | xyz(22.4600, 25.4638, 5.4007) |
| Luminance | 0.2546 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 5.83
Baby Poo
#AB9004
ΔE00 5.86
Olive
#808000
ΔE00 6.16
Baby Shit Brown
#AD900D
ΔE00 6.27
Pea Soup
#929901
ΔE00 6.31
Dark Mustard
#A88905
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978C24 #242F97
analogous
#975324 #978C24 #699724
triadic
#978C24 #24978C #8C2497
tetradic
#978C24 #249753 #242F97 #972469
square
#978C24 #249753 #242F97 #972469
split-complementary
#978C24 #246997 #532497
monochromatic
#34300C #665E18 #978C24 #C8BA30 #D8CD5D
Accessibility & contrast
On white
3.45
#978C24 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.09
#978C24 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978C24
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978C24 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978C24 | 1.00 | 3.45 | 6.09 | 6.09 |
| #FFFFFF | 3.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#99870F
Deuteranopia (green-blind)
#9D8C2C
Tritanopia (blue-blind)
#A38278
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #978c24; /* rgb */ color: rgb(151, 140, 36); /* oklch */ color: oklch(63.1% 0.120 103.1);
Tailwind
colors: {
custom: {
50: '#b9ad67',
500: '#978c24',
950: '#000000',
},
}SCSS
$custom: #978c24; $custom-light: #b9ad67; $custom-dark: #000000;
JSON
{
"hex": "#978c24",
"rgb": {
"r": 151,
"g": 140,
"b": 36
},
"hsl": {
"h": 54.261,
"s": 61.497,
"l": 36.667
},
"oklch": {
"l": 0.63117,
"c": 0.12013,
"h": 103.1
},
"luminance": 0.25463
}Semantic roles & 50–950 ramp
primary
#978C24
secondary
#5A63BD
accent
#53E543
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A