#978029#978029
#978029 is a mid, moderate yellow. Relative luminance 0.222; OKLCH L 60.5% C 0.107 H 93.9°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #978029 |
|---|---|
| RGB | rgb(151, 128, 41) |
| HSL | hsl(47, 57%, 38%) |
| HSV | hsv(47, 73%, 59%) |
| CMYK | cmyk(0%, 15.2%, 72.8%, 40.8%) |
| CIE-LAB | lab(54.22, -0.95, 48.14) |
| CIE-LCH | lch(54.22, 48.15, 91.13°) |
| OKLab | oklab(60.51% -0.0072 0.1071) |
| OKLCH | oklch(60.51% 0.107 93.9) |
| XYZ | xyz(20.8830, 22.1789, 5.2784) |
| Luminance | 0.2218 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.36
Hazel
#8E7618
ΔE00 3.85
Diarrhea
#9F8303
ΔE00 3.85
Puke Brown
#947706
ΔE00 4.08
Yellowish Brown
#9B7A01
ΔE00 4.21
Poo
#8F7303
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978029 #294097
analogous
#974929 #978029 #779729
triadic
#978029 #299780 #802997
tetradic
#978029 #299749 #294097 #972977
square
#978029 #299749 #294097 #972977
split-complementary
#978029 #297797 #492997
monochromatic
#372E0F #67571C #978029 #C7A936 #D5BE65
Accessibility & contrast
On white
3.86
#978029 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.44
#978029 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978029
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978029 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978029 | 1.00 | 3.86 | 5.44 | 5.44 |
| #FFFFFF | 3.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7E1C
Deuteranopia (green-blind)
#94852E
Tritanopia (blue-blind)
#A3766F
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #978029; /* rgb */ color: rgb(151, 128, 41); /* oklch */ color: oklch(60.5% 0.107 93.9);
Tailwind
colors: {
custom: {
50: '#b9a468',
500: '#978029',
950: '#000000',
},
}SCSS
$custom: #978029; $custom-light: #b9a468; $custom-dark: #000000;
JSON
{
"hex": "#978029",
"rgb": {
"r": 151,
"g": 128,
"b": 41
},
"hsl": {
"h": 47.455,
"s": 57.292,
"l": 37.647
},
"oklch": {
"l": 0.60505,
"c": 0.10733,
"h": 93.9
},
"luminance": 0.22178
}Semantic roles & 50–950 ramp
primary
#978029
secondary
#6174BB
accent
#67E147
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A