#978929#978929
#978929 is a light, moderate yellow. Relative luminance 0.246; OKLCH L 62.5% C 0.114 H 100.8°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #978929 |
|---|---|
| RGB | rgb(151, 137, 41) |
| HSL | hsl(52, 57%, 38%) |
| HSV | hsv(52, 73%, 59%) |
| CMYK | cmyk(0%, 9.3%, 72.8%, 40.8%) |
| CIE-LAB | lab(56.71, -5.92, 50.61) |
| CIE-LCH | lch(56.71, 50.95, 96.67°) |
| OKLab | oklab(62.48% -0.0214 0.1123) |
| OKLCH | oklch(62.48% 0.114 100.8) |
| XYZ | xyz(22.1094, 24.6317, 5.6872) |
| Luminance | 0.2463 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 5.04
Baby Poop
#937C00
ΔE00 5.41
Dark Mustard
#A88905
ΔE00 5.87
Baby Poo
#AB9004
ΔE00 5.97
Baby Shit Brown
#AD900D
ΔE00 6.25
Olive
#808000
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978929 #293797
analogous
#975229 #978929 #6E9729
triadic
#978929 #299789 #892997
tetradic
#978929 #299752 #293797 #97296E
square
#978929 #299752 #293797 #97296E
split-complementary
#978929 #296E97 #522997
monochromatic
#37320F #675D1C #978929 #C7B536 #D5C765
Accessibility & contrast
On white
3.54
#978929 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.93
#978929 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978929
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978929 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978929 | 1.00 | 3.54 | 5.93 | 5.93 |
| #FFFFFF | 3.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#96851A
Deuteranopia (green-blind)
#9A8A2F
Tritanopia (blue-blind)
#A37F76
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #978929; /* rgb */ color: rgb(151, 137, 41); /* oklch */ color: oklch(62.5% 0.114 100.8);
Tailwind
colors: {
custom: {
50: '#b9ab69',
500: '#978929',
950: '#000000',
},
}SCSS
$custom: #978929; $custom-light: #b9ab69; $custom-dark: #000000;
JSON
{
"hex": "#978929",
"rgb": {
"r": 151,
"g": 137,
"b": 41
},
"hsl": {
"h": 52.364,
"s": 57.292,
"l": 37.647
},
"oklch": {
"l": 0.62484,
"c": 0.11434,
"h": 100.8
},
"luminance": 0.24631
}Semantic roles & 50–950 ramp
primary
#978929
secondary
#616CBB
accent
#5BE147
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A