#80802D#80802D

#80802D is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.3% C 0.105 H 109.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#80802D
RGBrgb(128, 128, 45)
HSLhsl(60, 48%, 34%)
HSVhsv(60, 65%, 50%)
CMYKcmyk(0%, 0%, 64.8%, 49.8%)
CIE-LABlab(52.08, -11.22, 43.52)
CIE-LCHlch(52.08, 44.95, 104.45°)
OKLaboklab(58.3% -0.0345 0.0988)
OKLCHoklch(58.3% 0.105 109.2)
XYZxyz(17.0955, 20.2175, 5.4839)
Luminance0.2022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80802D #2D2D80
analogous
#80572D #80802D #57802D
triadic
#80802D #2D8080 #802D80
tetradic
#80802D #2D8057 #2D2D80 #802D57
square
#80802D #2D8057 #2D2D80 #802D57
split-complementary
#80802D #2D5780 #572D80
monochromatic
#25250D #53531D #80802D #ADAD3D #C7C760

Accessibility & contrast

On white

4.16
#80802D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#80802D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #80802D
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80802D#FFFFFF#000000##000000
##80802D1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B22
Deuteranopia (green-blind)
#8B7E32
Tritanopia (blue-blind)
#89786F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #80802d;
/* rgb */ color: rgb(128, 128, 45);
/* oklch */ color: oklch(58.3% 0.105 109.2);
Tailwind
colors: {
  custom: {
    50: '#a7a46a',
    500: '#80802d',
    950: '#000000',
  },
}
SCSS
$custom: #80802d;
$custom-light: #a7a46a;
$custom-dark: #000000;
JSON
{
  "hex": "#80802d",
  "rgb": {
    "r": 128,
    "g": 128,
    "b": 45
  },
  "hsl": {
    "h": 60,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58305,
    "c": 0.10466,
    "h": 109.2
  },
  "luminance": 0.20217
}

Semantic roles & 50–950 ramp

primary
#80802D
secondary
#5B5BAE
accent
#50D850
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #80802D

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

Preview Lab → · Contrast checker → · Palette generator →

#80802D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva