#808517#808517

#808517 is a mid, vivid yellow. Relative luminance 0.214; OKLCH L 59.3% C 0.124 H 112.4°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#808517
RGBrgb(128, 133, 23)
HSLhsl(63, 71%, 31%)
HSVhsv(63, 83%, 52%)
CMYKcmyk(3.8%, 0%, 82.7%, 47.8%)
CIE-LABlab(53.41, -15.05, 53.04)
CIE-LCHlch(53.41, 55.13, 105.84°)
OKLaboklab(59.32% -0.0474 0.115)
OKLCHoklch(59.32% 0.124 112.4)
XYZxyz(17.4449, 21.4265, 4.0272)
Luminance0.2143 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808517 #1C1785
analogous
#855317 #808517 #498517
triadic
#808517 #178085 #851780
tetradic
#808517 #178553 #1C1785 #851749
square
#808517 #178553 #1C1785 #851749
split-complementary
#808517 #174985 #531785
monochromatic
#1C1D05 #4E510E #808517 #B2B920 #D5DD3A

Accessibility & contrast

On white

3.97
#808517 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#808517 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808517
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808517#FFFFFF#000000##000000
##8085171.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#908122
Tritanopia (blue-blind)
#897C71
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #808517;
/* rgb */ color: rgb(128, 133, 23);
/* oklch */ color: oklch(59.3% 0.124 112.4);
Tailwind
colors: {
  custom: {
    50: '#a8a860',
    500: '#808517',
    950: '#000000',
  },
}
SCSS
$custom: #808517;
$custom-light: #a8a860;
$custom-dark: #000000;
JSON
{
  "hex": "#808517",
  "rgb": {
    "r": 128,
    "g": 133,
    "b": 23
  },
  "hsl": {
    "h": 62.727,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.59324,
    "c": 0.12432,
    "h": 112.4
  },
  "luminance": 0.21426
}

Semantic roles & 50–950 ramp

primary
#808517
secondary
#443FB9
accent
#3BED43
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #808517

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

Preview Lab → · Contrast checker → · Palette generator →

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