#808622#808622

#808622 is a mid, moderate yellow. Relative luminance 0.218; OKLCH L 59.6% C 0.119 H 112.9°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#808622
RGBrgb(128, 134, 34)
HSLhsl(64, 60%, 33%)
HSVhsv(64, 75%, 53%)
CMYKcmyk(4.5%, 0%, 74.6%, 47.5%)
CIE-LABlab(53.77, -15.10, 49.74)
CIE-LCHlch(53.77, 51.98, 106.89°)
OKLaboklab(59.62% -0.0466 0.11)
OKLCHoklch(59.62% 0.119 112.9)
XYZxyz(17.7165, 21.7553, 4.7790)
Luminance0.2175 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808622 #282286
analogous
#865A22 #808622 #4E8622
triadic
#808622 #228086 #862280
tetradic
#808622 #22865A #282286 #86224E
square
#808622 #22865A #282286 #86224E
split-complementary
#808622 #224E86 #5A2286
monochromatic
#232409 #515516 #808622 #AFB72E #CBD350

Accessibility & contrast

On white

3.92
#808622 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#808622 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808622
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808622#FFFFFF#000000##000000
##8086221.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0E
Deuteranopia (green-blind)
#90822A
Tritanopia (blue-blind)
#897E73
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #808622;
/* rgb */ color: rgb(128, 134, 34);
/* oklch */ color: oklch(59.6% 0.119 112.9);
Tailwind
colors: {
  custom: {
    50: '#a8a965',
    500: '#808622',
    950: '#000000',
  },
}
SCSS
$custom: #808622;
$custom-light: #a8a965;
$custom-dark: #000000;
JSON
{
  "hex": "#808622",
  "rgb": {
    "r": 128,
    "g": 134,
    "b": 34
  },
  "hsl": {
    "h": 63.6,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.59625,
    "c": 0.11945,
    "h": 112.9
  },
  "luminance": 0.21755
}

Semantic roles & 50–950 ramp

primary
#808622
secondary
#544EB6
accent
#45E34F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #808622

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

Preview Lab → · Contrast checker → · Palette generator →

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