#808720#808720

#808720 is a mid, vivid yellow. Relative luminance 0.220; OKLCH L 59.8% C 0.122 H 113.5°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#808720
RGBrgb(128, 135, 32)
HSLhsl(64, 62%, 33%)
HSVhsv(64, 76%, 53%)
CMYKcmyk(5.2%, 0%, 76.3%, 47.1%)
CIE-LABlab(54.05, -15.73, 50.73)
CIE-LCHlch(54.05, 53.11, 107.23°)
OKLaboklab(59.85% -0.0485 0.1117)
OKLCHoklch(59.85% 0.122 113.5)
XYZxyz(17.8273, 22.0218, 4.6777)
Luminance0.2202 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808720 #272087
analogous
#875B20 #808720 #4C8720
triadic
#808720 #208087 #872080
tetradic
#808720 #20875B #272087 #87204C
square
#808720 #20875B #272087 #87204C
split-complementary
#808720 #204C87 #5B2087
monochromatic
#222409 #515614 #808720 #AFB82C #CBD54D

Accessibility & contrast

On white

3.89
#808720 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#808720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808720
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808720#FFFFFF#000000##000000
##8087201.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#918009
Deuteranopia (green-blind)
#918229
Tritanopia (blue-blind)
#897F73
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #808720;
/* rgb */ color: rgb(128, 135, 32);
/* oklch */ color: oklch(59.8% 0.122 113.5);
Tailwind
colors: {
  custom: {
    50: '#a8a964',
    500: '#808720',
    950: '#000000',
  },
}
SCSS
$custom: #808720;
$custom-light: #a8a964;
$custom-dark: #000000;
JSON
{
  "hex": "#808720",
  "rgb": {
    "r": 128,
    "g": 135,
    "b": 32
  },
  "hsl": {
    "h": 64.078,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.59849,
    "c": 0.12179,
    "h": 113.5
  },
  "luminance": 0.22021
}

Semantic roles & 50–950 ramp

primary
#808720
secondary
#534BB8
accent
#43E54E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #808720

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

Preview Lab → · Contrast checker → · Palette generator →

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