#808E17#808E17

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

Color values

HEX#808E17
RGBrgb(128, 142, 23)
HSLhsl(67, 72%, 32%)
HSVhsv(67, 84%, 56%)
CMYKcmyk(9.9%, 0%, 83.8%, 44.3%)
CIE-LABlab(56.09, -19.75, 55.36)
CIE-LCHlch(56.09, 58.78, 109.63°)
OKLaboklab(61.47% -0.0603 0.1199)
OKLCHoklch(61.47% 0.134 116.7)
XYZxyz(18.7303, 23.9973, 4.4557)
Luminance0.2400 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808E17 #25178E
analogous
#8E6117 #808E17 #448E17
triadic
#808E17 #17808E #8E1780
tetradic
#808E17 #178E61 #25178E #8E1744
square
#808E17 #178E61 #25178E #8E1744
split-complementary
#808E17 #17448E #61178E
monochromatic
#212506 #51590E #808E17 #AFC320 #CDE03F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##808E17#FFFFFF#000000##000000
##808E171.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)
#978724
Tritanopia (blue-blind)
#898579
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #808e17;
/* rgb */ color: rgb(128, 142, 23);
/* oklch */ color: oklch(61.5% 0.134 116.7);
Tailwind
colors: {
  custom: {
    50: '#a8af61',
    500: '#808e17',
    950: '#000000',
  },
}
SCSS
$custom: #808e17;
$custom-light: #a8af61;
$custom-dark: #000000;
JSON
{
  "hex": "#808e17",
  "rgb": {
    "r": 128,
    "g": 142,
    "b": 23
  },
  "hsl": {
    "h": 67.059,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.61468,
    "c": 0.13425,
    "h": 116.7
  },
  "luminance": 0.23997
}

Semantic roles & 50–950 ramp

primary
#808E17
secondary
#5040C0
accent
#39EF4E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #808E17

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

Preview Lab → · Contrast checker → · Palette generator →

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