#977A22#977A22
#977A22 is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 59.2% C 0.108 H 89.7°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #977A22 |
|---|---|
| RGB | rgb(151, 122, 34) |
| HSL | hsl(45, 63%, 36%) |
| HSV | hsv(45, 77%, 59%) |
| CMYK | cmyk(0%, 19.2%, 77.5%, 40.8%) |
| CIE-LAB | lab(52.53, 2.08, 49.32) |
| CIE-LCH | lch(52.53, 49.36, 87.58°) |
| OKLab | oklab(59.16% 0.0006 0.1082) |
| OKLCH | oklch(59.16% 0.108 89.7) |
| XYZ | xyz(20.0119, 20.6152, 4.4381) |
| Luminance | 0.2061 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Brown
#947706
ΔE00 2.37
Hazel
#8E7618
ΔE00 2.67
Yellowish Brown
#9B7A01
ΔE00 2.70
Poo
#8F7303
ΔE00 3.41
Baby Poop
#937C00
ΔE00 3.65
Diarrhea
#9F8303
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#977A22 #223F97
analogous
#974022 #977A22 #7A9722
triadic
#977A22 #22977A #7A2297
tetradic
#977A22 #229740 #223F97 #97227A
square
#977A22 #229740 #223F97 #97227A
split-complementary
#977A22 #227A97 #402297
monochromatic
#33290C #655217 #977A22 #C9A22D #DABA5A
Accessibility & contrast
On white
4.10
#977A22 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.12
#977A22 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #977A22
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##977A22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##977A22 | 1.00 | 4.10 | 5.12 | 5.12 |
| #FFFFFF | 4.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897912
Deuteranopia (green-blind)
#908127
Tritanopia (blue-blind)
#A46F69
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #977a22; /* rgb */ color: rgb(151, 122, 34); /* oklch */ color: oklch(59.2% 0.108 89.7);
Tailwind
colors: {
custom: {
50: '#baa064',
500: '#977a22',
950: '#000000',
},
}SCSS
$custom: #977a22; $custom-light: #baa064; $custom-dark: #000000;
JSON
{
"hex": "#977a22",
"rgb": {
"r": 151,
"g": 122,
"b": 34
},
"hsl": {
"h": 45.128,
"s": 63.243,
"l": 36.275
},
"oklch": {
"l": 0.59155,
"c": 0.10816,
"h": 89.7
},
"luminance": 0.20614
}Semantic roles & 50–950 ramp
primary
#977A22
secondary
#5770BE
accent
#6AE642
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E06
muted
#817E7A