#8E771E#8E771E
#8E771E is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.5% C 0.107 H 93.7°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #8E771E |
|---|---|
| RGB | rgb(142, 119, 30) |
| HSL | hsl(48, 65%, 34%) |
| HSV | hsv(48, 79%, 56%) |
| CMYK | cmyk(0%, 16.2%, 78.9%, 44.3%) |
| CIE-LAB | lab(50.73, -0.58, 48.82) |
| CIE-LCH | lch(50.73, 48.82, 90.68°) |
| OKLab | oklab(57.52% -0.0069 0.1067) |
| OKLCH | oklch(57.52% 0.107 93.7) |
| XYZ | xyz(17.9875, 19.0392, 3.9556) |
| Luminance | 0.1904 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 0.68
Poo
#8F7303
ΔE00 2.56
Puke Brown
#947706
ΔE00 2.61
Baby Poop
#937C00
ΔE00 3.31
Yellowish Brown
#9B7A01
ΔE00 4.21
Ugly Brown
#7D7103
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E771E #1E358E
analogous
#8E3F1E #8E771E #6D8E1E
triadic
#8E771E #1E8E77 #771E8E
tetradic
#8E771E #1E8E3F #1E358E #8E1E6D
square
#8E771E #1E8E3F #1E358E #8E1E6D
split-complementary
#8E771E #1E6D8E #3F1E8E
monochromatic
#292209 #5B4D13 #8E771E #C1A129 #D9BD4D
Accessibility & contrast
On white
4.37
#8E771E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.81
#8E771E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E771E
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E771E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E771E | 1.00 | 4.37 | 4.81 | 4.81 |
| #FFFFFF | 4.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#85750C
Deuteranopia (green-blind)
#8A7C24
Tritanopia (blue-blind)
#9A6D66
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #8e771e; /* rgb */ color: rgb(142, 119, 30); /* oklch */ color: oklch(57.5% 0.107 93.7);
Tailwind
colors: {
custom: {
50: '#b39d61',
500: '#8e771e',
950: '#000000',
},
}SCSS
$custom: #8e771e; $custom-light: #b39d61; $custom-dark: #000000;
JSON
{
"hex": "#8e771e",
"rgb": {
"r": 142,
"g": 119,
"b": 30
},
"hsl": {
"h": 47.679,
"s": 65.116,
"l": 33.725
},
"oklch": {
"l": 0.57515,
"c": 0.10688,
"h": 93.7
},
"luminance": 0.19038
}Semantic roles & 50–950 ramp
primary
#8E771E
secondary
#4C63BC
accent
#62E840
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A