#977E23#977E23
#977E23 is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 60.0% C 0.110 H 92.9°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #977E23 |
|---|---|
| RGB | rgb(151, 126, 35) |
| HSL | hsl(47, 62%, 36%) |
| HSV | hsv(47, 77%, 59%) |
| CMYK | cmyk(0%, 16.6%, 76.8%, 40.8%) |
| CIE-LAB | lab(53.63, -0.12, 49.97) |
| CIE-LCH | lch(53.63, 49.97, 90.14°) |
| OKLab | oklab(60.02% -0.0056 0.1098) |
| OKLCH | oklch(60.02% 0.11 92.9) |
| XYZ | xyz(20.5279, 21.6236, 4.6823) |
| Luminance | 0.2162 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.77
Puke Brown
#947706
ΔE00 3.11
Hazel
#8E7618
ΔE00 3.17
Yellowish Brown
#9B7A01
ΔE00 3.27
Diarrhea
#9F8303
ΔE00 3.55
Poo
#8F7303
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#977E23 #233C97
analogous
#974423 #977E23 #769723
triadic
#977E23 #23977E #7E2397
tetradic
#977E23 #239744 #233C97 #972376
square
#977E23 #239744 #233C97 #972376
split-complementary
#977E23 #237697 #442397
monochromatic
#342B0C #655517 #977E23 #C9A72F #D9BE5B
Accessibility & contrast
On white
3.94
#977E23 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.32
#977E23 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #977E23
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##977E23 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##977E23 | 1.00 | 3.94 | 5.32 | 5.32 |
| #FFFFFF | 3.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7C13
Deuteranopia (green-blind)
#928328
Tritanopia (blue-blind)
#A4736C
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #977e23; /* rgb */ color: rgb(151, 126, 35); /* oklch */ color: oklch(60.0% 0.110 92.9);
Tailwind
colors: {
custom: {
50: '#b9a365',
500: '#977e23',
950: '#000000',
},
}SCSS
$custom: #977e23; $custom-light: #b9a365; $custom-dark: #000000;
JSON
{
"hex": "#977e23",
"rgb": {
"r": 151,
"g": 126,
"b": 35
},
"hsl": {
"h": 47.069,
"s": 62.366,
"l": 36.471
},
"oklch": {
"l": 0.60025,
"c": 0.10991,
"h": 92.9
},
"luminance": 0.21622
}Semantic roles & 50–950 ramp
primary
#977E23
secondary
#586EBE
accent
#66E542
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120F06
muted
#817E7A