#8D861C#8D861C

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

Color values

HEX#8D861C
RGBrgb(141, 134, 28)
HSLhsl(56, 67%, 33%)
HSVhsv(56, 80%, 55%)
CMYKcmyk(0%, 5%, 80.1%, 44.7%)
CIE-LABlab(54.86, -9.44, 53.24)
CIE-LCHlch(54.86, 54.07, 100.06°)
OKLaboklab(60.77% -0.032 0.1158)
OKLCHoklch(60.77% 0.12 105.5)
XYZxyz(19.7201, 22.7975, 4.4600)
Luminance0.2280 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D861C #1C238D
analogous
#8D4D1C #8D861C #5B8D1C
triadic
#8D861C #1C8D86 #861C8D
tetradic
#8D861C #1C8D4D #1C238D #8D1C5B
square
#8D861C #1C8D4D #1C238D #8D1C5B
split-complementary
#8D861C #1C5B8D #4D1C8D
monochromatic
#272508 #5A5512 #8D861C #C0B726 #DBD249

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D861C#FFFFFF#000000##000000
##8D861C1.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)
#958525
Tritanopia (blue-blind)
#987C72
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8d861c;
/* rgb */ color: rgb(141, 134, 28);
/* oklch */ color: oklch(60.8% 0.120 105.5);
Tailwind
colors: {
  custom: {
    50: '#b2a862',
    500: '#8d861c',
    950: '#000000',
  },
}
SCSS
$custom: #8d861c;
$custom-light: #b2a862;
$custom-dark: #000000;
JSON
{
  "hex": "#8d861c",
  "rgb": {
    "r": 141,
    "g": 134,
    "b": 28
  },
  "hsl": {
    "h": 56.283,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.60766,
    "c": 0.1201,
    "h": 105.5
  },
  "luminance": 0.22797
}

Semantic roles & 50–950 ramp

primary
#8D861C
secondary
#484FBD
accent
#49EA3E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D861C

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

Preview Lab → · Contrast checker → · Palette generator →

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