#808520#808520

#808520 is a mid, moderate yellow. Relative luminance 0.215; OKLCH L 59.4% C 0.120 H 112.4°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#808520
RGBrgb(128, 133, 32)
HSLhsl(63, 61%, 32%)
HSVhsv(63, 76%, 52%)
CMYKcmyk(3.8%, 0%, 75.9%, 47.8%)
CIE-LABlab(53.46, -14.67, 50.17)
CIE-LCHlch(53.46, 52.27, 106.30°)
OKLaboklab(59.38% -0.0455 0.1105)
OKLCHoklch(59.38% 0.12 112.4)
XYZxyz(17.5509, 21.4690, 4.5856)
Luminance0.2147 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808520 #252085
analogous
#855720 #808520 #4E8520
triadic
#808520 #208085 #852080
tetradic
#808520 #208557 #252085 #85204E
square
#808520 #208557 #252085 #85204E
split-complementary
#808520 #204E85 #572085
monochromatic
#212208 #515414 #808520 #AFB62C #CDD44C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##808520#FFFFFF#000000##000000
##8085201.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)
#907F0A
Deuteranopia (green-blind)
#908128
Tritanopia (blue-blind)
#897D72
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #808520;
/* rgb */ color: rgb(128, 133, 32);
/* oklch */ color: oklch(59.4% 0.120 112.4);
Tailwind
colors: {
  custom: {
    50: '#a8a864',
    500: '#808520',
    950: '#000000',
  },
}
SCSS
$custom: #808520;
$custom-light: #a8a864;
$custom-dark: #000000;
JSON
{
  "hex": "#808520",
  "rgb": {
    "r": 128,
    "g": 133,
    "b": 32
  },
  "hsl": {
    "h": 62.97,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.59375,
    "c": 0.11955,
    "h": 112.4
  },
  "luminance": 0.21469
}

Semantic roles & 50–950 ramp

primary
#808520
secondary
#504AB7
accent
#43E44B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #808520

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

Preview Lab → · Contrast checker → · Palette generator →

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