#808D17#808D17

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

Color values

HEX#808D17
RGBrgb(128, 141, 23)
HSLhsl(67, 72%, 32%)
HSVhsv(67, 84%, 55%)
CMYKcmyk(9.2%, 0%, 83.7%, 44.7%)
CIE-LABlab(55.79, -19.23, 55.11)
CIE-LCHlch(55.79, 58.37, 109.24°)
OKLaboklab(61.23% -0.0589 0.1194)
OKLCHoklch(61.23% 0.133 116.3)
XYZxyz(18.5821, 23.7011, 4.4063)
Luminance0.2370 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808D17 #24178D
analogous
#8D5F17 #808D17 #458D17
triadic
#808D17 #17808D #8D1780
tetradic
#808D17 #178D5F #24178D #8D1745
square
#808D17 #178D5F #24178D #8D1745
split-complementary
#808D17 #17458D #5F178D
monochromatic
#202406 #50580E #808D17 #B0C220 #CEE03F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##808D17#FFFFFF#000000##000000
##808D171.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)
#968623
Tritanopia (blue-blind)
#898478
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #808d17;
/* rgb */ color: rgb(128, 141, 23);
/* oklch */ color: oklch(61.2% 0.133 116.3);
Tailwind
colors: {
  custom: {
    50: '#a8ae61',
    500: '#808d17',
    950: '#000000',
  },
}
SCSS
$custom: #808d17;
$custom-light: #a8ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#808d17",
  "rgb": {
    "r": 128,
    "g": 141,
    "b": 23
  },
  "hsl": {
    "h": 66.61,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.61229,
    "c": 0.13312,
    "h": 116.3
  },
  "luminance": 0.23701
}

Semantic roles & 50–950 ramp

primary
#808D17
secondary
#4E40C0
accent
#39EF4D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #808D17

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

Preview Lab → · Contrast checker → · Palette generator →

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