#8E894E#8E894E

#8E894E is a light, moderate yellow. Relative luminance 0.242; OKLCH L 62.1% C 0.080 H 104.2°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#8E894E
RGBrgb(142, 137, 78)
HSLhsl(55, 29%, 43%)
HSVhsv(55, 45%, 56%)
CMYKcmyk(0%, 3.5%, 45.1%, 44.3%)
CIE-LABlab(56.28, -7.01, 32.20)
CIE-LCHlch(56.28, 32.95, 102.28°)
OKLaboklab(62.07% -0.0197 0.0777)
OKLCHoklch(62.07% 0.08 104.2)
XYZxyz(21.4766, 24.1927, 10.7446)
Luminance0.2419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E894E #4E538E
analogous
#8E694E #8E894E #738E4E
triadic
#8E894E #4E8E89 #894E8E
tetradic
#8E894E #4E8E69 #4E538E #8E4E73
square
#8E894E #4E8E69 #4E538E #8E4E73
split-complementary
#8E894E #4E738E #694E8E
monochromatic
#3F3D23 #666338 #8E894E #AEA96B #C4C093

Accessibility & contrast

On white

3.60
#8E894E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#8E894E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E894E
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E894E#FFFFFF#000000##000000
##8E894E1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928549
Deuteranopia (green-blind)
#948851
Tritanopia (blue-blind)
#96827B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8e894e;
/* rgb */ color: rgb(142, 137, 78);
/* oklch */ color: oklch(62.1% 0.080 104.2);
Tailwind
colors: {
  custom: {
    50: '#b0ab81',
    500: '#8e894e',
    950: '#000000',
  },
}
SCSS
$custom: #8e894e;
$custom-light: #b0ab81;
$custom-dark: #000000;
JSON
{
  "hex": "#8e894e",
  "rgb": {
    "r": 142,
    "g": 137,
    "b": 78
  },
  "hsl": {
    "h": 55.312,
    "s": 29.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.62067,
    "c": 0.08011,
    "h": 104.2
  },
  "luminance": 0.24192
}

Semantic roles & 50–950 ramp

primary
#8E894E
secondary
#888BB0
accent
#6AC562
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#11100A
muted
#807F7C

Preview Lab

Preview with #8E894E

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

Preview Lab → · Contrast checker → · Palette generator →

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