#808B1A#808B1A

#808B1A is a mid, vivid yellow. Relative luminance 0.231; OKLCH L 60.8% C 0.130 H 115.4°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#808B1A
RGBrgb(128, 139, 26)
HSLhsl(66, 68%, 32%)
HSVhsv(66, 81%, 55%)
CMYKcmyk(7.9%, 0%, 81.3%, 45.5%)
CIE-LABlab(55.21, -18.09, 53.74)
CIE-LCHlch(55.21, 56.70, 108.60°)
OKLaboklab(60.77% -0.0555 0.117)
OKLCHoklch(60.77% 0.13 115.4)
XYZxyz(18.3217, 23.1293, 4.4763)
Luminance0.2313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808B1A #251A8B
analogous
#8B5E1A #808B1A #478B1A
triadic
#808B1A #1A808B #8B1A80
tetradic
#808B1A #1A8B5E #251A8B #8B1A47
square
#808B1A #1A8B5E #251A8B #8B1A47
split-complementary
#808B1A #1A478B #5E1A8B
monochromatic
#212407 #515710 #808B1A #AFBF24 #CDDC43

Accessibility & contrast

On white

3.73
#808B1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#808B1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808B1A
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808B1A#FFFFFF#000000##000000
##808B1A1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#958525
Tritanopia (blue-blind)
#898276
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #808b1a;
/* rgb */ color: rgb(128, 139, 26);
/* oklch */ color: oklch(60.8% 0.130 115.4);
Tailwind
colors: {
  custom: {
    50: '#a8ac62',
    500: '#808b1a',
    950: '#000000',
  },
}
SCSS
$custom: #808b1a;
$custom-light: #a8ac62;
$custom-dark: #000000;
JSON
{
  "hex": "#808b1a",
  "rgb": {
    "r": 128,
    "g": 139,
    "b": 26
  },
  "hsl": {
    "h": 65.841,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.60766,
    "c": 0.1295,
    "h": 115.4
  },
  "luminance": 0.23129
}

Semantic roles & 50–950 ramp

primary
#808B1A
secondary
#5044BD
accent
#3CEB4D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #808B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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