#808822#808822

#808822 is a mid, vivid yellow. Relative luminance 0.223; OKLCH L 60.1% C 0.122 H 114.0°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#808822
RGBrgb(128, 136, 34)
HSLhsl(65, 60%, 33%)
HSVhsv(65, 75%, 53%)
CMYKcmyk(5.9%, 0%, 75%, 46.7%)
CIE-LABlab(54.36, -16.16, 50.30)
CIE-LCHlch(54.36, 52.84, 107.81°)
OKLaboklab(60.1% -0.0495 0.1112)
OKLCHoklch(60.1% 0.122 114)
XYZxyz(17.9955, 22.3134, 4.8720)
Luminance0.2231 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808822 #2A2288
analogous
#885D22 #808822 #4D8822
triadic
#808822 #228088 #882280
tetradic
#808822 #22885D #2A2288 #88224D
square
#808822 #22885D #2A2288 #88224D
split-complementary
#808822 #224D88 #5D2288
monochromatic
#24260A #525716 #808822 #AEB92E #C9D351

Accessibility & contrast

On white

3.84
#808822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#808822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808822
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808822#FFFFFF#000000##000000
##8088221.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810D
Deuteranopia (green-blind)
#92832A
Tritanopia (blue-blind)
#898074
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #808822;
/* rgb */ color: rgb(128, 136, 34);
/* oklch */ color: oklch(60.1% 0.122 114.0);
Tailwind
colors: {
  custom: {
    50: '#a8aa65',
    500: '#808822',
    950: '#000000',
  },
}
SCSS
$custom: #808822;
$custom-light: #a8aa65;
$custom-dark: #000000;
JSON
{
  "hex": "#808822",
  "rgb": {
    "r": 128,
    "g": 136,
    "b": 34
  },
  "hsl": {
    "h": 64.706,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.60099,
    "c": 0.12171,
    "h": 114
  },
  "luminance": 0.22313
}

Semantic roles & 50–950 ramp

primary
#808822
secondary
#574FB7
accent
#45E351
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #808822

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

Preview Lab → · Contrast checker → · Palette generator →

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