#978020#978020
#978020 is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 60.4% C 0.113 H 94.8°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #978020 |
|---|---|
| RGB | rgb(151, 128, 32) |
| HSL | hsl(48, 65%, 36%) |
| HSV | hsv(48, 79%, 59%) |
| CMYK | cmyk(0%, 15.2%, 78.8%, 40.8%) |
| CIE-LAB | lab(54.16, -1.37, 51.59) |
| CIE-LCH | lch(54.16, 51.61, 91.52°) |
| OKLab | oklab(60.44% -0.0094 0.1126) |
| OKLCH | oklch(60.44% 0.113 94.8) |
| XYZ | xyz(20.7435, 22.1231, 4.5438) |
| Luminance | 0.2212 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.43
Diarrhea
#9F8303
ΔE00 3.01
Puke Brown
#947706
ΔE00 3.67
Yellowish Brown
#9B7A01
ΔE00 3.73
Hazel
#8E7618
ΔE00 3.77
Poo
#8F7303
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978020 #203797
analogous
#974420 #978020 #729720
triadic
#978020 #209780 #802097
tetradic
#978020 #209744 #203797 #972072
square
#978020 #209744 #203797 #972072
split-complementary
#978020 #207297 #442097
monochromatic
#322A0B #645515 #978020 #C9AB2B #DBC256
Accessibility & contrast
On white
3.87
#978020 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.42
#978020 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978020
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978020 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978020 | 1.00 | 3.87 | 5.42 | 5.42 |
| #FFFFFF | 3.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7D0C
Deuteranopia (green-blind)
#948426
Tritanopia (blue-blind)
#A4756E
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #978020; /* rgb */ color: rgb(151, 128, 32); /* oklch */ color: oklch(60.4% 0.113 94.8);
Tailwind
colors: {
custom: {
50: '#b9a464',
500: '#978020',
950: '#000000',
},
}SCSS
$custom: #978020; $custom-light: #b9a464; $custom-dark: #000000;
JSON
{
"hex": "#978020",
"rgb": {
"r": 151,
"g": 128,
"b": 32
},
"hsl": {
"h": 48.403,
"s": 65.027,
"l": 35.882
},
"oklch": {
"l": 0.6044,
"c": 0.11297,
"h": 94.8
},
"luminance": 0.22122
}Semantic roles & 50–950 ramp
primary
#978020
secondary
#5469BF
accent
#60E840
background
#FBFAF6
surface
#F7F3EB
border
#D0CDC6
text
#120F06
muted
#817F7A