#8E831E#8E831E
#8E831E is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 60.2% C 0.116 H 102.8°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #8E831E |
|---|---|
| RGB | rgb(142, 131, 30) |
| HSL | hsl(54, 65%, 34%) |
| HSV | hsv(54, 79%, 56%) |
| CMYK | cmyk(0%, 7.7%, 78.9%, 44.3%) |
| CIE-LAB | lab(54.11, -7.27, 51.93) |
| CIE-LCH | lch(54.11, 52.43, 97.97°) |
| OKLab | oklab(60.19% -0.0258 0.1133) |
| OKLCH | oklch(60.19% 0.116 102.8) |
| XYZ | xyz(19.5069, 22.0780, 4.4620) |
| Luminance | 0.2208 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.01
Baby Poop
#937C00
ΔE00 4.44
Diarrhea
#9F8303
ΔE00 5.68
Hazel
#8E7618
ΔE00 5.89
Puke Brown
#947706
ΔE00 6.65
Shit Green
#758000
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E831E #1E298E
analogous
#8E4B1E #8E831E #618E1E
triadic
#8E831E #1E8E83 #831E8E
tetradic
#8E831E #1E8E4B #1E298E #8E1E61
square
#8E831E #1E8E4B #1E298E #8E1E61
split-complementary
#8E831E #1E618E #4B1E8E
monochromatic
#292609 #5B5413 #8E831E #C1B229 #D9CC4D
Accessibility & contrast
On white
3.88
#8E831E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.42
#8E831E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E831E
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E831E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E831E | 1.00 | 3.88 | 5.42 | 5.42 |
| #FFFFFF | 3.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F06
Deuteranopia (green-blind)
#938426
Tritanopia (blue-blind)
#997970
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #8e831e; /* rgb */ color: rgb(142, 131, 30); /* oklch */ color: oklch(60.2% 0.116 102.8);
Tailwind
colors: {
custom: {
50: '#b3a663',
500: '#8e831e',
950: '#000000',
},
}SCSS
$custom: #8e831e; $custom-light: #b3a663; $custom-dark: #000000;
JSON
{
"hex": "#8e831e",
"rgb": {
"r": 142,
"g": 131,
"b": 30
},
"hsl": {
"h": 54.107,
"s": 65.116,
"l": 33.725
},
"oklch": {
"l": 0.60192,
"c": 0.1162,
"h": 102.8
},
"luminance": 0.22077
}Semantic roles & 50–950 ramp
primary
#8E831E
secondary
#4C57BC
accent
#50E840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A