#808015#808015

#808015 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#808015
RGBrgb(128, 128, 21)
HSLhsl(60, 72%, 29%)
HSVhsv(60, 84%, 50%)
CMYKcmyk(0%, 0%, 83.6%, 49.8%)
CIE-LABlab(51.93, -12.44, 52.32)
CIE-LCHlch(51.93, 53.78, 103.37°)
OKLaboklab(58.14% -0.0403 0.113)
OKLCHoklch(58.14% 0.12 109.6)
XYZxyz(16.7573, 20.0822, 3.7029)
Luminance0.2008 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808015 #151580
analogous
#804B15 #808015 #4B8015
triadic
#808015 #158080 #801580
tetradic
#808015 #15804B #151580 #80154B
square
#808015 #15804B #151580 #80154B
split-complementary
#808015 #154B80 #4B1580
monochromatic
#1A1A04 #4B4B0C #808015 #B5B51E #DDDD32

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #808015;
/* rgb */ color: rgb(128, 128, 21);
/* oklch */ color: oklch(58.1% 0.120 109.6);
Tailwind
colors: {
  custom: {
    50: '#a8a45e',
    500: '#808015',
    950: '#000000',
  },
}
SCSS
$custom: #808015;
$custom-light: #a8a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#808015",
  "rgb": {
    "r": 128,
    "g": 128,
    "b": 21
  },
  "hsl": {
    "h": 60,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.58135,
    "c": 0.11998,
    "h": 109.6
  },
  "luminance": 0.20082
}

Semantic roles & 50–950 ramp

primary
#808015
secondary
#3C3CB5
accent
#39EF39
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #808015

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

Preview Lab → · Contrast checker → · Palette generator →

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