#8E893C#8E893C

#8E893C is a mid, moderate yellow. Relative luminance 0.240; OKLCH L 61.8% C 0.099 H 105.5°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#8E893C
RGBrgb(142, 137, 60)
HSLhsl(56, 41%, 40%)
HSVhsv(56, 58%, 56%)
CMYKcmyk(0%, 3.5%, 57.7%, 44.3%)
CIE-LABlab(56.06, -8.72, 41.18)
CIE-LCHlch(56.06, 42.09, 101.95°)
OKLaboklab(61.82% -0.0265 0.0956)
OKLCHoklch(61.82% 0.099 105.5)
XYZxyz(20.9172, 23.9690, 7.7987)
Luminance0.2397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E893C #3C418E
analogous
#8E603C #8E893C #6A8E3C
triadic
#8E893C #3C8E89 #893C8E
tetradic
#8E893C #3C8E60 #3C418E #8E3C6A
square
#8E893C #3C8E60 #3C418E #8E3C6A
split-complementary
#8E893C #3C6A8E #603C8E
monochromatic
#383618 #635F2A #8E893C #B6B052 #C8C37D

Accessibility & contrast

On white

3.62
#8E893C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#8E893C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E893C
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E893C#FFFFFF#000000##000000
##8E893C1.003.625.795.79
#FFFFFF3.621.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#948434
Deuteranopia (green-blind)
#968840
Tritanopia (blue-blind)
#988178
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8e893c;
/* rgb */ color: rgb(142, 137, 60);
/* oklch */ color: oklch(61.8% 0.099 105.5);
Tailwind
colors: {
  custom: {
    50: '#b1ab75',
    500: '#8e893c',
    950: '#000000',
  },
}
SCSS
$custom: #8e893c;
$custom-light: #b1ab75;
$custom-dark: #000000;
JSON
{
  "hex": "#8e893c",
  "rgb": {
    "r": 142,
    "g": 137,
    "b": 60
  },
  "hsl": {
    "h": 56.341,
    "s": 40.594,
    "l": 39.608
  },
  "oklch": {
    "l": 0.61817,
    "c": 0.09921,
    "h": 105.5
  },
  "luminance": 0.23968
}

Semantic roles & 50–950 ramp

primary
#8E893C
secondary
#7478B2
accent
#5FD057
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111008
muted
#807F7B

Preview Lab

Preview with #8E893C

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

Preview Lab → · Contrast checker → · Palette generator →

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