#808D1E#808D1E

#808D1E is a mid, vivid yellow. Relative luminance 0.237; OKLCH L 61.3% C 0.130 H 116.4°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#808D1E
RGBrgb(128, 141, 30)
HSLhsl(67, 65%, 34%)
HSVhsv(67, 79%, 55%)
CMYKcmyk(9.2%, 0%, 78.7%, 44.7%)
CIE-LABlab(55.82, -18.96, 53.05)
CIE-LCHlch(55.82, 56.33, 109.67°)
OKLaboklab(61.27% -0.0576 0.1163)
OKLCHoklch(61.27% 0.13 116.4)
XYZxyz(18.6618, 23.7330, 4.8259)
Luminance0.2373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808D1E #2B1E8D
analogous
#8D621E #808D1E #488D1E
triadic
#808D1E #1E808D #8D1E80
tetradic
#808D1E #1E8D62 #2B1E8D #8D1E48
square
#808D1E #1E8D62 #2B1E8D #8D1E48
split-complementary
#808D1E #1E488D #621E8D
monochromatic
#242809 #525B13 #808D1E #AEBF29 #C9D94C

Accessibility & contrast

On white

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

On black

5.75
#808D1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808D1E
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808D1E#FFFFFF#000000##000000
##808D1E1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #808d1e;
/* rgb */ color: rgb(128, 141, 30);
/* oklch */ color: oklch(61.3% 0.130 116.4);
Tailwind
colors: {
  custom: {
    50: '#a8ae64',
    500: '#808d1e',
    950: '#000000',
  },
}
SCSS
$custom: #808d1e;
$custom-light: #a8ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#808d1e",
  "rgb": {
    "r": 128,
    "g": 141,
    "b": 30
  },
  "hsl": {
    "h": 67.027,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.61265,
    "c": 0.12975,
    "h": 116.4
  },
  "luminance": 0.23733
}

Semantic roles & 50–950 ramp

primary
#808D1E
secondary
#584BBC
accent
#40E854
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #808D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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