#8D802A#8D802A

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

Color values

HEX#8D802A
RGBrgb(141, 128, 42)
HSLhsl(52, 54%, 36%)
HSVhsv(52, 70%, 55%)
CMYKcmyk(0%, 9.2%, 70.2%, 44.7%)
CIE-LABlab(53.24, -5.48, 46.41)
CIE-LCHlch(53.24, 46.74, 96.73°)
OKLaboklab(59.51% -0.0194 0.104)
OKLCHoklch(59.51% 0.106 100.6)
XYZxyz(19.1224, 21.2691, 5.2881)
Luminance0.2127 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D802A #2A378D
analogous
#8D4E2A #8D802A #688D2A
triadic
#8D802A #2A8D80 #802A8D
tetradic
#8D802A #2A8D4E #2A378D #8D2A68
square
#8D802A #2A8D4E #2A378D #8D2A68
split-complementary
#8D802A #2A688D #4E2A8D
monochromatic
#2F2A0E #5E551C #8D802A #BCAB38 #D0C261

Accessibility & contrast

On white

4.00
#8D802A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#8D802A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D802A
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D802A#FFFFFF#000000##000000
##8D802A1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d802a;
/* rgb */ color: rgb(141, 128, 42);
/* oklch */ color: oklch(59.5% 0.106 100.6);
Tailwind
colors: {
  custom: {
    50: '#b1a469',
    500: '#8d802a',
    950: '#000000',
  },
}
SCSS
$custom: #8d802a;
$custom-light: #b1a469;
$custom-dark: #000000;
JSON
{
  "hex": "#8d802a",
  "rgb": {
    "r": 141,
    "g": 128,
    "b": 42
  },
  "hsl": {
    "h": 52.121,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59506,
    "c": 0.1058,
    "h": 100.6
  },
  "luminance": 0.21268
}

Semantic roles & 50–950 ramp

primary
#8D802A
secondary
#5D69B6
accent
#5EDD4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D802A

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

Preview Lab → · Contrast checker → · Palette generator →

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