#808522#808522

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

Color values

HEX#808522
RGBrgb(128, 133, 34)
HSLhsl(63, 59%, 33%)
HSVhsv(63, 74%, 52%)
CMYKcmyk(3.8%, 0%, 74.4%, 47.8%)
CIE-LABlab(53.47, -14.57, 49.46)
CIE-LCHlch(53.47, 51.56, 106.41°)
OKLaboklab(59.39% -0.0451 0.1094)
OKLCHoklch(59.39% 0.118 112.4)
XYZxyz(17.5789, 21.4802, 4.7331)
Luminance0.2148 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808522 #272285
analogous
#855822 #808522 #4F8522
triadic
#808522 #228085 #852280
tetradic
#808522 #228558 #272285 #85224F
square
#808522 #228558 #272285 #85224F
split-complementary
#808522 #224F85 #582285
monochromatic
#222409 #515416 #808522 #AFB62E #CBD24F

Accessibility & contrast

On white

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

On black

5.30
#808522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808522
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808522#FFFFFF#000000##000000
##8085221.003.975.305.30
#FFFFFF3.971.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F0F
Deuteranopia (green-blind)
#90812A
Tritanopia (blue-blind)
#897D72
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #808522;
/* rgb */ color: rgb(128, 133, 34);
/* oklch */ color: oklch(59.4% 0.118 112.4);
Tailwind
colors: {
  custom: {
    50: '#a8a865',
    500: '#808522',
    950: '#000000',
  },
}
SCSS
$custom: #808522;
$custom-light: #a8a865;
$custom-dark: #000000;
JSON
{
  "hex": "#808522",
  "rgb": {
    "r": 128,
    "g": 133,
    "b": 34
  },
  "hsl": {
    "h": 63.03,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.59389,
    "c": 0.11832,
    "h": 112.4
  },
  "luminance": 0.2148
}

Semantic roles & 50–950 ramp

primary
#808522
secondary
#534DB6
accent
#45E24D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #808522

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

Preview Lab → · Contrast checker → · Palette generator →

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