#978B29#978B29
#978B29 is a light, moderate yellow. Relative luminance 0.252; OKLCH L 62.9% C 0.116 H 102.2°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #978B29 |
|---|---|
| RGB | rgb(151, 139, 41) |
| HSL | hsl(53, 57%, 38%) |
| HSV | hsv(53, 73%, 59%) |
| CMYK | cmyk(0%, 7.9%, 72.8%, 40.8%) |
| CIE-LAB | lab(57.28, -7.01, 51.16) |
| CIE-LCH | lch(57.28, 51.64, 97.81°) |
| OKLab | oklab(62.93% -0.0245 0.1135) |
| OKLCH | oklch(62.93% 0.116 102.2) |
| XYZ | xyz(22.3963, 25.2056, 5.7829) |
| Luminance | 0.2520 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 5.66
Baby Poo
#AB9004
ΔE00 6.03
Baby Poop
#937C00
ΔE00 6.13
Olive
#808000
ΔE00 6.26
Dark Mustard
#A88905
ΔE00 6.28
Baby Shit Brown
#AD900D
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978B29 #293597
analogous
#975429 #978B29 #6C9729
triadic
#978B29 #29978B #8B2997
tetradic
#978B29 #299754 #293597 #97296C
square
#978B29 #299754 #293597 #97296C
split-complementary
#978B29 #296C97 #542997
monochromatic
#37320F #675F1C #978B29 #C7B736 #D5C965
Accessibility & contrast
On white
3.48
#978B29 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.04
#978B29 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978B29
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978B29 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978B29 | 1.00 | 3.48 | 6.04 | 6.04 |
| #FFFFFF | 3.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#988719
Deuteranopia (green-blind)
#9C8C2F
Tritanopia (blue-blind)
#A38178
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #978b29; /* rgb */ color: rgb(151, 139, 41); /* oklch */ color: oklch(62.9% 0.116 102.2);
Tailwind
colors: {
custom: {
50: '#b9ac6a',
500: '#978b29',
950: '#000000',
},
}SCSS
$custom: #978b29; $custom-light: #b9ac6a; $custom-dark: #000000;
JSON
{
"hex": "#978b29",
"rgb": {
"r": 151,
"g": 139,
"b": 41
},
"hsl": {
"h": 53.455,
"s": 57.292,
"l": 37.647
},
"oklch": {
"l": 0.62929,
"c": 0.11609,
"h": 102.2
},
"luminance": 0.25205
}Semantic roles & 50–950 ramp
primary
#978B29
secondary
#616ABB
accent
#58E147
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A