#8E861A#8E861A

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

Color values

HEX#8E861A
RGBrgb(142, 134, 26)
HSLhsl(56, 69%, 33%)
HSVhsv(56, 82%, 56%)
CMYKcmyk(0%, 5.6%, 81.7%, 44.3%)
CIE-LABlab(54.94, -9.06, 53.97)
CIE-LCHlch(54.94, 54.72, 99.53°)
OKLaboklab(60.85% -0.0312 0.1169)
OKLCHoklch(60.85% 0.121 104.9)
XYZxyz(19.8678, 22.8764, 4.3461)
Luminance0.2288 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E861A #1A228E
analogous
#8E4C1A #8E861A #5C8E1A
triadic
#8E861A #1A8E86 #861A8E
tetradic
#8E861A #1A8E4C #1A228E #8E1A5C
square
#8E861A #1A8E4C #1A228E #8E1A5C
split-complementary
#8E861A #1A5C8E #4C1A8E
monochromatic
#272407 #5A5511 #8E861A #C2B723 #DDD345

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E861A#FFFFFF#000000##000000
##8E861A1.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)
#958623
Tritanopia (blue-blind)
#997C72
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8e861a;
/* rgb */ color: rgb(142, 134, 26);
/* oklch */ color: oklch(60.9% 0.121 104.9);
Tailwind
colors: {
  custom: {
    50: '#b3a862',
    500: '#8e861a',
    950: '#000000',
  },
}
SCSS
$custom: #8e861a;
$custom-light: #b3a862;
$custom-dark: #000000;
JSON
{
  "hex": "#8e861a",
  "rgb": {
    "r": 142,
    "g": 134,
    "b": 26
  },
  "hsl": {
    "h": 55.862,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.6085,
    "c": 0.12097,
    "h": 104.9
  },
  "luminance": 0.22876
}

Semantic roles & 50–950 ramp

primary
#8E861A
secondary
#454EBE
accent
#48EC3C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8E861A

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

Preview Lab → · Contrast checker → · Palette generator →

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