#8E893E#8E893E

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

Color values

HEX#8E893E
RGBrgb(142, 137, 62)
HSLhsl(56, 39%, 40%)
HSVhsv(56, 56%, 56%)
CMYKcmyk(0%, 3.5%, 56.3%, 44.3%)
CIE-LABlab(56.08, -8.55, 40.22)
CIE-LCHlch(56.08, 41.12, 102.00°)
OKLaboklab(61.84% -0.0258 0.0938)
OKLCHoklch(61.84% 0.097 105.4)
XYZxyz(20.9711, 23.9906, 8.0825)
Luminance0.2399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E893E #3E438E
analogous
#8E613E #8E893E #6B8E3E
triadic
#8E893E #3E8E89 #893E8E
tetradic
#8E893E #3E8E61 #3E438E #8E3E6B
square
#8E893E #3E8E61 #3E438E #8E3E6B
split-complementary
#8E893E #3E6B8E #613E8E
monochromatic
#393719 #63602B #8E893E #B5AF55 #C7C37F

Accessibility & contrast

On white

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

On black

5.80
#8E893E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E893E
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E893E#FFFFFF#000000##000000
##8E893E1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e893e;
/* rgb */ color: rgb(142, 137, 62);
/* oklch */ color: oklch(61.8% 0.097 105.4);
Tailwind
colors: {
  custom: {
    50: '#b1ab76',
    500: '#8e893e',
    950: '#000000',
  },
}
SCSS
$custom: #8e893e;
$custom-light: #b1ab76;
$custom-dark: #000000;
JSON
{
  "hex": "#8e893e",
  "rgb": {
    "r": 142,
    "g": 137,
    "b": 62
  },
  "hsl": {
    "h": 56.25,
    "s": 39.216,
    "l": 40
  },
  "oklch": {
    "l": 0.61841,
    "c": 0.09727,
    "h": 105.4
  },
  "luminance": 0.2399
}

Semantic roles & 50–950 ramp

primary
#8E893E
secondary
#767AB1
accent
#60CF59
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111008
muted
#807F7B

Preview Lab

Preview with #8E893E

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

Preview Lab → · Contrast checker → · Palette generator →

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