#8E851B#8E851B
#8E851B is a mid, moderate yellow. Relative luminance 0.226; OKLCH L 60.6% C 0.120 H 104.3°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #8E851B |
|---|---|
| RGB | rgb(142, 133, 27) |
| HSL | hsl(55, 68%, 33%) |
| HSV | hsv(55, 81%, 56%) |
| CMYK | cmyk(0%, 6.3%, 81%, 44.3%) |
| CIE-LAB | lab(54.66, -8.48, 53.41) |
| CIE-LCH | lch(54.66, 54.08, 99.02°) |
| OKLab | oklab(60.63% -0.0295 0.1159) |
| OKLCH | oklch(60.63% 0.12 104.3) |
| XYZ | xyz(19.7416, 22.6058, 4.3602) |
| Luminance | 0.2261 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.75
Baby Poop
#937C00
ΔE00 5.11
Diarrhea
#9F8303
ΔE00 6.06
Shit Green
#758000
ΔE00 6.55
Hazel
#8E7618
ΔE00 6.80
Swamp Green
#748500
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E851B #1B248E
analogous
#8E4B1B #8E851B #5D8E1B
triadic
#8E851B #1B8E85 #851B8E
tetradic
#8E851B #1B8E4B #1B248E #8E1B5D
square
#8E851B #1B8E4B #1B248E #8E1B5D
split-complementary
#8E851B #1B5D8E #4B1B8E
monochromatic
#272507 #5B5511 #8E851B #C1B525 #DCD047
Accessibility & contrast
On white
3.80
#8E851B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.52
#8E851B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E851B
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E851B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E851B | 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)
#928000
Deuteranopia (green-blind)
#958524
Tritanopia (blue-blind)
#997B72
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #8e851b; /* rgb */ color: rgb(142, 133, 27); /* oklch */ color: oklch(60.6% 0.120 104.3);
Tailwind
colors: {
custom: {
50: '#b3a862',
500: '#8e851b',
950: '#000000',
},
}SCSS
$custom: #8e851b; $custom-light: #b3a862; $custom-dark: #000000;
JSON
{
"hex": "#8e851b",
"rgb": {
"r": 142,
"g": 133,
"b": 27
},
"hsl": {
"h": 55.304,
"s": 68.047,
"l": 33.137
},
"oklch": {
"l": 0.60628,
"c": 0.11957,
"h": 104.3
},
"luminance": 0.22605
}Semantic roles & 50–950 ramp
primary
#8E851B
secondary
#4750BE
accent
#4BEB3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A