#80802F#80802F

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

Color values

HEX#80802F
RGBrgb(128, 128, 47)
HSLhsl(60, 46%, 34%)
HSVhsv(60, 63%, 50%)
CMYKcmyk(0%, 0%, 63.3%, 49.8%)
CIE-LABlab(52.10, -11.08, 42.63)
CIE-LCHlch(52.10, 44.05, 104.57°)
OKLaboklab(58.33% -0.0339 0.0972)
OKLCHoklch(58.33% 0.103 109.2)
XYZxyz(17.1349, 20.2332, 5.6916)
Luminance0.2023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80802F #2F2F80
analogous
#80582F #80802F #58802F
triadic
#80802F #2F8080 #802F80
tetradic
#80802F #2F8058 #2F2F80 #802F58
square
#80802F #2F8058 #2F2F80 #802F58
split-complementary
#80802F #2F5880 #582F80
monochromatic
#26260E #53531F #80802F #ADAD3F #C6C663

Accessibility & contrast

On white

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

On black

5.05
#80802F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #80802F
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80802F#FFFFFF#000000##000000
##80802F1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #80802f;
/* rgb */ color: rgb(128, 128, 47);
/* oklch */ color: oklch(58.3% 0.103 109.2);
Tailwind
colors: {
  custom: {
    50: '#a7a46c',
    500: '#80802f',
    950: '#000000',
  },
}
SCSS
$custom: #80802f;
$custom-light: #a7a46c;
$custom-dark: #000000;
JSON
{
  "hex": "#80802f",
  "rgb": {
    "r": 128,
    "g": 128,
    "b": 47
  },
  "hsl": {
    "h": 60,
    "s": 46.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58325,
    "c": 0.10296,
    "h": 109.2
  },
  "luminance": 0.20233
}

Semantic roles & 50–950 ramp

primary
#80802F
secondary
#5E5EAD
accent
#52D652
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #80802F

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

Preview Lab → · Contrast checker → · Palette generator →

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