#977D1C#977D1C
#977D1C is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.8% C 0.113 H 92.8°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #977D1C |
|---|---|
| RGB | rgb(151, 125, 28) |
| HSL | hsl(47, 69%, 35%) |
| HSV | hsv(47, 81%, 59%) |
| CMYK | cmyk(0%, 17.2%, 81.5%, 40.8%) |
| CIE-LAB | lab(53.31, 0.16, 52.21) |
| CIE-LCH | lch(53.31, 52.21, 89.83°) |
| OKLab | oklab(59.76% -0.0055 0.1131) |
| OKLCH | oklch(59.76% 0.113 92.8) |
| XYZ | xyz(20.3069, 21.3316, 4.1462) |
| Luminance | 0.2133 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.21
Puke Brown
#947706
ΔE00 2.46
Yellowish Brown
#9B7A01
ΔE00 2.61
Hazel
#8E7618
ΔE00 2.91
Diarrhea
#9F8303
ΔE00 3.22
Poo
#8F7303
ΔE00 3.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#977D1C #1C3697
analogous
#973F1C #977D1C #73971C
triadic
#977D1C #1C977D #7D1C97
tetradic
#977D1C #1C973F #1C3697 #971C73
square
#977D1C #1C973F #1C3697 #971C73
split-complementary
#977D1C #1C7397 #3F1C97
monochromatic
#302809 #635212 #977D1C #CBA826 #DEC04F
Accessibility & contrast
On white
3.99
#977D1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.27
#977D1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #977D1C
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##977D1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##977D1C | 1.00 | 3.99 | 5.27 | 5.27 |
| #FFFFFF | 3.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7B04
Deuteranopia (green-blind)
#928323
Tritanopia (blue-blind)
#A4726B
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #977d1c; /* rgb */ color: rgb(151, 125, 28); /* oklch */ color: oklch(59.8% 0.113 92.8);
Tailwind
colors: {
custom: {
50: '#baa261',
500: '#977d1c',
950: '#000000',
},
}SCSS
$custom: #977d1c; $custom-light: #baa261; $custom-dark: #000000;
JSON
{
"hex": "#977d1c",
"rgb": {
"r": 151,
"g": 125,
"b": 28
},
"hsl": {
"h": 47.317,
"s": 68.715,
"l": 35.098
},
"oklch": {
"l": 0.59764,
"c": 0.11319,
"h": 92.8
},
"luminance": 0.2133
}Semantic roles & 50–950 ramp
primary
#977D1C
secondary
#4E66C1
accent
#61EC3C
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120F05
muted
#817E7A