#8C841D#8C841D

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

Color values

HEX#8C841D
RGBrgb(140, 132, 29)
HSLhsl(56, 66%, 33%)
HSVhsv(56, 79%, 55%)
CMYKcmyk(0%, 5.7%, 79.3%, 45.1%)
CIE-LABlab(54.20, -8.78, 52.28)
CIE-LCHlch(54.20, 53.01, 99.53°)
OKLaboklab(60.22% -0.03 0.114)
OKLCHoklch(60.22% 0.118 104.8)
XYZxyz(19.2891, 22.1675, 4.4249)
Luminance0.2217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C841D #1D258C
analogous
#8C4D1D #8C841D #5C8C1D
triadic
#8C841D #1D8C84 #841D8C
tetradic
#8C841D #1D8C4D #1D258C #8C1D5C
square
#8C841D #1D8C4D #1D258C #8C1D5C
split-complementary
#8C841D #1D5C8C #4D1D8C
monochromatic
#272408 #595412 #8C841D #BFB428 #D9CF4A

Accessibility & contrast

On white

3.86
#8C841D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#8C841D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C841D
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C841D#FFFFFF#000000##000000
##8C841D1.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F03
Deuteranopia (green-blind)
#938425
Tritanopia (blue-blind)
#977A71
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8c841d;
/* rgb */ color: rgb(140, 132, 29);
/* oklch */ color: oklch(60.2% 0.118 104.8);
Tailwind
colors: {
  custom: {
    50: '#b1a763',
    500: '#8c841d',
    950: '#000000',
  },
}
SCSS
$custom: #8c841d;
$custom-light: #b1a763;
$custom-dark: #000000;
JSON
{
  "hex": "#8c841d",
  "rgb": {
    "r": 140,
    "g": 132,
    "b": 29
  },
  "hsl": {
    "h": 55.676,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.60221,
    "c": 0.11784,
    "h": 104.8
  },
  "luminance": 0.22167
}

Semantic roles & 50–950 ramp

primary
#8C841D
secondary
#4951BC
accent
#4BE93F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8C841D

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

Preview Lab → · Contrast checker → · Palette generator →

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