#808322#808322

#808322 is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 58.9% C 0.116 H 111.3°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#808322
RGBrgb(128, 131, 34)
HSLhsl(62, 59%, 32%)
HSVhsv(62, 74%, 51%)
CMYKcmyk(2.3%, 0%, 74%, 48.6%)
CIE-LABlab(52.88, -13.50, 48.89)
CIE-LCHlch(52.88, 50.72, 105.44°)
OKLaboklab(58.92% -0.0421 0.1082)
OKLCHoklch(58.92% 0.116 111.3)
XYZxyz(17.3077, 20.9377, 4.6427)
Luminance0.2094 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808322 #252283
analogous
#835622 #808322 #4F8322
triadic
#808322 #228083 #832280
tetradic
#808322 #228356 #252283 #83224F
square
#808322 #228356 #252283 #83224F
split-complementary
#808322 #224F83 #562283
monochromatic
#212209 #515215 #808322 #AFB42F #CDD14E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##808322#FFFFFF#000000##000000
##8083221.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)
#8E7D10
Deuteranopia (green-blind)
#8E7F2A
Tritanopia (blue-blind)
#897B70
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #808322;
/* rgb */ color: rgb(128, 131, 34);
/* oklch */ color: oklch(58.9% 0.116 111.3);
Tailwind
colors: {
  custom: {
    50: '#a8a665',
    500: '#808322',
    950: '#000000',
  },
}
SCSS
$custom: #808322;
$custom-light: #a8a665;
$custom-dark: #000000;
JSON
{
  "hex": "#808322",
  "rgb": {
    "r": 128,
    "g": 131,
    "b": 34
  },
  "hsl": {
    "h": 61.856,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58917,
    "c": 0.1161,
    "h": 111.3
  },
  "luminance": 0.20937
}

Semantic roles & 50–950 ramp

primary
#808322
secondary
#504CB4
accent
#46E24B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #808322

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

Preview Lab → · Contrast checker → · Palette generator →

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