#808717#808717

#808717 is a mid, vivid yellow. Relative luminance 0.220; OKLCH L 59.8% C 0.126 H 113.4°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#808717
RGBrgb(128, 135, 23)
HSLhsl(64, 71%, 31%)
HSVhsv(64, 83%, 53%)
CMYKcmyk(5.2%, 0%, 83%, 47.1%)
CIE-LABlab(54.01, -16.10, 53.56)
CIE-LCHlch(54.01, 55.93, 106.74°)
OKLaboklab(59.8% -0.0503 0.1161)
OKLCHoklch(59.8% 0.126 113.4)
XYZxyz(17.7213, 21.9794, 4.1194)
Luminance0.2198 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808717 #1E1787
analogous
#875617 #808717 #488717
triadic
#808717 #178087 #871780
tetradic
#808717 #178756 #1E1787 #871748
square
#808717 #178756 #1E1787 #871748
split-complementary
#808717 #174887 #561787
monochromatic
#1D1E05 #4E530E #808717 #B2BB20 #D3DE3B

Accessibility & contrast

On white

3.89
#808717 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#808717 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808717
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808717#FFFFFF#000000##000000
##8087171.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#928222
Tritanopia (blue-blind)
#897E73
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #808717;
/* rgb */ color: rgb(128, 135, 23);
/* oklch */ color: oklch(59.8% 0.126 113.4);
Tailwind
colors: {
  custom: {
    50: '#a8a960',
    500: '#808717',
    950: '#000000',
  },
}
SCSS
$custom: #808717;
$custom-light: #a8a960;
$custom-dark: #000000;
JSON
{
  "hex": "#808717",
  "rgb": {
    "r": 128,
    "g": 135,
    "b": 23
  },
  "hsl": {
    "h": 63.75,
    "s": 70.886,
    "l": 30.98
  },
  "oklch": {
    "l": 0.59798,
    "c": 0.12647,
    "h": 113.4
  },
  "luminance": 0.21979
}

Semantic roles & 50–950 ramp

primary
#808717
secondary
#473FBB
accent
#3AEE45
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #808717

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

Preview Lab → · Contrast checker → · Palette generator →

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