#808017#808017

#808017 is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.1% C 0.119 H 109.6°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#808017
RGBrgb(128, 128, 23)
HSLhsl(60, 70%, 30%)
HSVhsv(60, 82%, 50%)
CMYKcmyk(0%, 0%, 82%, 49.8%)
CIE-LABlab(51.94, -12.37, 51.75)
CIE-LCHlch(51.94, 53.21, 103.44°)
OKLaboklab(58.14% -0.0399 0.1122)
OKLCHoklch(58.14% 0.119 109.6)
XYZxyz(16.7766, 20.0899, 3.8045)
Luminance0.2009 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808017 #171780
analogous
#804C17 #808017 #4C8017
triadic
#808017 #178080 #801780
tetradic
#808017 #17804C #171780 #80174C
square
#808017 #17804C #171780 #80174C
split-complementary
#808017 #174C80 #4C1780
monochromatic
#1A1A05 #4C4C0E #808017 #B4B420 #DBDB36

Accessibility & contrast

On white

4.19
#808017 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#808017 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808017
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808017#FFFFFF#000000##000000
##8080171.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#8C7D21
Tritanopia (blue-blind)
#8A776D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #808017;
/* rgb */ color: rgb(128, 128, 23);
/* oklch */ color: oklch(58.1% 0.119 109.6);
Tailwind
colors: {
  custom: {
    50: '#a8a45f',
    500: '#808017',
    950: '#000000',
  },
}
SCSS
$custom: #808017;
$custom-light: #a8a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#808017",
  "rgb": {
    "r": 128,
    "g": 128,
    "b": 23
  },
  "hsl": {
    "h": 60,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.58144,
    "c": 0.11907,
    "h": 109.6
  },
  "luminance": 0.20089
}

Semantic roles & 50–950 ramp

primary
#808017
secondary
#3E3EB4
accent
#3BEC3B
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #808017

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

Preview Lab → · Contrast checker → · Palette generator →

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