#8E883B#8E883B

#8E883B is a mid, moderate yellow. Relative luminance 0.237; OKLCH L 61.6% C 0.099 H 104.8°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#8E883B
RGBrgb(142, 136, 59)
HSLhsl(56, 41%, 39%)
HSVhsv(56, 58%, 56%)
CMYKcmyk(0%, 4.2%, 58.5%, 44.3%)
CIE-LABlab(55.76, -8.25, 41.33)
CIE-LCHlch(55.76, 42.15, 101.29°)
OKLaboklab(61.58% -0.0253 0.0958)
OKLCHoklch(61.58% 0.099 104.8)
XYZxyz(20.7496, 23.6756, 7.6137)
Luminance0.2367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E883B #3B418E
analogous
#8E5F3B #8E883B #6B8E3B
triadic
#8E883B #3B8E88 #883B8E
tetradic
#8E883B #3B8E5F #3B418E #8E3B6B
square
#8E883B #3B8E5F #3B418E #8E3B6B
split-complementary
#8E883B #3B6B8E #5F3B8E
monochromatic
#383517 #635F29 #8E883B #B6AF50 #C8C37B

Accessibility & contrast

On white

3.66
#8E883B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#8E883B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E883B
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E883B#FFFFFF#000000##000000
##8E883B1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#938433
Deuteranopia (green-blind)
#95873F
Tritanopia (blue-blind)
#988077
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8e883b;
/* rgb */ color: rgb(142, 136, 59);
/* oklch */ color: oklch(61.6% 0.099 104.8);
Tailwind
colors: {
  custom: {
    50: '#b1aa74',
    500: '#8e883b',
    950: '#000000',
  },
}
SCSS
$custom: #8e883b;
$custom-light: #b1aa74;
$custom-dark: #000000;
JSON
{
  "hex": "#8e883b",
  "rgb": {
    "r": 142,
    "g": 136,
    "b": 59
  },
  "hsl": {
    "h": 55.663,
    "s": 41.294,
    "l": 39.412
  },
  "oklch": {
    "l": 0.61578,
    "c": 0.09909,
    "h": 104.8
  },
  "luminance": 0.23675
}

Semantic roles & 50–950 ramp

primary
#8E883B
secondary
#7378B2
accent
#60D157
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111008
muted
#807F7B

Preview Lab

Preview with #8E883B

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

Preview Lab → · Contrast checker → · Palette generator →

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