#8E771D#8E771D
#8E771D is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.5% C 0.107 H 93.8°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #8E771D |
|---|---|
| RGB | rgb(142, 119, 29) |
| HSL | hsl(48, 66%, 34%) |
| HSV | hsv(48, 80%, 56%) |
| CMYK | cmyk(0%, 16.2%, 79.6%, 44.3%) |
| CIE-LAB | lab(50.73, -0.62, 49.18) |
| CIE-LCH | lch(50.73, 49.18, 90.72°) |
| OKLab | oklab(57.51% -0.0071 0.1072) |
| OKLCH | oklch(57.51% 0.107 93.8) |
| XYZ | xyz(17.9749, 19.0342, 3.8894) |
| Luminance | 0.1903 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 0.60
Poo
#8F7303
ΔE00 2.49
Puke Brown
#947706
ΔE00 2.54
Baby Poop
#937C00
ΔE00 3.21
Yellowish Brown
#9B7A01
ΔE00 4.15
Ugly Brown
#7D7103
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E771D #1D348E
analogous
#8E3E1D #8E771D #6C8E1D
triadic
#8E771D #1D8E77 #771D8E
tetradic
#8E771D #1D8E3E #1D348E #8E1D6C
square
#8E771D #1D8E3E #1D348E #8E1D6C
split-complementary
#8E771D #1D6C8E #3E1D8E
monochromatic
#282208 #5B4C13 #8E771D #C1A227 #DABD4B
Accessibility & contrast
On white
4.37
#8E771D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.81
#8E771D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E771D
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E771D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E771D | 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)
#85750A
Deuteranopia (green-blind)
#8A7C23
Tritanopia (blue-blind)
#9A6D66
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #8e771d; /* rgb */ color: rgb(142, 119, 29); /* oklch */ color: oklch(57.5% 0.107 93.8);
Tailwind
colors: {
custom: {
50: '#b39d61',
500: '#8e771d',
950: '#000000',
},
}SCSS
$custom: #8e771d; $custom-light: #b39d61; $custom-dark: #000000;
JSON
{
"hex": "#8e771d",
"rgb": {
"r": 142,
"g": 119,
"b": 29
},
"hsl": {
"h": 47.788,
"s": 66.082,
"l": 33.529
},
"oklch": {
"l": 0.57509,
"c": 0.10746,
"h": 93.8
},
"luminance": 0.19033
}Semantic roles & 50–950 ramp
primary
#8E771D
secondary
#4A61BD
accent
#61E93F
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A