#8E752A#8E752A
#8E752A is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 57.2% C 0.098 H 90.3°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #8E752A |
|---|---|
| RGB | rgb(142, 117, 42) |
| HSL | hsl(45, 54%, 36%) |
| HSV | hsv(45, 70%, 56%) |
| CMYK | cmyk(0%, 17.6%, 70.4%, 44.3%) |
| CIE-LAB | lab(50.27, 1.16, 43.39) |
| CIE-LCH | lch(50.27, 43.40, 88.47°) |
| OKLab | oklab(57.17% -0.0005 0.0976) |
| OKLCH | oklch(57.17% 0.098 90.3) |
| XYZ | xyz(17.9355, 18.6416, 4.8435) |
| Luminance | 0.1864 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 2.54
Poo
#8F7303
ΔE00 3.70
Puke Brown
#947706
ΔE00 4.01
Yellowish Brown
#9B7A01
ΔE00 5.31
Baby Poop
#937C00
ΔE00 5.36
Muddy Brown
#886806
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E752A #2A438E
analogous
#8E432A #8E752A #758E2A
triadic
#8E752A #2A8E75 #752A8E
tetradic
#8E752A #2A8E43 #2A438E #8E2A75
square
#8E752A #2A8E43 #2A438E #8E2A75
split-complementary
#8E752A #2A758E #432A8E
monochromatic
#30270E #5F4E1C #8E752A #BD9C38 #D1B562
Accessibility & contrast
On white
4.44
#8E752A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.73
#8E752A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E752A
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E752A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E752A | 1.00 | 4.44 | 4.73 | 4.73 |
| #FFFFFF | 4.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827420
Deuteranopia (green-blind)
#887B2E
Tritanopia (blue-blind)
#9A6B65
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #8e752a; /* rgb */ color: rgb(142, 117, 42); /* oklch */ color: oklch(57.2% 0.098 90.3);
Tailwind
colors: {
custom: {
50: '#b29c68',
500: '#8e752a',
950: '#000000',
},
}SCSS
$custom: #8e752a; $custom-light: #b29c68; $custom-dark: #000000;
JSON
{
"hex": "#8e752a",
"rgb": {
"r": 142,
"g": 117,
"b": 42
},
"hsl": {
"h": 45,
"s": 54.348,
"l": 36.078
},
"oklch": {
"l": 0.57173,
"c": 0.09756,
"h": 90.3
},
"luminance": 0.18641
}Semantic roles & 50–950 ramp
primary
#8E752A
secondary
#5D74B6
accent
#6FDE4A
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A