#8E841B#8E841B
#8E841B is a mid, moderate yellow. Relative luminance 0.223; OKLCH L 60.4% C 0.119 H 103.6°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #8E841B |
|---|---|
| RGB | rgb(142, 132, 27) |
| HSL | hsl(55, 68%, 33%) |
| HSV | hsv(55, 81%, 56%) |
| CMYK | cmyk(0%, 7%, 81%, 44.3%) |
| CIE-LAB | lab(54.38, -7.93, 53.16) |
| CIE-LCH | lch(54.38, 53.75, 98.49°) |
| OKLab | oklab(60.4% -0.0279 0.1153) |
| OKLCH | oklch(60.4% 0.119 103.6) |
| XYZ | xyz(19.6053, 22.3333, 4.3148) |
| Luminance | 0.2233 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.81
Baby Poop
#937C00
ΔE00 4.73
Diarrhea
#9F8303
ΔE00 5.82
Hazel
#8E7618
ΔE00 6.36
Shit Green
#758000
ΔE00 6.69
Puke Brown
#947706
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E841B #1B258E
analogous
#8E4B1B #8E841B #5E8E1B
triadic
#8E841B #1B8E84 #841B8E
tetradic
#8E841B #1B8E4B #1B258E #8E1B5E
square
#8E841B #1B8E4B #1B258E #8E1B5E
split-complementary
#8E841B #1B5E8E #4B1B8E
monochromatic
#272407 #5B5411 #8E841B #C1B425 #DCCF47
Accessibility & contrast
On white
3.84
#8E841B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.47
#8E841B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E841B
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E841B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E841B | 1.00 | 3.84 | 5.47 | 5.47 |
| #FFFFFF | 3.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#948424
Tritanopia (blue-blind)
#997A71
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #8e841b; /* rgb */ color: rgb(142, 132, 27); /* oklch */ color: oklch(60.4% 0.119 103.6);
Tailwind
colors: {
custom: {
50: '#b3a762',
500: '#8e841b',
950: '#000000',
},
}SCSS
$custom: #8e841b; $custom-light: #b3a762; $custom-dark: #000000;
JSON
{
"hex": "#8e841b",
"rgb": {
"r": 142,
"g": 132,
"b": 27
},
"hsl": {
"h": 54.783,
"s": 68.047,
"l": 33.137
},
"oklch": {
"l": 0.60401,
"c": 0.11867,
"h": 103.6
},
"luminance": 0.22332
}Semantic roles & 50–950 ramp
primary
#8E841B
secondary
#4751BE
accent
#4CEB3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A