#8E893B#8E893B

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

Color values

HEX#8E893B
RGBrgb(142, 137, 59)
HSLhsl(56, 41%, 39%)
HSVhsv(56, 58%, 56%)
CMYKcmyk(0%, 3.5%, 58.5%, 44.3%)
CIE-LABlab(56.05, -8.80, 41.65)
CIE-LCHlch(56.05, 42.57, 101.92°)
OKLaboklab(61.81% -0.0269 0.0965)
OKLCHoklch(61.81% 0.1 105.6)
XYZxyz(20.8911, 23.9585, 7.6608)
Luminance0.2396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E893B #3B408E
analogous
#8E603B #8E893B #6A8E3B
triadic
#8E893B #3B8E89 #893B8E
tetradic
#8E893B #3B8E60 #3B408E #8E3B6A
square
#8E893B #3B8E60 #3B408E #8E3B6A
split-complementary
#8E893B #3B6A8E #603B8E
monochromatic
#383617 #635F29 #8E893B #B6B050 #C8C47B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E893B#FFFFFF#000000##000000
##8E893B1.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)
#948433
Deuteranopia (green-blind)
#96883F
Tritanopia (blue-blind)
#988178
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8e893b;
/* rgb */ color: rgb(142, 137, 59);
/* oklch */ color: oklch(61.8% 0.100 105.6);
Tailwind
colors: {
  custom: {
    50: '#b1ab74',
    500: '#8e893b',
    950: '#000000',
  },
}
SCSS
$custom: #8e893b;
$custom-light: #b1ab74;
$custom-dark: #000000;
JSON
{
  "hex": "#8e893b",
  "rgb": {
    "r": 142,
    "g": 137,
    "b": 59
  },
  "hsl": {
    "h": 56.386,
    "s": 41.294,
    "l": 39.412
  },
  "oklch": {
    "l": 0.61805,
    "c": 0.10016,
    "h": 105.6
  },
  "luminance": 0.23958
}

Semantic roles & 50–950 ramp

primary
#8E893B
secondary
#7377B2
accent
#5ED157
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111008
muted
#807F7B

Preview Lab

Preview with #8E893B

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

Preview Lab → · Contrast checker → · Palette generator →

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