#8E771F#8E771F
#8E771F is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.5% C 0.106 H 93.6°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #8E771F |
|---|---|
| RGB | rgb(142, 119, 31) |
| HSL | hsl(48, 64%, 34%) |
| HSV | hsv(48, 78%, 56%) |
| CMYK | cmyk(0%, 16.2%, 78.2%, 44.3%) |
| CIE-LAB | lab(50.74, -0.53, 48.45) |
| CIE-LCH | lch(50.74, 48.45, 90.63°) |
| OKLab | oklab(57.52% -0.0067 0.1061) |
| OKLCH | oklch(57.52% 0.106 93.6) |
| XYZ | xyz(18.0005, 19.0444, 4.0239) |
| Luminance | 0.1904 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 0.77
Poo
#8F7303
ΔE00 2.64
Puke Brown
#947706
ΔE00 2.69
Baby Poop
#937C00
ΔE00 3.40
Yellowish Brown
#9B7A01
ΔE00 4.26
Ugly Brown
#7D7103
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E771F #1F368E
analogous
#8E401F #8E771F #6E8E1F
triadic
#8E771F #1F8E77 #771F8E
tetradic
#8E771F #1F8E40 #1F368E #8E1F6E
square
#8E771F #1F8E40 #1F368E #8E1F6E
split-complementary
#8E771F #1F6E8E #401F8E
monochromatic
#2A2309 #5C4D14 #8E771F #C0A12A #D9BC4F
Accessibility & contrast
On white
4.37
#8E771F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.81
#8E771F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E771F
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E771F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E771F | 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)
#84750E
Deuteranopia (green-blind)
#8A7C24
Tritanopia (blue-blind)
#9A6D66
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #8e771f; /* rgb */ color: rgb(142, 119, 31); /* oklch */ color: oklch(57.5% 0.106 93.6);
Tailwind
colors: {
custom: {
50: '#b39d62',
500: '#8e771f',
950: '#000000',
},
}SCSS
$custom: #8e771f; $custom-light: #b39d62; $custom-dark: #000000;
JSON
{
"hex": "#8e771f",
"rgb": {
"r": 142,
"g": 119,
"b": 31
},
"hsl": {
"h": 47.568,
"s": 64.162,
"l": 33.922
},
"oklch": {
"l": 0.57522,
"c": 0.1063,
"h": 93.6
},
"luminance": 0.19043
}Semantic roles & 50–950 ramp
primary
#8E771F
secondary
#4D64BB
accent
#63E741
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A