#808D2A#808D2A

#808D2A is a mid, vivid yellow. Relative luminance 0.238; OKLCH L 61.3% C 0.122 H 116.6°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#808D2A
RGBrgb(128, 141, 42)
HSLhsl(68, 54%, 36%)
HSVhsv(68, 70%, 55%)
CMYKcmyk(9.2%, 0%, 70.2%, 44.7%)
CIE-LABlab(55.89, -18.33, 48.73)
CIE-LCHlch(55.89, 52.07, 110.61°)
OKLaboklab(61.35% -0.0547 0.1093)
OKLCHoklch(61.35% 0.122 116.6)
XYZxyz(18.8453, 23.8064, 5.7924)
Luminance0.2381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808D2A #372A8D
analogous
#8D682A #808D2A #4E8D2A
triadic
#808D2A #2A808D #8D2A80
tetradic
#808D2A #2A8D68 #372A8D #8D2A4E
square
#808D2A #2A8D68 #372A8D #8D2A4E
split-complementary
#808D2A #2A4E8D #682A8D
monochromatic
#2A2F0E #555E1C #808D2A #ABBC38 #C2D061

Accessibility & contrast

On white

3.65
#808D2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#808D2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808D2A
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808D2A#FFFFFF#000000##000000
##808D2A1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#97851B
Deuteranopia (green-blind)
#968732
Tritanopia (blue-blind)
#888579
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #808d2a;
/* rgb */ color: rgb(128, 141, 42);
/* oklch */ color: oklch(61.3% 0.122 116.6);
Tailwind
colors: {
  custom: {
    50: '#a8ae6a',
    500: '#808d2a',
    950: '#000000',
  },
}
SCSS
$custom: #808d2a;
$custom-light: #a8ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#808d2a",
  "rgb": {
    "r": 128,
    "g": 141,
    "b": 42
  },
  "hsl": {
    "h": 67.879,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.61348,
    "c": 0.12224,
    "h": 116.6
  },
  "luminance": 0.23806
}

Semantic roles & 50–950 ramp

primary
#808D2A
secondary
#695DB6
accent
#4ADD5E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #808D2A

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

Preview Lab → · Contrast checker → · Palette generator →

#808D2A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva