#808016#808016

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

Color values

HEX#808016
RGBrgb(128, 128, 22)
HSLhsl(60, 71%, 29%)
HSVhsv(60, 83%, 50%)
CMYKcmyk(0%, 0%, 82.8%, 49.8%)
CIE-LABlab(51.93, -12.40, 52.04)
CIE-LCHlch(51.93, 53.50, 103.40°)
OKLaboklab(58.14% -0.0401 0.1126)
OKLCHoklch(58.14% 0.12 109.6)
XYZxyz(16.7667, 20.0860, 3.7527)
Luminance0.2009 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808016 #161680
analogous
#804B16 #808016 #4B8016
triadic
#808016 #168080 #801680
tetradic
#808016 #16804B #161680 #80164B
square
#808016 #16804B #161680 #80164B
split-complementary
#808016 #164B80 #4B1680
monochromatic
#1A1A04 #4C4C0D #808016 #B4B41F #DCDC34

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##808016#FFFFFF#000000##000000
##8080161.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)
#8C7D20
Tritanopia (blue-blind)
#8A776D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #808016;
/* rgb */ color: rgb(128, 128, 22);
/* oklch */ color: oklch(58.1% 0.120 109.6);
Tailwind
colors: {
  custom: {
    50: '#a8a45f',
    500: '#808016',
    950: '#000000',
  },
}
SCSS
$custom: #808016;
$custom-light: #a8a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#808016",
  "rgb": {
    "r": 128,
    "g": 128,
    "b": 22
  },
  "hsl": {
    "h": 60,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.58139,
    "c": 0.11953,
    "h": 109.6
  },
  "luminance": 0.20085
}

Semantic roles & 50–950 ramp

primary
#808016
secondary
#3D3DB5
accent
#3AED3A
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #808016

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

Preview Lab → · Contrast checker → · Palette generator →

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