#8D861E#8D861E

#8D861E is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 60.8% C 0.119 H 105.4°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#8D861E
RGBrgb(141, 134, 30)
HSLhsl(56, 65%, 34%)
HSVhsv(56, 79%, 55%)
CMYKcmyk(0%, 5%, 78.7%, 44.7%)
CIE-LABlab(54.87, -9.36, 52.59)
CIE-LCHlch(54.87, 53.42, 100.10°)
OKLaboklab(60.78% -0.0316 0.1148)
OKLCHoklch(60.78% 0.119 105.4)
XYZxyz(19.7448, 22.8074, 4.5903)
Luminance0.2281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D861E #1E258D
analogous
#8D4E1E #8D861E #5C8D1E
triadic
#8D861E #1E8D86 #861E8D
tetradic
#8D861E #1E8D4E #1E258D #8D1E5C
square
#8D861E #1E8D4E #1E258D #8D1E5C
split-complementary
#8D861E #1E5C8D #4E1E8D
monochromatic
#282609 #5B5613 #8D861E #BFB629 #D9D04C

Accessibility & contrast

On white

3.78
#8D861E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#8D861E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D861E
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D861E#FFFFFF#000000##000000
##8D861E1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928104
Deuteranopia (green-blind)
#958526
Tritanopia (blue-blind)
#987C73
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8d861e;
/* rgb */ color: rgb(141, 134, 30);
/* oklch */ color: oklch(60.8% 0.119 105.4);
Tailwind
colors: {
  custom: {
    50: '#b2a863',
    500: '#8d861e',
    950: '#000000',
  },
}
SCSS
$custom: #8d861e;
$custom-light: #b2a863;
$custom-dark: #000000;
JSON
{
  "hex": "#8d861e",
  "rgb": {
    "r": 141,
    "g": 134,
    "b": 30
  },
  "hsl": {
    "h": 56.216,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.60777,
    "c": 0.11904,
    "h": 105.4
  },
  "luminance": 0.22807
}

Semantic roles & 50–950 ramp

primary
#8D861E
secondary
#4B52BC
accent
#4BE840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D861E

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

Preview Lab → · Contrast checker → · Palette generator →

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