#8E751D#8E751D
#8E751D is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 57.1% C 0.106 H 92.1°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #8E751D |
|---|---|
| RGB | rgb(142, 117, 29) |
| HSL | hsl(47, 66%, 34%) |
| HSV | hsv(47, 80%, 56%) |
| CMYK | cmyk(0%, 17.6%, 79.6%, 44.3%) |
| CIE-LAB | lab(50.17, 0.51, 48.67) |
| CIE-LCH | lch(50.17, 48.67, 89.39°) |
| OKLab | oklab(57.07% -0.0039 0.1061) |
| OKLCH | oklch(57.07% 0.106 92.1) |
| XYZ | xyz(17.7394, 18.5632, 3.8109) |
| Luminance | 0.1856 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 0.84
Poo
#8F7303
ΔE00 2.08
Puke Brown
#947706
ΔE00 2.52
Baby Poop
#937C00
ΔE00 3.90
Yellowish Brown
#9B7A01
ΔE00 4.19
Muddy Brown
#886806
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E751D #1D368E
analogous
#8E3C1D #8E751D #6E8E1D
triadic
#8E751D #1D8E75 #751D8E
tetradic
#8E751D #1D8E3C #1D368E #8E1D6E
square
#8E751D #1D8E3C #1D368E #8E1D6E
split-complementary
#8E751D #1D6E8E #3C1D8E
monochromatic
#282108 #5B4B13 #8E751D #C19F27 #DABB4B
Accessibility & contrast
On white
4.46
#8E751D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#8E751D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E751D
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E751D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E751D | 1.00 | 4.46 | 4.71 | 4.71 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#83730B
Deuteranopia (green-blind)
#897A22
Tritanopia (blue-blind)
#9A6B64
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #8e751d; /* rgb */ color: rgb(142, 117, 29); /* oklch */ color: oklch(57.1% 0.106 92.1);
Tailwind
colors: {
custom: {
50: '#b39c61',
500: '#8e751d',
950: '#000000',
},
}SCSS
$custom: #8e751d; $custom-light: #b39c61; $custom-dark: #000000;
JSON
{
"hex": "#8e751d",
"rgb": {
"r": 142,
"g": 117,
"b": 29
},
"hsl": {
"h": 46.726,
"s": 66.082,
"l": 33.529
},
"oklch": {
"l": 0.5707,
"c": 0.1062,
"h": 92.1
},
"luminance": 0.18562
}Semantic roles & 50–950 ramp
primary
#8E751D
secondary
#4A64BD
accent
#64E93F
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79