#8E7520#8E7520

#8E7520 is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 57.1% C 0.104 H 91.8°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#8E7520
RGBrgb(142, 117, 32)
HSLhsl(46, 63%, 34%)
HSVhsv(46, 77%, 56%)
CMYKcmyk(0%, 17.6%, 77.5%, 44.3%)
CIE-LABlab(50.19, 0.64, 47.55)
CIE-LCHlch(50.19, 47.55, 89.22°)
OKLaboklab(57.09% -0.0032 0.1044)
OKLCHoklch(57.09% 0.104 91.8)
XYZxyz(17.7783, 18.5787, 4.0159)
Luminance0.1858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E7520 #20398E
analogous
#8E3E20 #8E7520 #708E20
triadic
#8E7520 #208E75 #75208E
tetradic
#8E7520 #208E3E #20398E #8E2070
square
#8E7520 #208E3E #20398E #8E2070
split-complementary
#8E7520 #20708E #3E208E
monochromatic
#2A2309 #5C4C15 #8E7520 #C09E2B #D8B951

Accessibility & contrast

On white

4.45
#8E7520 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#8E7520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E7520
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E7520#FFFFFF#000000##000000
##8E75201.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#837311
Deuteranopia (green-blind)
#897A25
Tritanopia (blue-blind)
#9A6B64
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8e7520;
/* rgb */ color: rgb(142, 117, 32);
/* oklch */ color: oklch(57.1% 0.104 91.8);
Tailwind
colors: {
  custom: {
    50: '#b39c62',
    500: '#8e7520',
    950: '#000000',
  },
}
SCSS
$custom: #8e7520;
$custom-light: #b39c62;
$custom-dark: #000000;
JSON
{
  "hex": "#8e7520",
  "rgb": {
    "r": 142,
    "g": 117,
    "b": 32
  },
  "hsl": {
    "h": 46.364,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57091,
    "c": 0.10444,
    "h": 91.8
  },
  "luminance": 0.18578
}

Semantic roles & 50–950 ramp

primary
#8E7520
secondary
#4F67BB
accent
#67E642
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8E7520

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#8E7520 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva