#808D1A#808D1A

#808D1A is a mid, vivid yellow. Relative luminance 0.237; OKLCH L 61.2% C 0.132 H 116.3°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#808D1A
RGBrgb(128, 141, 26)
HSLhsl(67, 69%, 33%)
HSVhsv(67, 82%, 55%)
CMYKcmyk(9.2%, 0%, 81.6%, 44.7%)
CIE-LABlab(55.80, -19.12, 54.27)
CIE-LCHlch(55.80, 57.54, 109.41°)
OKLaboklab(61.24% -0.0584 0.1181)
OKLCHoklch(61.24% 0.132 116.3)
XYZxyz(18.6139, 23.7138, 4.5737)
Luminance0.2371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808D1A #271A8D
analogous
#8D611A #808D1A #468D1A
triadic
#808D1A #1A808D #8D1A80
tetradic
#808D1A #1A8D61 #271A8D #8D1A46
square
#808D1A #1A8D61 #271A8D #8D1A46
split-complementary
#808D1A #1A468D #611A8D
monochromatic
#222607 #515910 #808D1A #AFC124 #CBDD45

Accessibility & contrast

On white

3.66
#808D1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#808D1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808D1A
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808D1A#FFFFFF#000000##000000
##808D1A1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#968625
Tritanopia (blue-blind)
#898478
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #808d1a;
/* rgb */ color: rgb(128, 141, 26);
/* oklch */ color: oklch(61.2% 0.132 116.3);
Tailwind
colors: {
  custom: {
    50: '#a8ae62',
    500: '#808d1a',
    950: '#000000',
  },
}
SCSS
$custom: #808d1a;
$custom-light: #a8ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#808d1a",
  "rgb": {
    "r": 128,
    "g": 141,
    "b": 26
  },
  "hsl": {
    "h": 66.783,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.61243,
    "c": 0.13177,
    "h": 116.3
  },
  "luminance": 0.23714
}

Semantic roles & 50–950 ramp

primary
#808D1A
secondary
#5345BE
accent
#3CEC50
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #808D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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