#8D802D#8D802D

#8D802D is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.5% C 0.103 H 100.3°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#8D802D
RGBrgb(141, 128, 45)
HSLhsl(52, 52%, 36%)
HSVhsv(52, 68%, 55%)
CMYKcmyk(0%, 9.2%, 68.1%, 44.7%)
CIE-LABlab(53.27, -5.30, 45.13)
CIE-LCHlch(53.27, 45.44, 96.70°)
OKLaboklab(59.53% -0.0185 0.1018)
OKLCHoklch(59.53% 0.104 100.3)
XYZxyz(19.1782, 21.2914, 5.5816)
Luminance0.2129 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D802D #2D3A8D
analogous
#8D502D #8D802D #6A8D2D
triadic
#8D802D #2D8D80 #802D8D
tetradic
#8D802D #2D8D50 #2D3A8D #8D2D6A
square
#8D802D #2D8D50 #2D3A8D #8D2D6A
split-complementary
#8D802D #2D6A8D #502D8D
monochromatic
#302C0F #5F561E #8D802D #BBAA3C #CEC066

Accessibility & contrast

On white

3.99
#8D802D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#8D802D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D802D
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D802D#FFFFFF#000000##000000
##8D802D1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C22
Deuteranopia (green-blind)
#908132
Tritanopia (blue-blind)
#98776F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8d802d;
/* rgb */ color: rgb(141, 128, 45);
/* oklch */ color: oklch(59.5% 0.103 100.3);
Tailwind
colors: {
  custom: {
    50: '#b1a46b',
    500: '#8d802d',
    950: '#000000',
  },
}
SCSS
$custom: #8d802d;
$custom-light: #b1a46b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d802d",
  "rgb": {
    "r": 141,
    "g": 128,
    "b": 45
  },
  "hsl": {
    "h": 51.875,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.59532,
    "c": 0.1035,
    "h": 100.3
  },
  "luminance": 0.21291
}

Semantic roles & 50–950 ramp

primary
#8D802D
secondary
#616CB5
accent
#60DB4D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8D802D

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

Preview Lab → · Contrast checker → · Palette generator →

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