#808E1A#808E1A

#808E1A is a mid, vivid yellow. Relative luminance 0.240; OKLCH L 61.5% C 0.133 H 116.7°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#808E1A
RGBrgb(128, 142, 26)
HSLhsl(67, 69%, 33%)
HSVhsv(67, 82%, 56%)
CMYKcmyk(9.9%, 0%, 81.7%, 44.3%)
CIE-LABlab(56.10, -19.64, 54.53)
CIE-LCHlch(56.10, 57.96, 109.81°)
OKLaboklab(61.48% -0.0598 0.1187)
OKLCHoklch(61.48% 0.133 116.7)
XYZxyz(18.7620, 24.0100, 4.6231)
Luminance0.2401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808E1A #281A8E
analogous
#8E621A #808E1A #468E1A
triadic
#808E1A #1A808E #8E1A80
tetradic
#808E1A #1A8E62 #281A8E #8E1A46
square
#808E1A #1A8E62 #281A8E #8E1A46
split-complementary
#808E1A #1A468E #621A8E
monochromatic
#232707 #515A11 #808E1A #AFC223 #CBDD45

Accessibility & contrast

On white

3.62
#808E1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#808E1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808E1A
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808E1A#FFFFFF#000000##000000
##808E1A1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#978726
Tritanopia (blue-blind)
#898579
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #808e1a;
/* rgb */ color: rgb(128, 142, 26);
/* oklch */ color: oklch(61.5% 0.133 116.7);
Tailwind
colors: {
  custom: {
    50: '#a8af62',
    500: '#808e1a',
    950: '#000000',
  },
}
SCSS
$custom: #808e1a;
$custom-light: #a8af62;
$custom-dark: #000000;
JSON
{
  "hex": "#808e1a",
  "rgb": {
    "r": 128,
    "g": 142,
    "b": 26
  },
  "hsl": {
    "h": 67.241,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.61483,
    "c": 0.1329,
    "h": 116.7
  },
  "luminance": 0.2401
}

Semantic roles & 50–950 ramp

primary
#808E1A
secondary
#5445BE
accent
#3CEC51
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #808E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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