#8D821D#8D821D

#8D821D is a mid, moderate yellow. Relative luminance 0.217; OKLCH L 59.9% C 0.116 H 102.8°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#8D821D
RGBrgb(141, 130, 29)
HSLhsl(54, 66%, 33%)
HSVhsv(54, 79%, 55%)
CMYKcmyk(0%, 7.8%, 79.4%, 44.7%)
CIE-LABlab(53.73, -7.22, 51.88)
CIE-LCHlch(53.73, 52.38, 97.92°)
OKLaboklab(59.86% -0.0257 0.1131)
OKLCHoklch(59.86% 0.116 102.8)
XYZxyz(19.1898, 21.7175, 4.3433)
Luminance0.2172 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D821D #1D288D
analogous
#8D4A1D #8D821D #608D1D
triadic
#8D821D #1D8D82 #821D8D
tetradic
#8D821D #1D8D4A #1D288D #8D1D60
square
#8D821D #1D8D4A #1D288D #8D1D60
split-complementary
#8D821D #1D608D #4A1D8D
monochromatic
#272408 #5A5313 #8D821D #C0B127 #DACC4B

Accessibility & contrast

On white

3.93
#8D821D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#8D821D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D821D
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D821D#FFFFFF#000000##000000
##8D821D1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E04
Deuteranopia (green-blind)
#928325
Tritanopia (blue-blind)
#98786F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8d821d;
/* rgb */ color: rgb(141, 130, 29);
/* oklch */ color: oklch(59.9% 0.116 102.8);
Tailwind
colors: {
  custom: {
    50: '#b2a662',
    500: '#8d821d',
    950: '#000000',
  },
}
SCSS
$custom: #8d821d;
$custom-light: #b2a662;
$custom-dark: #000000;
JSON
{
  "hex": "#8d821d",
  "rgb": {
    "r": 141,
    "g": 130,
    "b": 29
  },
  "hsl": {
    "h": 54.107,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.59862,
    "c": 0.11594,
    "h": 102.8
  },
  "luminance": 0.21717
}

Semantic roles & 50–950 ramp

primary
#8D821D
secondary
#4A55BC
accent
#50E93F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D821D

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

Preview Lab → · Contrast checker → · Palette generator →

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