#977E2F#977E2F
#977E2F is a mid, moderate yellow. Relative luminance 0.217; OKLCH L 60.1% C 0.102 H 91.3°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #977E2F |
|---|---|
| RGB | rgb(151, 126, 47) |
| HSL | hsl(46, 53%, 39%) |
| HSV | hsv(46, 69%, 59%) |
| CMYK | cmyk(0%, 16.6%, 68.9%, 40.8%) |
| CIE-LAB | lab(53.72, 0.51, 45.01) |
| CIE-LCH | lch(53.72, 45.01, 89.35°) |
| OKLab | oklab(60.12% -0.0023 0.1016) |
| OKLCH | oklch(60.12% 0.102 91.3) |
| XYZ | xyz(20.7375, 21.7074, 5.7864) |
| Luminance | 0.2171 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.75
Puke Brown
#947706
ΔE00 4.16
Baby Poop
#937C00
ΔE00 4.34
Yellowish Brown
#9B7A01
ΔE00 4.38
Diarrhea
#9F8303
ΔE00 4.92
Poo
#8F7303
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#977E2F #2F4897
analogous
#974A2F #977E2F #7C972F
triadic
#977E2F #2F977E #7E2F97
tetradic
#977E2F #2F974A #2F4897 #972F7C
square
#977E2F #2F974A #2F4897 #972F7C
split-complementary
#977E2F #2F7C97 #4A2F97
monochromatic
#3A3012 #685720 #977E2F #C3A440 #D2BA6E
Accessibility & contrast
On white
3.93
#977E2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.34
#977E2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #977E2F
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##977E2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##977E2F | 1.00 | 3.93 | 5.34 | 5.34 |
| #FFFFFF | 3.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7C25
Deuteranopia (green-blind)
#928333
Tritanopia (blue-blind)
#A3746D
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #977e2f; /* rgb */ color: rgb(151, 126, 47); /* oklch */ color: oklch(60.1% 0.102 91.3);
Tailwind
colors: {
custom: {
50: '#b9a36c',
500: '#977e2f',
950: '#000000',
},
}SCSS
$custom: #977e2f; $custom-light: #b9a36c; $custom-dark: #000000;
JSON
{
"hex": "#977e2f",
"rgb": {
"r": 151,
"g": 126,
"b": 47
},
"hsl": {
"h": 45.577,
"s": 52.525,
"l": 38.824
},
"oklch": {
"l": 0.60125,
"c": 0.10159,
"h": 91.3
},
"luminance": 0.21706
}Semantic roles & 50–950 ramp
primary
#977E2F
secondary
#687CB9
accent
#6EDC4C
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120F07
muted
#817E7A