#977E1B#977E1B
#977E1B is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 60.0% C 0.114 H 93.7°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #977E1B |
|---|---|
| RGB | rgb(151, 126, 27) |
| HSL | hsl(48, 70%, 35%) |
| HSV | hsv(48, 82%, 59%) |
| CMYK | cmyk(0%, 16.6%, 82.1%, 40.8%) |
| CIE-LAB | lab(53.58, -0.44, 52.78) |
| CIE-LCH | lch(53.58, 52.79, 90.48°) |
| OKLab | oklab(59.98% -0.0073 0.1141) |
| OKLCH | oklch(59.98% 0.114 93.7) |
| XYZ | xyz(20.4224, 21.5814, 4.1267) |
| Luminance | 0.2158 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 1.99
Puke Brown
#947706
ΔE00 2.79
Yellowish Brown
#9B7A01
ΔE00 2.87
Diarrhea
#9F8303
ΔE00 2.93
Hazel
#8E7618
ΔE00 3.19
Poo
#8F7303
ΔE00 4.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#977E1B #1B3497
analogous
#97401B #977E1B #72971B
triadic
#977E1B #1B977E #7E1B97
tetradic
#977E1B #1B9740 #1B3497 #971B72
square
#977E1B #1B9740 #1B3497 #971B72
split-complementary
#977E1B #1B7297 #401B97
monochromatic
#2F2708 #635312 #977E1B #CBA924 #DFC24D
Accessibility & contrast
On white
3.95
#977E1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.32
#977E1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #977E1B
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##977E1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##977E1B | 1.00 | 3.95 | 5.32 | 5.32 |
| #FFFFFF | 3.95 | 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)
#8D7C01
Deuteranopia (green-blind)
#938322
Tritanopia (blue-blind)
#A4736C
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #977e1b; /* rgb */ color: rgb(151, 126, 27); /* oklch */ color: oklch(60.0% 0.114 93.7);
Tailwind
colors: {
custom: {
50: '#baa361',
500: '#977e1b',
950: '#000000',
},
}SCSS
$custom: #977e1b; $custom-light: #baa361; $custom-dark: #000000;
JSON
{
"hex": "#977e1b",
"rgb": {
"r": 151,
"g": 126,
"b": 27
},
"hsl": {
"h": 47.903,
"s": 69.663,
"l": 34.902
},
"oklch": {
"l": 0.59975,
"c": 0.1143,
"h": 93.7
},
"luminance": 0.2158
}Semantic roles & 50–950 ramp
primary
#977E1B
secondary
#4C64C1
accent
#5FEC3B
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120F05
muted
#817E7A