#8D802C#8D802C

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

Color values

HEX#8D802C
RGBrgb(141, 128, 44)
HSLhsl(52, 52%, 36%)
HSVhsv(52, 69%, 55%)
CMYKcmyk(0%, 9.2%, 68.8%, 44.7%)
CIE-LABlab(53.26, -5.36, 45.56)
CIE-LCHlch(53.26, 45.88, 96.71°)
OKLaboklab(59.52% -0.0188 0.1026)
OKLCHoklch(59.52% 0.104 100.4)
XYZxyz(19.1591, 21.2838, 5.4814)
Luminance0.2128 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D802C #2C398D
analogous
#8D502C #8D802C #6A8D2C
triadic
#8D802C #2C8D80 #802C8D
tetradic
#8D802C #2C8D50 #2C398D #8D2C6A
square
#8D802C #2C8D50 #2C398D #8D2C6A
split-complementary
#8D802C #2C6A8D #502C8D
monochromatic
#302B0F #5E561D #8D802C #BCAA3B #CFC165

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D802C#FFFFFF#000000##000000
##8D802C1.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)
#8C7C21
Deuteranopia (green-blind)
#908131
Tritanopia (blue-blind)
#98776F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8d802c;
/* rgb */ color: rgb(141, 128, 44);
/* oklch */ color: oklch(59.5% 0.104 100.4);
Tailwind
colors: {
  custom: {
    50: '#b1a46a',
    500: '#8d802c',
    950: '#000000',
  },
}
SCSS
$custom: #8d802c;
$custom-light: #b1a46a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d802c",
  "rgb": {
    "r": 141,
    "g": 128,
    "b": 44
  },
  "hsl": {
    "h": 51.959,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59523,
    "c": 0.10428,
    "h": 100.4
  },
  "luminance": 0.21283
}

Semantic roles & 50–950 ramp

primary
#8D802C
secondary
#606BB5
accent
#5FDC4C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8D802C

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

Preview Lab → · Contrast checker → · Palette generator →

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