#8E893D#8E893D

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

Color values

HEX#8E893D
RGBrgb(142, 137, 61)
HSLhsl(56, 40%, 40%)
HSVhsv(56, 57%, 56%)
CMYKcmyk(0%, 3.5%, 57%, 44.3%)
CIE-LABlab(56.07, -8.63, 40.70)
CIE-LCHlch(56.07, 41.61, 101.98°)
OKLaboklab(61.83% -0.0262 0.0947)
OKLCHoklch(61.83% 0.098 105.5)
XYZxyz(20.9439, 23.9797, 7.9393)
Luminance0.2398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E893D #3D428E
analogous
#8E603D #8E893D #6B8E3D
triadic
#8E893D #3D8E89 #893D8E
tetradic
#8E893D #3D8E60 #3D428E #8E3D6B
square
#8E893D #3D8E60 #3D428E #8E3D6B
split-complementary
#8E893D #3D6B8E #603D8E
monochromatic
#383618 #63602B #8E893D #B5AF53 #C8C37E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E893D#FFFFFF#000000##000000
##8E893D1.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)
#948435
Deuteranopia (green-blind)
#968841
Tritanopia (blue-blind)
#988178
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8e893d;
/* rgb */ color: rgb(142, 137, 61);
/* oklch */ color: oklch(61.8% 0.098 105.5);
Tailwind
colors: {
  custom: {
    50: '#b1ab75',
    500: '#8e893d',
    950: '#000000',
  },
}
SCSS
$custom: #8e893d;
$custom-light: #b1ab75;
$custom-dark: #000000;
JSON
{
  "hex": "#8e893d",
  "rgb": {
    "r": 142,
    "g": 137,
    "b": 61
  },
  "hsl": {
    "h": 56.296,
    "s": 39.901,
    "l": 39.804
  },
  "oklch": {
    "l": 0.61829,
    "c": 0.09825,
    "h": 105.5
  },
  "luminance": 0.23979
}

Semantic roles & 50–950 ramp

primary
#8E893D
secondary
#7579B1
accent
#5FD058
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111008
muted
#807F7B

Preview Lab

Preview with #8E893D

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

Preview Lab → · Contrast checker → · Palette generator →

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