#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
RGBrgb(142, 117, 42)
HSLhsl(45, 54%, 36%)
HSVhsv(45, 70%, 56%)
CMYKcmyk(0%, 17.6%, 70.4%, 44.3%)
CIE-LABlab(50.27, 1.16, 43.39)
CIE-LCHlch(50.27, 43.40, 88.47°)
OKLaboklab(57.17% -0.0005 0.0976)
OKLCHoklch(57.17% 0.098 90.3)
XYZxyz(17.9355, 18.6416, 4.8435)
Luminance0.1864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

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
##8E752A1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.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

Preview Lab

Preview with #8E752A

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

Preview Lab → · Contrast checker → · Palette generator →

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