#8E861D#8E861D

#8E861D is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 60.9% C 0.119 H 104.8°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#8E861D
RGBrgb(142, 134, 29)
HSLhsl(56, 66%, 34%)
HSVhsv(56, 80%, 56%)
CMYKcmyk(0%, 5.6%, 79.6%, 44.3%)
CIE-LABlab(54.96, -8.95, 53.03)
CIE-LCHlch(54.96, 53.78, 99.57°)
OKLaboklab(60.87% -0.0306 0.1155)
OKLCHoklch(60.87% 0.119 104.8)
XYZxyz(19.9031, 22.8905, 4.5321)
Luminance0.2289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E861D #1D258E
analogous
#8E4D1D #8E861D #5D8E1D
triadic
#8E861D #1D8E86 #861D8E
tetradic
#8E861D #1D8E4D #1D258E #8E1D5D
square
#8E861D #1D8E4D #1D258E #8E1D5D
split-complementary
#8E861D #1D5D8E #4D1D8E
monochromatic
#282608 #5B5613 #8E861D #C1B627 #DAD04B

Accessibility & contrast

On white

3.76
#8E861D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#8E861D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E861D
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E861D#FFFFFF#000000##000000
##8E861D1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#938101
Deuteranopia (green-blind)
#958626
Tritanopia (blue-blind)
#997C72
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8e861d;
/* rgb */ color: rgb(142, 134, 29);
/* oklch */ color: oklch(60.9% 0.119 104.8);
Tailwind
colors: {
  custom: {
    50: '#b3a863',
    500: '#8e861d',
    950: '#000000',
  },
}
SCSS
$custom: #8e861d;
$custom-light: #b3a863;
$custom-dark: #000000;
JSON
{
  "hex": "#8e861d",
  "rgb": {
    "r": 142,
    "g": 134,
    "b": 29
  },
  "hsl": {
    "h": 55.752,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.60866,
    "c": 0.11946,
    "h": 104.8
  },
  "luminance": 0.2289
}

Semantic roles & 50–950 ramp

primary
#8E861D
secondary
#4A52BD
accent
#4BE93F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8E861D

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

Preview Lab → · Contrast checker → · Palette generator →

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