#8E862A#8E862A

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

Color values

HEX#8E862A
RGBrgb(142, 134, 42)
HSLhsl(55, 54%, 36%)
HSVhsv(55, 70%, 56%)
CMYKcmyk(0%, 5.6%, 70.4%, 44.3%)
CIE-LABlab(55.04, -8.32, 48.26)
CIE-LCHlch(55.04, 48.97, 99.78°)
OKLaboklab(60.96% -0.0275 0.1079)
OKLCHoklch(60.96% 0.111 104.3)
XYZxyz(20.0992, 22.9689, 5.5648)
Luminance0.2297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E862A #2A328E
analogous
#8E542A #8E862A #648E2A
triadic
#8E862A #2A8E86 #862A8E
tetradic
#8E862A #2A8E54 #2A328E #8E2A64
square
#8E862A #2A8E54 #2A328E #8E2A64
split-complementary
#8E862A #2A648E #542A8E
monochromatic
#302D0E #5F591C #8E862A #BDB338 #D1C862

Accessibility & contrast

On white

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

On black

5.59
#8E862A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E862A
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E862A#FFFFFF#000000##000000
##8E862A1.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#92811C
Deuteranopia (green-blind)
#958630
Tritanopia (blue-blind)
#997D74
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8e862a;
/* rgb */ color: rgb(142, 134, 42);
/* oklch */ color: oklch(61.0% 0.111 104.3);
Tailwind
colors: {
  custom: {
    50: '#b2a969',
    500: '#8e862a',
    950: '#000000',
  },
}
SCSS
$custom: #8e862a;
$custom-light: #b2a969;
$custom-dark: #000000;
JSON
{
  "hex": "#8e862a",
  "rgb": {
    "r": 142,
    "g": 134,
    "b": 42
  },
  "hsl": {
    "h": 55.2,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.60956,
    "c": 0.11133,
    "h": 104.3
  },
  "luminance": 0.22968
}

Semantic roles & 50–950 ramp

primary
#8E862A
secondary
#5D64B6
accent
#56DE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8E862A

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

Preview Lab → · Contrast checker → · Palette generator →

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