#808817#808817

#808817 is a mid, vivid yellow. Relative luminance 0.223; OKLCH L 60.0% C 0.128 H 113.9°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#808817
RGBrgb(128, 136, 23)
HSLhsl(64, 71%, 31%)
HSVhsv(64, 83%, 53%)
CMYKcmyk(5.9%, 0%, 83.1%, 46.7%)
CIE-LABlab(54.30, -16.63, 53.82)
CIE-LCHlch(54.30, 56.33, 107.17°)
OKLaboklab(60.04% -0.0517 0.1166)
OKLCHoklch(60.04% 0.128 113.9)
XYZxyz(17.8615, 22.2598, 4.1661)
Luminance0.2226 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808817 #1F1788
analogous
#885717 #808817 #478817
triadic
#808817 #178088 #881780
tetradic
#808817 #178857 #1F1788 #881747
square
#808817 #178857 #1F1788 #881747
split-complementary
#808817 #174788 #571788
monochromatic
#1D1F05 #4F540E #808817 #B1BC20 #D2DE3B

Accessibility & contrast

On white

3.85
#808817 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#808817 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808817
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808817#FFFFFF#000000##000000
##8088171.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#928322
Tritanopia (blue-blind)
#897F74
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #808817;
/* rgb */ color: rgb(128, 136, 23);
/* oklch */ color: oklch(60.0% 0.128 113.9);
Tailwind
colors: {
  custom: {
    50: '#a8aa60',
    500: '#808817',
    950: '#000000',
  },
}
SCSS
$custom: #808817;
$custom-light: #a8aa60;
$custom-dark: #000000;
JSON
{
  "hex": "#808817",
  "rgb": {
    "r": 128,
    "g": 136,
    "b": 23
  },
  "hsl": {
    "h": 64.248,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.60036,
    "c": 0.12757,
    "h": 113.9
  },
  "luminance": 0.22259
}

Semantic roles & 50–950 ramp

primary
#808817
secondary
#483FBC
accent
#3AEE47
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #808817

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

Preview Lab → · Contrast checker → · Palette generator →

#808817 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva