#8E7E4D#8E7E4D

#8E7E4D is a mid, moderate yellow. Relative luminance 0.212; OKLCH L 59.6% C 0.070 H 92.0°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#8E7E4D
RGBrgb(142, 126, 77)
HSLhsl(45, 30%, 43%)
HSVhsv(45, 46%, 56%)
CMYKcmyk(0%, 11.3%, 45.8%, 44.3%)
CIE-LABlab(53.18, -1.00, 28.85)
CIE-LCHlch(53.18, 28.87, 91.99°)
OKLaboklab(59.61% -0.0024 0.07)
OKLCHoklch(59.61% 0.07 92)
XYZxyz(19.9563, 21.2091, 10.0623)
Luminance0.2121 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E7E4D #4D5D8E
analogous
#8E5E4D #8E7E4D #7D8E4D
triadic
#8E7E4D #4D8E7E #7E4D8E
tetradic
#8E7E4D #4D8E5E #4D5D8E #8E4D7D
square
#8E7E4D #4D8E5E #4D5D8E #8E4D7D
split-complementary
#8E7E4D #4D7D8E #5E4D8E
monochromatic
#3F3822 #665B37 #8E7E4D #AE9D6A #C4B792

Accessibility & contrast

On white

4.01
#8E7E4D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#8E7E4D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E7E4D
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E7E4D#FFFFFF#000000##000000
##8E7E4D1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#887C49
Deuteranopia (green-blind)
#8C814F
Tritanopia (blue-blind)
#977772
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8e7e4d;
/* rgb */ color: rgb(142, 126, 77);
/* oklch */ color: oklch(59.6% 0.070 92.0);
Tailwind
colors: {
  custom: {
    50: '#b0a37f',
    500: '#8e7e4d',
    950: '#000000',
  },
}
SCSS
$custom: #8e7e4d;
$custom-light: #b0a37f;
$custom-dark: #000000;
JSON
{
  "hex": "#8e7e4d",
  "rgb": {
    "r": 142,
    "g": 126,
    "b": 77
  },
  "hsl": {
    "h": 45.231,
    "s": 29.68,
    "l": 42.941
  },
  "oklch": {
    "l": 0.59606,
    "c": 0.07008,
    "h": 92
  },
  "luminance": 0.21208
}

Semantic roles & 50–950 ramp

primary
#8E7E4D
secondary
#8791B0
accent
#7BC662
background
#FBFAF7
surface
#F6F3EE
border
#D0CDC9
text
#110F0A
muted
#807F7C

Preview Lab

Preview with #8E7E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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