#8E862D#8E862D
#8E862D is a mid, moderate yellow. Relative luminance 0.230; OKLCH L 61.0% C 0.109 H 104.2°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #8E862D |
|---|---|
| RGB | rgb(142, 134, 45) |
| HSL | hsl(55, 52%, 37%) |
| HSV | hsv(55, 68%, 56%) |
| CMYK | cmyk(0%, 5.6%, 68.3%, 44.3%) |
| CIE-LAB | lab(55.06, -8.15, 47.02) |
| CIE-LCH | lch(55.06, 47.72, 99.83°) |
| OKLab | oklab(60.98% -0.0267 0.1058) |
| OKLCH | oklch(60.98% 0.109 104.2) |
| XYZ | xyz(20.1549, 22.9912, 5.8582) |
| Luminance | 0.2299 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.70
Drab
#828344
ΔE00 5.69
Baby Poop
#937C00
ΔE00 6.21
Dark Khaki
#9B8F55
ΔE00 6.74
Shit Green
#758000
ΔE00 6.90
Diarrhea
#9F8303
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E862D #2D358E
analogous
#8E562D #8E862D #668E2D
triadic
#8E862D #2D8E86 #862D8E
tetradic
#8E862D #2D8E56 #2D358E #8E2D66
square
#8E862D #2D8E56 #2D358E #8E2D66
split-complementary
#8E862D #2D668E #562D8E
monochromatic
#312E10 #605A1E #8E862D #BCB23C #CFC667
Accessibility & contrast
On white
3.75
#8E862D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.60
#8E862D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E862D
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E862D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E862D | 1.00 | 3.75 | 5.60 | 5.60 |
| #FFFFFF | 3.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928121
Deuteranopia (green-blind)
#958632
Tritanopia (blue-blind)
#997D74
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #8e862d; /* rgb */ color: rgb(142, 134, 45); /* oklch */ color: oklch(61.0% 0.109 104.2);
Tailwind
colors: {
custom: {
50: '#b2a96b',
500: '#8e862d',
950: '#000000',
},
}SCSS
$custom: #8e862d; $custom-light: #b2a96b; $custom-dark: #000000;
JSON
{
"hex": "#8e862d",
"rgb": {
"r": 142,
"g": 134,
"b": 45
},
"hsl": {
"h": 55.052,
"s": 51.872,
"l": 36.667
},
"oklch": {
"l": 0.60982,
"c": 0.1091,
"h": 104.2
},
"luminance": 0.2299
}Semantic roles & 50–950 ramp
primary
#8E862D
secondary
#6168B5
accent
#58DB4C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A