#808922#808922

#808922 is a mid, vivid yellow. Relative luminance 0.226; OKLCH L 60.3% C 0.123 H 114.5°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#808922
RGBrgb(128, 137, 34)
HSLhsl(65, 60%, 34%)
HSVhsv(65, 75%, 54%)
CMYKcmyk(6.6%, 0%, 75.2%, 46.3%)
CIE-LABlab(54.65, -16.68, 50.59)
CIE-LCHlch(54.65, 53.27, 108.25°)
OKLaboklab(60.34% -0.051 0.1118)
OKLCHoklch(60.34% 0.123 114.5)
XYZxyz(18.1370, 22.5963, 4.9192)
Luminance0.2260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808922 #2B2289
analogous
#895E22 #808922 #4C8922
triadic
#808922 #228089 #892280
tetradic
#808922 #22895E #2B2289 #89224C
square
#808922 #22895E #2B2289 #89224C
split-complementary
#808922 #224C89 #5E2289
monochromatic
#24270A #525816 #808922 #AEBA2E #C9D451

Accessibility & contrast

On white

3.80
#808922 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#808922 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808922
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808922#FFFFFF#000000##000000
##8089221.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#93820D
Deuteranopia (green-blind)
#93842B
Tritanopia (blue-blind)
#898175
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #808922;
/* rgb */ color: rgb(128, 137, 34);
/* oklch */ color: oklch(60.3% 0.123 114.5);
Tailwind
colors: {
  custom: {
    50: '#a8ab65',
    500: '#808922',
    950: '#000000',
  },
}
SCSS
$custom: #808922;
$custom-light: #a8ab65;
$custom-dark: #000000;
JSON
{
  "hex": "#808922",
  "rgb": {
    "r": 128,
    "g": 137,
    "b": 34
  },
  "hsl": {
    "h": 65.243,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.60337,
    "c": 0.12285,
    "h": 114.5
  },
  "luminance": 0.22596
}

Semantic roles & 50–950 ramp

primary
#808922
secondary
#584FB8
accent
#44E352
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #808922

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

Preview Lab → · Contrast checker → · Palette generator →

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