#808222#808222

#808222 is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 58.7% C 0.115 H 110.7°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#808222
RGBrgb(128, 130, 34)
HSLhsl(61, 59%, 32%)
HSVhsv(61, 74%, 51%)
CMYKcmyk(1.5%, 0%, 73.8%, 49%)
CIE-LABlab(52.59, -12.96, 48.61)
CIE-LCHlch(52.59, 50.30, 104.93°)
OKLaboklab(58.68% -0.0406 0.1076)
OKLCHoklch(58.68% 0.115 110.7)
XYZxyz(17.1740, 20.6704, 4.5982)
Luminance0.2067 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808222 #242282
analogous
#825422 #808222 #508222
triadic
#808222 #228082 #822280
tetradic
#808222 #228254 #242282 #822250
square
#808222 #228254 #242282 #822250
split-complementary
#808222 #225082 #542282
monochromatic
#202109 #505115 #808222 #B0B32F #CED14E

Accessibility & contrast

On white

4.09
#808222 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#808222 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808222
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808222#FFFFFF#000000##000000
##8082221.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C10
Deuteranopia (green-blind)
#8D7F29
Tritanopia (blue-blind)
#897A6F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #808222;
/* rgb */ color: rgb(128, 130, 34);
/* oklch */ color: oklch(58.7% 0.115 110.7);
Tailwind
colors: {
  custom: {
    50: '#a8a664',
    500: '#808222',
    950: '#000000',
  },
}
SCSS
$custom: #808222;
$custom-light: #a8a664;
$custom-dark: #000000;
JSON
{
  "hex": "#808222",
  "rgb": {
    "r": 128,
    "g": 130,
    "b": 34
  },
  "hsl": {
    "h": 61.25,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.58681,
    "c": 0.115,
    "h": 110.7
  },
  "luminance": 0.2067
}

Semantic roles & 50–950 ramp

primary
#808222
secondary
#4E4CB4
accent
#46E249
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #808222

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

Preview Lab → · Contrast checker → · Palette generator →

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