#8D771E#8D771E
#8D771E is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.4% C 0.107 H 94.4°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #8D771E |
|---|---|
| RGB | rgb(141, 119, 30) |
| HSL | hsl(48, 65%, 34%) |
| HSV | hsv(48, 79%, 55%) |
| CMYK | cmyk(0%, 15.6%, 78.7%, 44.7%) |
| CIE-LAB | lab(50.63, -1.04, 48.69) |
| CIE-LCH | lch(50.63, 48.70, 91.23°) |
| OKLab | oklab(57.41% -0.0082 0.1064) |
| OKLCH | oklch(57.41% 0.107 94.4) |
| XYZ | xyz(17.8167, 18.9511, 3.9475) |
| Luminance | 0.1895 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 0.85
Poo
#8F7303
ΔE00 2.74
Puke Brown
#947706
ΔE00 2.86
Baby Poop
#937C00
ΔE00 3.34
Yellowish Brown
#9B7A01
ΔE00 4.48
Ugly Brown
#7D7103
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D771E #1E348D
analogous
#8D3F1E #8D771E #6B8D1E
triadic
#8D771E #1E8D77 #771E8D
tetradic
#8D771E #1E8D3F #1E348D #8D1E6B
square
#8D771E #1E8D3F #1E348D #8D1E6B
split-complementary
#8D771E #1E6B8D #3F1E8D
monochromatic
#282209 #5B4C13 #8D771E #BFA229 #D9BD4C
Accessibility & contrast
On white
4.38
#8D771E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.79
#8D771E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D771E
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D771E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D771E | 1.00 | 4.38 | 4.79 | 4.79 |
| #FFFFFF | 4.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#84750C
Deuteranopia (green-blind)
#8A7B24
Tritanopia (blue-blind)
#996D66
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #8d771e; /* rgb */ color: rgb(141, 119, 30); /* oklch */ color: oklch(57.4% 0.107 94.4);
Tailwind
colors: {
custom: {
50: '#b29d61',
500: '#8d771e',
950: '#000000',
},
}SCSS
$custom: #8d771e; $custom-light: #b29d61; $custom-dark: #000000;
JSON
{
"hex": "#8d771e",
"rgb": {
"r": 141,
"g": 119,
"b": 30
},
"hsl": {
"h": 48.108,
"s": 64.912,
"l": 33.529
},
"oklch": {
"l": 0.5741,
"c": 0.10674,
"h": 94.4
},
"luminance": 0.1895
}Semantic roles & 50–950 ramp
primary
#8D771E
secondary
#4B61BC
accent
#61E840
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A