#8E7D4A#8E7D4A

#8E7D4A is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 59.3% C 0.073 H 91.6°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#8E7D4A
RGBrgb(142, 125, 74)
HSLhsl(45, 31%, 42%)
HSVhsv(45, 48%, 56%)
CMYKcmyk(0%, 12%, 47.9%, 44.3%)
CIE-LABlab(52.85, -0.76, 30.09)
CIE-LCHlch(52.85, 30.10, 91.44°)
OKLaboklab(59.34% -0.002 0.0726)
OKLCHoklch(59.34% 0.073 91.6)
XYZxyz(19.7256, 20.9132, 9.4749)
Luminance0.2091 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E7D4A #4A5B8E
analogous
#8E5B4A #8E7D4A #7D8E4A
triadic
#8E7D4A #4A8E7D #7D4A8E
tetradic
#8E7D4A #4A8E5B #4A5B8E #8E4A7D
square
#8E7D4A #4A8E5B #4A5B8E #8E4A7D
split-complementary
#8E7D4A #4A7D8E #5B4A8E
monochromatic
#3E3620 #665A35 #8E7D4A #AF9D66 #C4B78E

Accessibility & contrast

On white

4.05
#8E7D4A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#8E7D4A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E7D4A
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E7D4A#FFFFFF#000000##000000
##8E7D4A1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#877B46
Deuteranopia (green-blind)
#8C804C
Tritanopia (blue-blind)
#977671
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8e7d4a;
/* rgb */ color: rgb(142, 125, 74);
/* oklch */ color: oklch(59.3% 0.073 91.6);
Tailwind
colors: {
  custom: {
    50: '#b0a27d',
    500: '#8e7d4a',
    950: '#000000',
  },
}
SCSS
$custom: #8e7d4a;
$custom-light: #b0a27d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e7d4a",
  "rgb": {
    "r": 142,
    "g": 125,
    "b": 74
  },
  "hsl": {
    "h": 45,
    "s": 31.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.59336,
    "c": 0.07267,
    "h": 91.6
  },
  "luminance": 0.20912
}

Semantic roles & 50–950 ramp

primary
#8E7D4A
secondary
#848FB0
accent
#7AC860
background
#FBF9F7
surface
#F6F2EE
border
#D0CCC9
text
#110F0A
muted
#807E7C

Preview Lab

Preview with #8E7D4A

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

Preview Lab → · Contrast checker → · Palette generator →

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