#8E761D#8E761D
#8E761D is a mid, moderate yellow. Relative luminance 0.188; OKLCH L 57.3% C 0.107 H 93.0°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #8E761D |
|---|---|
| RGB | rgb(142, 118, 29) |
| HSL | hsl(47, 66%, 34%) |
| HSV | hsv(47, 80%, 56%) |
| CMYK | cmyk(0%, 16.9%, 79.6%, 44.3%) |
| CIE-LAB | lab(50.45, -0.05, 48.92) |
| CIE-LCH | lch(50.45, 48.92, 90.06°) |
| OKLab | oklab(57.29% -0.0055 0.1067) |
| OKLCH | oklch(57.29% 0.107 93) |
| XYZ | xyz(17.8565, 18.7974, 3.8499) |
| Luminance | 0.1880 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 0.54
Poo
#8F7303
ΔE00 2.25
Puke Brown
#947706
ΔE00 2.48
Baby Poop
#937C00
ΔE00 3.54
Yellowish Brown
#9B7A01
ΔE00 4.14
Ugly Brown
#7D7103
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E761D #1D358E
analogous
#8E3D1D #8E761D #6D8E1D
triadic
#8E761D #1D8E76 #761D8E
tetradic
#8E761D #1D8E3D #1D358E #8E1D6D
square
#8E761D #1D8E3D #1D358E #8E1D6D
split-complementary
#8E761D #1D6D8E #3D1D8E
monochromatic
#282208 #5B4C13 #8E761D #C1A027 #DABC4B
Accessibility & contrast
On white
4.41
#8E761D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.76
#8E761D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E761D
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E761D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E761D | 1.00 | 4.41 | 4.76 | 4.76 |
| #FFFFFF | 4.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#84740A
Deuteranopia (green-blind)
#8A7B23
Tritanopia (blue-blind)
#9A6C65
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #8e761d; /* rgb */ color: rgb(142, 118, 29); /* oklch */ color: oklch(57.3% 0.107 93.0);
Tailwind
colors: {
custom: {
50: '#b39d61',
500: '#8e761d',
950: '#000000',
},
}SCSS
$custom: #8e761d; $custom-light: #b39d61; $custom-dark: #000000;
JSON
{
"hex": "#8e761d",
"rgb": {
"r": 142,
"g": 118,
"b": 29
},
"hsl": {
"h": 47.257,
"s": 66.082,
"l": 33.529
},
"oklch": {
"l": 0.57289,
"c": 0.10681,
"h": 93
},
"luminance": 0.18796
}Semantic roles & 50–950 ramp
primary
#8E761D
secondary
#4A63BD
accent
#63E93F
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79