#8D861A#8D861A

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

Color values

HEX#8D861A
RGBrgb(141, 134, 26)
HSLhsl(56, 69%, 33%)
HSVhsv(56, 82%, 55%)
CMYKcmyk(0%, 5%, 81.6%, 44.7%)
CIE-LABlab(54.85, -9.52, 53.85)
CIE-LCHlch(54.85, 54.69, 100.02°)
OKLaboklab(60.76% -0.0324 0.1167)
OKLCHoklch(60.76% 0.121 105.5)
XYZxyz(19.6969, 22.7883, 4.3381)
Luminance0.2279 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D861A #1A218D
analogous
#8D4D1A #8D861A #5A8D1A
triadic
#8D861A #1A8D86 #861A8D
tetradic
#8D861A #1A8D4D #1A218D #8D1A5A
square
#8D861A #1A8D4D #1A218D #8D1A5A
split-complementary
#8D861A #1A5A8D #4D1A8D
monochromatic
#262407 #595510 #8D861A #C1B724 #DDD345

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D861A#FFFFFF#000000##000000
##8D861A1.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)
#928100
Deuteranopia (green-blind)
#958523
Tritanopia (blue-blind)
#987C72
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8d861a;
/* rgb */ color: rgb(141, 134, 26);
/* oklch */ color: oklch(60.8% 0.121 105.5);
Tailwind
colors: {
  custom: {
    50: '#b2a862',
    500: '#8d861a',
    950: '#000000',
  },
}
SCSS
$custom: #8d861a;
$custom-light: #b2a862;
$custom-dark: #000000;
JSON
{
  "hex": "#8d861a",
  "rgb": {
    "r": 141,
    "g": 134,
    "b": 26
  },
  "hsl": {
    "h": 56.348,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.60755,
    "c": 0.1211,
    "h": 105.5
  },
  "luminance": 0.22787
}

Semantic roles & 50–950 ramp

primary
#8D861A
secondary
#454CBE
accent
#47EC3C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8D861A

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

Preview Lab → · Contrast checker → · Palette generator →

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