#978C29#978C29
#978C29 is a light, moderate yellow. Relative luminance 0.255; OKLCH L 63.2% C 0.117 H 102.9°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #978C29 |
|---|---|
| RGB | rgb(151, 140, 41) |
| HSL | hsl(54, 57%, 38%) |
| HSV | hsv(54, 73%, 59%) |
| CMYK | cmyk(0%, 7.3%, 72.8%, 40.8%) |
| CIE-LAB | lab(57.56, -7.56, 51.43) |
| CIE-LCH | lch(57.56, 51.99, 98.36°) |
| OKLab | oklab(63.15% -0.026 0.1141) |
| OKLCH | oklch(63.15% 0.117 102.9) |
| XYZ | xyz(22.5418, 25.4965, 5.8313) |
| Luminance | 0.2550 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 6.00
Baby Poo
#AB9004
ΔE00 6.11
Olive
#808000
ΔE00 6.30
Baby Shit Brown
#AD900D
ΔE00 6.47
Baby Poop
#937C00
ΔE00 6.50
Dark Mustard
#A88905
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978C29 #293497
analogous
#975529 #978C29 #6B9729
triadic
#978C29 #29978C #8C2997
tetradic
#978C29 #299755 #293497 #97296B
square
#978C29 #299755 #293497 #97296B
split-complementary
#978C29 #296B97 #552997
monochromatic
#37330F #675F1C #978C29 #C7B936 #D5CA65
Accessibility & contrast
On white
3.44
#978C29 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.10
#978C29 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978C29
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978C29 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978C29 | 1.00 | 3.44 | 6.10 | 6.10 |
| #FFFFFF | 3.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#998719
Deuteranopia (green-blind)
#9C8C30
Tritanopia (blue-blind)
#A38279
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #978c29; /* rgb */ color: rgb(151, 140, 41); /* oklch */ color: oklch(63.2% 0.117 102.9);
Tailwind
colors: {
custom: {
50: '#b9ad6a',
500: '#978c29',
950: '#000000',
},
}SCSS
$custom: #978c29; $custom-light: #b9ad6a; $custom-dark: #000000;
JSON
{
"hex": "#978c29",
"rgb": {
"r": 151,
"g": 140,
"b": 41
},
"hsl": {
"h": 54,
"s": 57.292,
"l": 37.647
},
"oklch": {
"l": 0.63152,
"c": 0.11699,
"h": 102.9
},
"luminance": 0.25496
}Semantic roles & 50–950 ramp
primary
#978C29
secondary
#616ABB
accent
#57E147
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A