#808E22#808E22

#808E22 is a mid, vivid yellow. Relative luminance 0.241; OKLCH L 61.5% C 0.129 H 116.9°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#808E22
RGBrgb(128, 142, 34)
HSLhsl(68, 61%, 35%)
HSVhsv(68, 76%, 56%)
CMYKcmyk(9.9%, 0%, 76.1%, 44.3%)
CIE-LABlab(56.14, -19.29, 51.99)
CIE-LCHlch(56.14, 55.46, 110.35°)
OKLaboklab(61.53% -0.0582 0.1148)
OKLCHoklch(61.53% 0.129 116.9)
XYZxyz(18.8643, 24.0509, 5.1616)
Luminance0.2405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808E22 #30228E
analogous
#8E6622 #808E22 #4A8E22
triadic
#808E22 #22808E #8E2280
tetradic
#808E22 #228E66 #30228E #8E224A
square
#808E22 #228E66 #30228E #8E224A
split-complementary
#808E22 #224A8E #66228E
monochromatic
#272B0A #535D16 #808E22 #ADBF2E #C5D654

Accessibility & contrast

On white

3.61
#808E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#808E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808E22
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808E22#FFFFFF#000000##000000
##808E221.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#98860A
Deuteranopia (green-blind)
#97872B
Tritanopia (blue-blind)
#888679
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #808e22;
/* rgb */ color: rgb(128, 142, 34);
/* oklch */ color: oklch(61.5% 0.129 116.9);
Tailwind
colors: {
  custom: {
    50: '#a8af66',
    500: '#808e22',
    950: '#000000',
  },
}
SCSS
$custom: #808e22;
$custom-light: #a8af66;
$custom-dark: #000000;
JSON
{
  "hex": "#808e22",
  "rgb": {
    "r": 128,
    "g": 142,
    "b": 34
  },
  "hsl": {
    "h": 67.778,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.61529,
    "c": 0.12866,
    "h": 116.9
  },
  "luminance": 0.24051
}

Semantic roles & 50–950 ramp

primary
#808E22
secondary
#5F52BA
accent
#43E458
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #808E22

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

Preview Lab → · Contrast checker → · Palette generator →

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