#8E893A#8E893A

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

Color values

HEX#8E893A
RGBrgb(142, 137, 58)
HSLhsl(56, 42%, 39%)
HSVhsv(56, 59%, 56%)
CMYKcmyk(0%, 3.5%, 59.2%, 44.3%)
CIE-LABlab(56.04, -8.88, 42.12)
CIE-LCHlch(56.04, 43.05, 101.90°)
OKLaboklab(61.79% -0.0272 0.0974)
OKLCHoklch(61.79% 0.101 105.6)
XYZxyz(20.8654, 23.9483, 7.5255)
Luminance0.2395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E893A #3A3F8E
analogous
#8E5F3A #8E893A #698E3A
triadic
#8E893A #3A8E89 #893A8E
tetradic
#8E893A #3A8E5F #3A3F8E #8E3A69
square
#8E893A #3A8E5F #3A3F8E #8E3A69
split-complementary
#8E893A #3A698E #5F3A8E
monochromatic
#373517 #635F28 #8E893A #B7B14E #C9C47A

Accessibility & contrast

On white

3.63
#8E893A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E893A#FFFFFF#000000##000000
##8E893A1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#948432
Deuteranopia (green-blind)
#96883E
Tritanopia (blue-blind)
#988178
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8e893a;
/* rgb */ color: rgb(142, 137, 58);
/* oklch */ color: oklch(61.8% 0.101 105.6);
Tailwind
colors: {
  custom: {
    50: '#b1ab73',
    500: '#8e893a',
    950: '#000000',
  },
}
SCSS
$custom: #8e893a;
$custom-light: #b1ab73;
$custom-dark: #000000;
JSON
{
  "hex": "#8e893a",
  "rgb": {
    "r": 142,
    "g": 137,
    "b": 58
  },
  "hsl": {
    "h": 56.429,
    "s": 42,
    "l": 39.216
  },
  "oklch": {
    "l": 0.61793,
    "c": 0.1011,
    "h": 105.6
  },
  "luminance": 0.23948
}

Semantic roles & 50–950 ramp

primary
#8E893A
secondary
#7276B2
accent
#5DD256
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111008
muted
#807F7B

Preview Lab

Preview with #8E893A

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

Preview Lab → · Contrast checker → · Palette generator →

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