#8E861E#8E861E

#8E861E 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#8E861E
RGBrgb(142, 134, 30)
HSLhsl(56, 65%, 34%)
HSVhsv(56, 79%, 56%)
CMYKcmyk(0%, 5.6%, 78.9%, 44.3%)
CIE-LABlab(54.96, -8.91, 52.70)
CIE-LCHlch(54.96, 53.45, 99.59°)
OKLaboklab(60.87% -0.0304 0.115)
OKLCHoklch(60.87% 0.119 104.8)
XYZxyz(19.9156, 22.8955, 4.5983)
Luminance0.2289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E861E #1E268E
analogous
#8E4E1E #8E861E #5E8E1E
triadic
#8E861E #1E8E86 #861E8E
tetradic
#8E861E #1E8E4E #1E268E #8E1E5E
square
#8E861E #1E8E4E #1E268E #8E1E5E
split-complementary
#8E861E #1E5E8E #4E1E8E
monochromatic
#292709 #5B5613 #8E861E #C1B629 #D9CF4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E861E#FFFFFF#000000##000000
##8E861E1.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)
#928104
Deuteranopia (green-blind)
#958626
Tritanopia (blue-blind)
#997C73
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8e861e;
/* rgb */ color: rgb(142, 134, 30);
/* oklch */ color: oklch(60.9% 0.119 104.8);
Tailwind
colors: {
  custom: {
    50: '#b3a863',
    500: '#8e861e',
    950: '#000000',
  },
}
SCSS
$custom: #8e861e;
$custom-light: #b3a863;
$custom-dark: #000000;
JSON
{
  "hex": "#8e861e",
  "rgb": {
    "r": 142,
    "g": 134,
    "b": 30
  },
  "hsl": {
    "h": 55.714,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.60872,
    "c": 0.11892,
    "h": 104.8
  },
  "luminance": 0.22895
}

Semantic roles & 50–950 ramp

primary
#8E861E
secondary
#4C54BC
accent
#4CE840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8E861E

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

Preview Lab → · Contrast checker → · Palette generator →

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