#808D22#808D22

#808D22 is a mid, vivid yellow. Relative luminance 0.238; OKLCH L 61.3% C 0.127 H 116.4°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#808D22
RGBrgb(128, 141, 34)
HSLhsl(67, 61%, 34%)
HSVhsv(67, 76%, 55%)
CMYKcmyk(9.2%, 0%, 75.9%, 44.7%)
CIE-LABlab(55.84, -18.77, 51.71)
CIE-LCHlch(55.84, 55.01, 109.95°)
OKLaboklab(61.29% -0.0567 0.1142)
OKLCHoklch(61.29% 0.127 116.4)
XYZxyz(18.7162, 23.7547, 5.1122)
Luminance0.2375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808D22 #2F228D
analogous
#8D6522 #808D22 #4B8D22
triadic
#808D22 #22808D #8D2280
tetradic
#808D22 #228D65 #2F228D #8D224B
square
#808D22 #228D65 #2F228D #8D224B
split-complementary
#808D22 #224B8D #65228D
monochromatic
#262A0A #535C16 #808D22 #ADBE2E #C6D654

Accessibility & contrast

On white

3.65
#808D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#808D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808D22
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808D22#FFFFFF#000000##000000
##808D221.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#97850A
Deuteranopia (green-blind)
#96872B
Tritanopia (blue-blind)
#888579
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #808d22;
/* rgb */ color: rgb(128, 141, 34);
/* oklch */ color: oklch(61.3% 0.127 116.4);
Tailwind
colors: {
  custom: {
    50: '#a8ae66',
    500: '#808d22',
    950: '#000000',
  },
}
SCSS
$custom: #808d22;
$custom-light: #a8ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#808d22",
  "rgb": {
    "r": 128,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 67.29,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.6129,
    "c": 0.12748,
    "h": 116.4
  },
  "luminance": 0.23754
}

Semantic roles & 50–950 ramp

primary
#808D22
secondary
#5E51B9
accent
#44E457
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #808D22

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

Preview Lab → · Contrast checker → · Palette generator →

#808D22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva