#977C23#977C23
#977C23 is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.6% C 0.109 H 91.2°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #977C23 |
|---|---|
| RGB | rgb(151, 124, 35) |
| HSL | hsl(46, 62%, 36%) |
| HSV | hsv(46, 77%, 59%) |
| CMYK | cmyk(0%, 17.9%, 76.8%, 40.8%) |
| CIE-LAB | lab(53.08, 1.00, 49.45) |
| CIE-LCH | lch(53.08, 49.46, 88.84°) |
| OKLab | oklab(59.59% -0.0023 0.1087) |
| OKLCH | oklch(59.59% 0.109 91.2) |
| XYZ | xyz(20.2747, 21.1172, 4.5979) |
| Luminance | 0.2112 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Brown
#947706
ΔE00 2.64
Hazel
#8E7618
ΔE00 2.79
Yellowish Brown
#9B7A01
ΔE00 2.89
Baby Poop
#937C00
ΔE00 3.15
Poo
#8F7303
ΔE00 3.83
Diarrhea
#9F8303
ΔE00 4.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#977C23 #233E97
analogous
#974223 #977C23 #789723
triadic
#977C23 #23977C #7C2397
tetradic
#977C23 #239742 #233E97 #972378
square
#977C23 #239742 #233E97 #972378
split-complementary
#977C23 #237897 #422397
monochromatic
#342A0C #655317 #977C23 #C9A52F #D9BC5B
Accessibility & contrast
On white
4.02
#977C23 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.22
#977C23 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #977C23
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##977C23 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##977C23 | 1.00 | 4.02 | 5.22 | 5.22 |
| #FFFFFF | 4.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7A14
Deuteranopia (green-blind)
#918228
Tritanopia (blue-blind)
#A4716B
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #977c23; /* rgb */ color: rgb(151, 124, 35); /* oklch */ color: oklch(59.6% 0.109 91.2);
Tailwind
colors: {
custom: {
50: '#b9a165',
500: '#977c23',
950: '#000000',
},
}SCSS
$custom: #977c23; $custom-light: #b9a165; $custom-dark: #000000;
JSON
{
"hex": "#977c23",
"rgb": {
"r": 151,
"g": 124,
"b": 35
},
"hsl": {
"h": 46.034,
"s": 62.366,
"l": 36.471
},
"oklch": {
"l": 0.59593,
"c": 0.10869,
"h": 91.2
},
"luminance": 0.21116
}Semantic roles & 50–950 ramp
primary
#977C23
secondary
#5870BE
accent
#68E542
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E06
muted
#817E7A