#8E831A#8E831A
#8E831A is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 60.2% C 0.118 H 103.0°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #8E831A |
|---|---|
| RGB | rgb(142, 131, 26) |
| HSL | hsl(54, 69%, 33%) |
| HSV | hsv(54, 82%, 56%) |
| CMYK | cmyk(0%, 7.7%, 81.7%, 44.3%) |
| CIE-LAB | lab(54.09, -7.42, 53.21) |
| CIE-LCH | lch(54.09, 53.73, 97.94°) |
| OKLab | oklab(60.17% -0.0266 0.1153) |
| OKLCH | oklch(60.17% 0.118 103) |
| XYZ | xyz(19.4590, 22.0588, 4.2099) |
| Luminance | 0.2206 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.89
Baby Poop
#937C00
ΔE00 4.33
Diarrhea
#9F8303
ΔE00 5.57
Hazel
#8E7618
ΔE00 5.94
Puke Brown
#947706
ΔE00 6.62
Shit Green
#758000
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E831A #1A258E
analogous
#8E491A #8E831A #5F8E1A
triadic
#8E831A #1A8E83 #831A8E
tetradic
#8E831A #1A8E49 #1A258E #8E1A5F
square
#8E831A #1A8E49 #1A258E #8E1A5F
split-complementary
#8E831A #1A5F8E #491A8E
monochromatic
#272407 #5A5311 #8E831A #C2B323 #DDCF45
Accessibility & contrast
On white
3.88
#8E831A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.41
#8E831A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E831A
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E831A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E831A | 1.00 | 3.88 | 5.41 | 5.41 |
| #FFFFFF | 3.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#938423
Tritanopia (blue-blind)
#997970
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #8e831a; /* rgb */ color: rgb(142, 131, 26); /* oklch */ color: oklch(60.2% 0.118 103.0);
Tailwind
colors: {
custom: {
50: '#b3a661',
500: '#8e831a',
950: '#000000',
},
}SCSS
$custom: #8e831a; $custom-light: #b3a661; $custom-dark: #000000;
JSON
{
"hex": "#8e831a",
"rgb": {
"r": 142,
"g": 131,
"b": 26
},
"hsl": {
"h": 54.31,
"s": 69.048,
"l": 32.941
},
"oklch": {
"l": 0.60169,
"c": 0.11828,
"h": 103
},
"luminance": 0.22058
}Semantic roles & 50–950 ramp
primary
#8E831A
secondary
#4551BE
accent
#4DEC3C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A