#808422#808422

#808422 is a mid, moderate yellow. Relative luminance 0.212; OKLCH L 59.2% C 0.117 H 111.8°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#808422
RGBrgb(128, 132, 34)
HSLhsl(62, 59%, 33%)
HSVhsv(62, 74%, 52%)
CMYKcmyk(3%, 0%, 74.2%, 48.2%)
CIE-LABlab(53.18, -14.03, 49.17)
CIE-LCHlch(53.18, 51.14, 105.93°)
OKLaboklab(59.15% -0.0436 0.1088)
OKLCHoklch(59.15% 0.117 111.8)
XYZxyz(17.4427, 21.2076, 4.6877)
Luminance0.2121 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808422 #262284
analogous
#845722 #808422 #4F8422
triadic
#808422 #228084 #842280
tetradic
#808422 #228457 #262284 #84224F
square
#808422 #228457 #262284 #84224F
split-complementary
#808422 #224F84 #572284
monochromatic
#222309 #515315 #808422 #AFB52F #CCD24F

Accessibility & contrast

On white

4.01
#808422 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#808422 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808422
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808422#FFFFFF#000000##000000
##8084221.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E0F
Deuteranopia (green-blind)
#8F802A
Tritanopia (blue-blind)
#897C71
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #808422;
/* rgb */ color: rgb(128, 132, 34);
/* oklch */ color: oklch(59.2% 0.117 111.8);
Tailwind
colors: {
  custom: {
    50: '#a8a765',
    500: '#808422',
    950: '#000000',
  },
}
SCSS
$custom: #808422;
$custom-light: #a8a765;
$custom-dark: #000000;
JSON
{
  "hex": "#808422",
  "rgb": {
    "r": 128,
    "g": 132,
    "b": 34
  },
  "hsl": {
    "h": 62.449,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.59153,
    "c": 0.11721,
    "h": 111.8
  },
  "luminance": 0.21207
}

Semantic roles & 50–950 ramp

primary
#808422
secondary
#514DB5
accent
#46E24C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #808422

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

Preview Lab → · Contrast checker → · Palette generator →

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