#8E7E4A#8E7E4A

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

Color values

HEX#8E7E4A
RGBrgb(142, 126, 74)
HSLhsl(46, 31%, 42%)
HSVhsv(46, 48%, 56%)
CMYKcmyk(0%, 11.3%, 47.9%, 44.3%)
CIE-LABlab(53.13, -1.32, 30.43)
CIE-LCHlch(53.13, 30.46, 92.49°)
OKLaboklab(59.56% -0.0037 0.0734)
OKLCHoklch(59.56% 0.074 92.9)
XYZxyz(19.8528, 21.1677, 9.5173)
Luminance0.2117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E7E4A #4A5A8E
analogous
#8E5C4A #8E7E4A #7C8E4A
triadic
#8E7E4A #4A8E7E #7E4A8E
tetradic
#8E7E4A #4A8E5C #4A5A8E #8E4A7C
square
#8E7E4A #4A8E5C #4A5A8E #8E4A7C
split-complementary
#8E7E4A #4A7C8E #5C4A8E
monochromatic
#3E3720 #665A35 #8E7E4A #AF9E66 #C4B78E

Accessibility & contrast

On white

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

On black

5.23
#8E7E4A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E7E4A
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E7E4A#FFFFFF#000000##000000
##8E7E4A1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#887C46
Deuteranopia (green-blind)
#8C814C
Tritanopia (blue-blind)
#977771
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8e7e4a;
/* rgb */ color: rgb(142, 126, 74);
/* oklch */ color: oklch(59.6% 0.074 92.9);
Tailwind
colors: {
  custom: {
    50: '#b0a37d',
    500: '#8e7e4a',
    950: '#000000',
  },
}
SCSS
$custom: #8e7e4a;
$custom-light: #b0a37d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e7e4a",
  "rgb": {
    "r": 142,
    "g": 126,
    "b": 74
  },
  "hsl": {
    "h": 45.882,
    "s": 31.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.59556,
    "c": 0.07351,
    "h": 92.9
  },
  "luminance": 0.21167
}

Semantic roles & 50–950 ramp

primary
#8E7E4A
secondary
#848EB0
accent
#78C860
background
#FBFAF7
surface
#F6F3EE
border
#D0CDC9
text
#110F0A
muted
#807F7C

Preview Lab

Preview with #8E7E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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