#8E851E#8E851E
#8E851E is a mid, moderate yellow. Relative luminance 0.226; OKLCH L 60.6% C 0.118 H 104.2°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #8E851E |
|---|---|
| RGB | rgb(142, 133, 30) |
| HSL | hsl(55, 65%, 34%) |
| HSV | hsv(55, 79%, 56%) |
| CMYK | cmyk(0%, 6.3%, 78.9%, 44.3%) |
| CIE-LAB | lab(54.68, -8.36, 52.45) |
| CIE-LCH | lch(54.68, 53.11, 99.06°) |
| OKLab | oklab(60.65% -0.0289 0.1144) |
| OKLCH | oklch(60.65% 0.118 104.2) |
| XYZ | xyz(19.7781, 22.6204, 4.5524) |
| Luminance | 0.2262 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.84
Baby Poop
#937C00
ΔE00 5.18
Diarrhea
#9F8303
ΔE00 6.13
Shit Green
#758000
ΔE00 6.58
Hazel
#8E7618
ΔE00 6.76
Drab
#828344
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E851E #1E278E
analogous
#8E4D1E #8E851E #5F8E1E
triadic
#8E851E #1E8E85 #851E8E
tetradic
#8E851E #1E8E4D #1E278E #8E1E5F
square
#8E851E #1E8E4D #1E278E #8E1E5F
split-complementary
#8E851E #1E5F8E #4D1E8E
monochromatic
#292609 #5B5613 #8E851E #C1B429 #D9CE4D
Accessibility & contrast
On white
3.80
#8E851E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.52
#8E851E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E851E
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E851E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E851E | 1.00 | 3.80 | 5.52 | 5.52 |
| #FFFFFF | 3.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928004
Deuteranopia (green-blind)
#948526
Tritanopia (blue-blind)
#997B72
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #8e851e; /* rgb */ color: rgb(142, 133, 30); /* oklch */ color: oklch(60.6% 0.118 104.2);
Tailwind
colors: {
custom: {
50: '#b3a863',
500: '#8e851e',
950: '#000000',
},
}SCSS
$custom: #8e851e; $custom-light: #b3a863; $custom-dark: #000000;
JSON
{
"hex": "#8e851e",
"rgb": {
"r": 142,
"g": 133,
"b": 30
},
"hsl": {
"h": 55.179,
"s": 65.116,
"l": 33.725
},
"oklch": {
"l": 0.60645,
"c": 0.118,
"h": 104.2
},
"luminance": 0.2262
}Semantic roles & 50–950 ramp
primary
#8E851E
secondary
#4C55BC
accent
#4DE840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A