#8D841D#8D841D

#8D841D is a mid, moderate yellow. Relative luminance 0.223; OKLCH L 60.3% C 0.118 H 104.2°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#8D841D
RGBrgb(141, 132, 29)
HSLhsl(55, 66%, 33%)
HSVhsv(55, 79%, 55%)
CMYKcmyk(0%, 6.4%, 79.4%, 44.7%)
CIE-LABlab(54.30, -8.32, 52.40)
CIE-LCHlch(54.30, 53.05, 99.02°)
OKLaboklab(60.32% -0.0288 0.1142)
OKLCHoklch(60.32% 0.118 104.2)
XYZxyz(19.4584, 22.2548, 4.4328)
Luminance0.2225 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D841D #1D268D
analogous
#8D4C1D #8D841D #5E8D1D
triadic
#8D841D #1D8D84 #841D8D
tetradic
#8D841D #1D8D4C #1D268D #8D1D5E
square
#8D841D #1D8D4C #1D268D #8D1D5E
split-complementary
#8D841D #1D5E8D #4C1D8D
monochromatic
#272508 #5A5413 #8D841D #C0B427 #DACE4B

Accessibility & contrast

On white

3.85
#8D841D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#8D841D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D841D
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D841D#FFFFFF#000000##000000
##8D841D1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d841d;
/* rgb */ color: rgb(141, 132, 29);
/* oklch */ color: oklch(60.3% 0.118 104.2);
Tailwind
colors: {
  custom: {
    50: '#b2a763',
    500: '#8d841d',
    950: '#000000',
  },
}
SCSS
$custom: #8d841d;
$custom-light: #b2a763;
$custom-dark: #000000;
JSON
{
  "hex": "#8d841d",
  "rgb": {
    "r": 141,
    "g": 132,
    "b": 29
  },
  "hsl": {
    "h": 55.179,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.60316,
    "c": 0.11773,
    "h": 104.2
  },
  "luminance": 0.22254
}

Semantic roles & 50–950 ramp

primary
#8D841D
secondary
#4A53BC
accent
#4DE93F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D841D

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

Preview Lab → · Contrast checker → · Palette generator →

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