#8E862D#8E862D

#8E862D is a mid, moderate yellow. Relative luminance 0.230; OKLCH L 61.0% C 0.109 H 104.2°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#8E862D
RGBrgb(142, 134, 45)
HSLhsl(55, 52%, 37%)
HSVhsv(55, 68%, 56%)
CMYKcmyk(0%, 5.6%, 68.3%, 44.3%)
CIE-LABlab(55.06, -8.15, 47.02)
CIE-LCHlch(55.06, 47.72, 99.83°)
OKLaboklab(60.98% -0.0267 0.1058)
OKLCHoklch(60.98% 0.109 104.2)
XYZxyz(20.1549, 22.9912, 5.8582)
Luminance0.2299 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E862D #2D358E
analogous
#8E562D #8E862D #668E2D
triadic
#8E862D #2D8E86 #862D8E
tetradic
#8E862D #2D8E56 #2D358E #8E2D66
square
#8E862D #2D8E56 #2D358E #8E2D66
split-complementary
#8E862D #2D668E #562D8E
monochromatic
#312E10 #605A1E #8E862D #BCB23C #CFC667

Accessibility & contrast

On white

3.75
#8E862D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#8E862D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E862D
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E862D#FFFFFF#000000##000000
##8E862D1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928121
Deuteranopia (green-blind)
#958632
Tritanopia (blue-blind)
#997D74
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8e862d;
/* rgb */ color: rgb(142, 134, 45);
/* oklch */ color: oklch(61.0% 0.109 104.2);
Tailwind
colors: {
  custom: {
    50: '#b2a96b',
    500: '#8e862d',
    950: '#000000',
  },
}
SCSS
$custom: #8e862d;
$custom-light: #b2a96b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e862d",
  "rgb": {
    "r": 142,
    "g": 134,
    "b": 45
  },
  "hsl": {
    "h": 55.052,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.60982,
    "c": 0.1091,
    "h": 104.2
  },
  "luminance": 0.2299
}

Semantic roles & 50–950 ramp

primary
#8E862D
secondary
#6168B5
accent
#58DB4C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8E862D

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

Preview Lab → · Contrast checker → · Palette generator →

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