#808C1A#808C1A

#808C1A is a mid, vivid yellow. Relative luminance 0.234; OKLCH L 61.0% C 0.131 H 115.8°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#808C1A
RGBrgb(128, 140, 26)
HSLhsl(66, 69%, 33%)
HSVhsv(66, 81%, 55%)
CMYKcmyk(8.6%, 0%, 81.4%, 45.1%)
CIE-LABlab(55.50, -18.61, 54.01)
CIE-LCHlch(55.50, 57.12, 109.01°)
OKLaboklab(61% -0.057 0.1176)
OKLCHoklch(61% 0.131 115.8)
XYZxyz(18.4671, 23.4202, 4.5248)
Luminance0.2342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808C1A #261A8C
analogous
#8C5F1A #808C1A #478C1A
triadic
#808C1A #1A808C #8C1A80
tetradic
#808C1A #1A8C5F #261A8C #8C1A47
square
#808C1A #1A8C5F #261A8C #8C1A47
split-complementary
#808C1A #1A478C #5F1A8C
monochromatic
#222507 #515810 #808C1A #AFC024 #CCDC44

Accessibility & contrast

On white

3.69
#808C1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#808C1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808C1A
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808C1A#FFFFFF#000000##000000
##808C1A1.003.695.685.68
#FFFFFF3.691.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#958625
Tritanopia (blue-blind)
#898377
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #808c1a;
/* rgb */ color: rgb(128, 140, 26);
/* oklch */ color: oklch(61.0% 0.131 115.8);
Tailwind
colors: {
  custom: {
    50: '#a8ad62',
    500: '#808c1a',
    950: '#000000',
  },
}
SCSS
$custom: #808c1a;
$custom-light: #a8ad62;
$custom-dark: #000000;
JSON
{
  "hex": "#808c1a",
  "rgb": {
    "r": 128,
    "g": 140,
    "b": 26
  },
  "hsl": {
    "h": 66.316,
    "s": 68.675,
    "l": 32.549
  },
  "oklch": {
    "l": 0.61004,
    "c": 0.13064,
    "h": 115.8
  },
  "luminance": 0.2342
}

Semantic roles & 50–950 ramp

primary
#808C1A
secondary
#5144BE
accent
#3CEC4F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #808C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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