#8E893F#8E893F

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

Color values

HEX#8E893F
RGBrgb(142, 137, 63)
HSLhsl(56, 39%, 40%)
HSVhsv(56, 56%, 56%)
CMYKcmyk(0%, 3.5%, 55.6%, 44.3%)
CIE-LABlab(56.09, -8.46, 39.74)
CIE-LCHlch(56.09, 40.63, 102.03°)
OKLaboklab(61.85% -0.0255 0.0929)
OKLCHoklch(61.85% 0.096 105.3)
XYZxyz(20.9988, 24.0016, 8.2283)
Luminance0.2400 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E893F #3F448E
analogous
#8E623F #8E893F #6B8E3F
triadic
#8E893F #3F8E89 #893F8E
tetradic
#8E893F #3F8E62 #3F448E #8E3F6B
square
#8E893F #3F8E62 #3F448E #8E3F6B
split-complementary
#8E893F #3F6B8E #623F8E
monochromatic
#393719 #64602C #8E893F #B4AE56 #C7C281

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E893F#FFFFFF#000000##000000
##8E893F1.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)
#948438
Deuteranopia (green-blind)
#968843
Tritanopia (blue-blind)
#978178
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8e893f;
/* rgb */ color: rgb(142, 137, 63);
/* oklch */ color: oklch(61.9% 0.096 105.3);
Tailwind
colors: {
  custom: {
    50: '#b1ab76',
    500: '#8e893f',
    950: '#000000',
  },
}
SCSS
$custom: #8e893f;
$custom-light: #b1ab76;
$custom-dark: #000000;
JSON
{
  "hex": "#8e893f",
  "rgb": {
    "r": 142,
    "g": 137,
    "b": 63
  },
  "hsl": {
    "h": 56.203,
    "s": 38.537,
    "l": 40.196
  },
  "oklch": {
    "l": 0.61853,
    "c": 0.09628,
    "h": 105.3
  },
  "luminance": 0.24001
}

Semantic roles & 50–950 ramp

primary
#8E893F
secondary
#787BB1
accent
#61CE59
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111009
muted
#807F7B

Preview Lab

Preview with #8E893F

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

Preview Lab → · Contrast checker → · Palette generator →

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