#808022#808022

#808022 is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.2% C 0.113 H 109.4°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#808022
RGBrgb(128, 128, 34)
HSLhsl(60, 58%, 32%)
HSVhsv(60, 73%, 50%)
CMYKcmyk(0%, 0%, 73.4%, 49.8%)
CIE-LABlab(52.00, -11.88, 48.04)
CIE-LCHlch(52.00, 49.49, 103.89°)
OKLaboklab(58.21% -0.0376 0.1064)
OKLCHoklch(58.21% 0.113 109.4)
XYZxyz(16.9106, 20.1435, 4.5104)
Luminance0.2014 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808022 #222280
analogous
#805122 #808022 #518022
triadic
#808022 #228080 #802280
tetradic
#808022 #228051 #222280 #802251
square
#808022 #228051 #222280 #802251
split-complementary
#808022 #225180 #512280
monochromatic
#1F1F08 #505015 #808022 #B0B02F #D0D04D

Accessibility & contrast

On white

4.18
#808022 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#808022 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808022
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808022#FFFFFF#000000##000000
##8080221.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A11
Deuteranopia (green-blind)
#8C7D29
Tritanopia (blue-blind)
#89786E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #808022;
/* rgb */ color: rgb(128, 128, 34);
/* oklch */ color: oklch(58.2% 0.113 109.4);
Tailwind
colors: {
  custom: {
    50: '#a8a464',
    500: '#808022',
    950: '#000000',
  },
}
SCSS
$custom: #808022;
$custom-light: #a8a464;
$custom-dark: #000000;
JSON
{
  "hex": "#808022",
  "rgb": {
    "r": 128,
    "g": 128,
    "b": 34
  },
  "hsl": {
    "h": 60,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.58212,
    "c": 0.11285,
    "h": 109.4
  },
  "luminance": 0.20143
}

Semantic roles & 50–950 ramp

primary
#808022
secondary
#4B4BB2
accent
#47E147
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #808022

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

Preview Lab → · Contrast checker → · Palette generator →

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