#8D851D#8D851D

#8D851D is a mid, moderate yellow. Relative luminance 0.225; OKLCH L 60.5% C 0.119 H 104.8°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#8D851D
RGBrgb(141, 133, 29)
HSLhsl(56, 66%, 33%)
HSVhsv(56, 79%, 55%)
CMYKcmyk(0%, 5.7%, 79.4%, 44.7%)
CIE-LABlab(54.58, -8.86, 52.66)
CIE-LCHlch(54.58, 53.40, 99.55°)
OKLaboklab(60.54% -0.0303 0.1147)
OKLCHoklch(60.54% 0.119 104.8)
XYZxyz(19.5947, 22.5273, 4.4782)
Luminance0.2253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D851D #1D258D
analogous
#8D4D1D #8D851D #5D8D1D
triadic
#8D851D #1D8D85 #851D8D
tetradic
#8D851D #1D8D4D #1D258D #8D1D5D
square
#8D851D #1D8D4D #1D258D #8D1D5D
split-complementary
#8D851D #1D5D8D #4D1D8D
monochromatic
#272508 #5A5513 #8D851D #C0B527 #DAD04B

Accessibility & contrast

On white

3.81
#8D851D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#8D851D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D851D
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D851D#FFFFFF#000000##000000
##8D851D1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#918002
Deuteranopia (green-blind)
#948525
Tritanopia (blue-blind)
#987B72
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8d851d;
/* rgb */ color: rgb(141, 133, 29);
/* oklch */ color: oklch(60.5% 0.119 104.8);
Tailwind
colors: {
  custom: {
    50: '#b2a863',
    500: '#8d851d',
    950: '#000000',
  },
}
SCSS
$custom: #8d851d;
$custom-light: #b2a863;
$custom-dark: #000000;
JSON
{
  "hex": "#8d851d",
  "rgb": {
    "r": 141,
    "g": 133,
    "b": 29
  },
  "hsl": {
    "h": 55.714,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.60544,
    "c": 0.11865,
    "h": 104.8
  },
  "luminance": 0.22526
}

Semantic roles & 50–950 ramp

primary
#8D851D
secondary
#4A52BC
accent
#4BE93F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D851D

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

Preview Lab → · Contrast checker → · Palette generator →

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