#80802B#80802B

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

Color values

HEX#80802B
RGBrgb(128, 128, 43)
HSLhsl(60, 50%, 34%)
HSVhsv(60, 66%, 50%)
CMYKcmyk(0%, 0%, 66.4%, 49.8%)
CIE-LABlab(52.07, -11.35, 44.39)
CIE-LCHlch(52.07, 45.82, 104.34°)
OKLaboklab(58.29% -0.0351 0.1003)
OKLCHoklch(58.29% 0.106 109.3)
XYZxyz(17.0579, 20.2024, 5.2859)
Luminance0.2020 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80802B #2B2B80
analogous
#80552B #80802B #55802B
triadic
#80802B #2B8080 #802B80
tetradic
#80802B #2B8055 #2B2B80 #802B55
square
#80802B #2B8055 #2B2B80 #802B55
split-complementary
#80802B #2B5580 #552B80
monochromatic
#24240C #52521C #80802B #AEAE3A #C9C95D

Accessibility & contrast

On white

4.17
#80802B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##80802B#FFFFFF#000000##000000
##80802B1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #80802b;
/* rgb */ color: rgb(128, 128, 43);
/* oklch */ color: oklch(58.3% 0.106 109.3);
Tailwind
colors: {
  custom: {
    50: '#a7a469',
    500: '#80802b',
    950: '#000000',
  },
}
SCSS
$custom: #80802b;
$custom-light: #a7a469;
$custom-dark: #000000;
JSON
{
  "hex": "#80802b",
  "rgb": {
    "r": 128,
    "g": 128,
    "b": 43
  },
  "hsl": {
    "h": 60,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.58286,
    "c": 0.10629,
    "h": 109.3
  },
  "luminance": 0.20202
}

Semantic roles & 50–950 ramp

primary
#80802B
secondary
#5858AE
accent
#4FD94F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #80802B

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

Preview Lab → · Contrast checker → · Palette generator →

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