#8E871E#8E871E

#8E871E is a mid, moderate yellow. Relative luminance 0.232; OKLCH L 61.1% C 0.120 H 105.5°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#8E871E
RGBrgb(142, 135, 30)
HSLhsl(56, 65%, 34%)
HSVhsv(56, 79%, 56%)
CMYKcmyk(0%, 4.9%, 78.9%, 44.3%)
CIE-LABlab(55.25, -9.45, 52.96)
CIE-LCHlch(55.25, 53.80, 100.11°)
OKLaboklab(61.1% -0.0319 0.1155)
OKLCHoklch(61.1% 0.12 105.5)
XYZxyz(20.0545, 23.1732, 4.6446)
Luminance0.2317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E871E #1E258E
analogous
#8E4F1E #8E871E #5D8E1E
triadic
#8E871E #1E8E87 #871E8E
tetradic
#8E871E #1E8E4F #1E258E #8E1E5D
square
#8E871E #1E8E4F #1E258E #8E1E5D
split-complementary
#8E871E #1E5D8E #4F1E8E
monochromatic
#292709 #5B5713 #8E871E #C1B729 #D9D14D

Accessibility & contrast

On white

3.73
#8E871E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#8E871E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E871E
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E871E#FFFFFF#000000##000000
##8E871E1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#938203
Deuteranopia (green-blind)
#968626
Tritanopia (blue-blind)
#997D73
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8e871e;
/* rgb */ color: rgb(142, 135, 30);
/* oklch */ color: oklch(61.1% 0.120 105.5);
Tailwind
colors: {
  custom: {
    50: '#b3a963',
    500: '#8e871e',
    950: '#000000',
  },
}
SCSS
$custom: #8e871e;
$custom-light: #b3a963;
$custom-dark: #000000;
JSON
{
  "hex": "#8e871e",
  "rgb": {
    "r": 142,
    "g": 135,
    "b": 30
  },
  "hsl": {
    "h": 56.25,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.61099,
    "c": 0.11985,
    "h": 105.5
  },
  "luminance": 0.23172
}

Semantic roles & 50–950 ramp

primary
#8E871E
secondary
#4C53BC
accent
#4AE840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8E871E

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

Preview Lab → · Contrast checker → · Palette generator →

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