#808064#808064

#808064 is a mid, muted yellow. Relative luminance 0.209; OKLCH L 59.2% C 0.041 H 107.6°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#808064
RGBrgb(128, 128, 100)
HSLhsl(60, 12%, 45%)
HSVhsv(60, 22%, 50%)
CMYKcmyk(0%, 0%, 21.9%, 49.8%)
CIE-LABlab(52.89, -5.00, 15.26)
CIE-LCHlch(52.89, 16.05, 108.15°)
OKLaboklab(59.21% -0.0123 0.0388)
OKLCHoklch(59.21% 0.041 107.6)
XYZxyz(18.9214, 20.9479, 15.1007)
Luminance0.2095 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808064 #646480
analogous
#807264 #808064 #728064
triadic
#808064 #648080 #806480
tetradic
#808064 #648072 #646480 #806472
square
#808064 #648072 #646480 #806472
split-complementary
#808064 #647280 #726480
monochromatic
#3B3B2E #5E5E49 #808064 #9E9E83 #B9B9A5

Accessibility & contrast

On white

4.05
#808064 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#808064 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808064
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808064#FFFFFF#000000##000000
##8080641.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#857E62
Deuteranopia (green-blind)
#857F65
Tritanopia (blue-blind)
#847C78
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #808064;
/* rgb */ color: rgb(128, 128, 100);
/* oklch */ color: oklch(59.2% 0.041 107.6);
Tailwind
colors: {
  custom: {
    50: '#a5a490',
    500: '#808064',
    950: '#000000',
  },
}
SCSS
$custom: #808064;
$custom-light: #a5a490;
$custom-dark: #000000;
JSON
{
  "hex": "#808064",
  "rgb": {
    "r": 128,
    "g": 128,
    "b": 100
  },
  "hsl": {
    "h": 60,
    "s": 12.281,
    "l": 44.706
  },
  "oklch": {
    "l": 0.59212,
    "c": 0.04074,
    "h": 107.6
  },
  "luminance": 0.20948
}

Semantic roles & 50–950 ramp

primary
#808064
secondary
#9898A8
accent
#73B573
background
#FAFAF8
surface
#F4F4F0
border
#CECECB
text
#0F0F0C
muted
#7F7F7D

Preview Lab

Preview with #808064

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

Preview Lab → · Contrast checker → · Palette generator →

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