#8E861C#8E861C

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

Color values

HEX#8E861C
RGBrgb(142, 134, 28)
HSLhsl(56, 67%, 33%)
HSVhsv(56, 80%, 56%)
CMYKcmyk(0%, 5.6%, 80.3%, 44.3%)
CIE-LABlab(54.95, -8.98, 53.35)
CIE-LCHlch(54.95, 54.10, 99.56°)
OKLaboklab(60.86% -0.0308 0.116)
OKLCHoklch(60.86% 0.12 104.9)
XYZxyz(19.8909, 22.8856, 4.4680)
Luminance0.2288 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E861C #1C248E
analogous
#8E4D1C #8E861C #5D8E1C
triadic
#8E861C #1C8E86 #861C8E
tetradic
#8E861C #1C8E4D #1C248E #8E1C5D
square
#8E861C #1C8E4D #1C248E #8E1C5D
split-complementary
#8E861C #1C5D8E #4D1C8E
monochromatic
#282608 #5B5612 #8E861C #C1B626 #DBD149

Accessibility & contrast

On white

3.77
#8E861C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E861C#FFFFFF#000000##000000
##8E861C1.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#958625
Tritanopia (blue-blind)
#997C72
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8e861c;
/* rgb */ color: rgb(142, 134, 28);
/* oklch */ color: oklch(60.9% 0.120 104.9);
Tailwind
colors: {
  custom: {
    50: '#b3a862',
    500: '#8e861c',
    950: '#000000',
  },
}
SCSS
$custom: #8e861c;
$custom-light: #b3a862;
$custom-dark: #000000;
JSON
{
  "hex": "#8e861c",
  "rgb": {
    "r": 142,
    "g": 134,
    "b": 28
  },
  "hsl": {
    "h": 55.789,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.6086,
    "c": 0.11997,
    "h": 104.9
  },
  "luminance": 0.22885
}

Semantic roles & 50–950 ramp

primary
#8E861C
secondary
#4951BD
accent
#4AEA3E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8E861C

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

Preview Lab → · Contrast checker → · Palette generator →

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