#8E7E27#8E7E27
#8E7E27 is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 59.1% C 0.106 H 98.6°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #8E7E27 |
|---|---|
| RGB | rgb(142, 126, 39) |
| HSL | hsl(51, 57%, 35%) |
| HSV | hsv(51, 73%, 56%) |
| CMYK | cmyk(0%, 11.3%, 72.5%, 44.3%) |
| CIE-LAB | lab(52.75, -4.08, 47.22) |
| CIE-LCH | lch(52.75, 47.39, 94.93°) |
| OKLab | oklab(59.13% -0.0158 0.1051) |
| OKLCH | oklch(59.13% 0.106 98.6) |
| XYZ | xyz(18.9833, 20.8199, 4.9378) |
| Luminance | 0.2082 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.69
Hazel
#8E7618
ΔE00 3.71
Puke Brown
#947706
ΔE00 4.95
Poo
#8F7303
ΔE00 5.49
Diarrhea
#9F8303
ΔE00 5.58
Olive
#808000
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E7E27 #27378E
analogous
#8E4B27 #8E7E27 #6A8E27
triadic
#8E7E27 #278E7E #7E278E
tetradic
#8E7E27 #278E4B #27378E #8E276A
square
#8E7E27 #278E4B #27378E #8E276A
split-complementary
#8E7E27 #276A8E #4B278E
monochromatic
#2E290D #5E531A #8E7E27 #BEA934 #D2C05D
Accessibility & contrast
On white
4.07
#8E7E27 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.16
#8E7E27 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E7E27
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E7E27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E7E27 | 1.00 | 4.07 | 5.16 | 5.16 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7B1A
Deuteranopia (green-blind)
#8F802C
Tritanopia (blue-blind)
#99746D
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #8e7e27; /* rgb */ color: rgb(142, 126, 39); /* oklch */ color: oklch(59.1% 0.106 98.6);
Tailwind
colors: {
custom: {
50: '#b2a367',
500: '#8e7e27',
950: '#000000',
},
}SCSS
$custom: #8e7e27; $custom-light: #b2a367; $custom-dark: #000000;
JSON
{
"hex": "#8e7e27",
"rgb": {
"r": 142,
"g": 126,
"b": 39
},
"hsl": {
"h": 50.68,
"s": 56.906,
"l": 35.49
},
"oklch": {
"l": 0.59132,
"c": 0.10629,
"h": 98.6
},
"luminance": 0.20819
}Semantic roles & 50–950 ramp
primary
#8E7E27
secondary
#5968B8
accent
#5FE048
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A