#8E861F#8E861F

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

Color values

HEX#8E861F
RGBrgb(142, 134, 31)
HSLhsl(56, 64%, 34%)
HSVhsv(56, 78%, 56%)
CMYKcmyk(0%, 5.6%, 78.2%, 44.3%)
CIE-LABlab(54.97, -8.86, 52.37)
CIE-LCHlch(54.97, 53.12, 99.61°)
OKLaboklab(60.88% -0.0302 0.1145)
OKLCHoklch(60.88% 0.118 104.8)
XYZxyz(19.9286, 22.9007, 4.6666)
Luminance0.2290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E861F #1F278E
analogous
#8E4F1F #8E861F #5F8E1F
triadic
#8E861F #1F8E86 #861F8E
tetradic
#8E861F #1F8E4F #1F278E #8E1F5F
square
#8E861F #1F8E4F #1F278E #8E1F5F
split-complementary
#8E861F #1F5F8E #4F1F8E
monochromatic
#2A2709 #5C5714 #8E861F #C0B52A #D9CF4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E861F#FFFFFF#000000##000000
##8E861F1.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)
#928106
Deuteranopia (green-blind)
#958627
Tritanopia (blue-blind)
#997C73
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8e861f;
/* rgb */ color: rgb(142, 134, 31);
/* oklch */ color: oklch(60.9% 0.118 104.8);
Tailwind
colors: {
  custom: {
    50: '#b3a864',
    500: '#8e861f',
    950: '#000000',
  },
}
SCSS
$custom: #8e861f;
$custom-light: #b3a864;
$custom-dark: #000000;
JSON
{
  "hex": "#8e861f",
  "rgb": {
    "r": 142,
    "g": 134,
    "b": 31
  },
  "hsl": {
    "h": 55.676,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.60878,
    "c": 0.11838,
    "h": 104.8
  },
  "luminance": 0.229
}

Semantic roles & 50–950 ramp

primary
#8E861F
secondary
#4D55BB
accent
#4DE741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8E861F

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

Preview Lab → · Contrast checker → · Palette generator →

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