#808E21#808E21

#808E21 is a mid, vivid yellow. Relative luminance 0.240; 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#808E21
RGBrgb(128, 142, 33)
HSLhsl(68, 62%, 34%)
HSVhsv(68, 77%, 56%)
CMYKcmyk(9.9%, 0%, 76.8%, 44.3%)
CIE-LABlab(56.13, -19.34, 52.34)
CIE-LCHlch(56.13, 55.79, 110.28°)
OKLaboklab(61.52% -0.0584 0.1153)
OKLCHoklch(61.52% 0.129 116.9)
XYZxyz(18.8501, 24.0452, 5.0867)
Luminance0.2404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808E21 #2F218E
analogous
#8E6621 #808E21 #4A8E21
triadic
#808E21 #21808E #8E2180
tetradic
#808E21 #218E66 #2F218E #8E214A
square
#808E21 #218E66 #2F218E #8E214A
split-complementary
#808E21 #214A8E #66218E
monochromatic
#262B0A #535C15 #808E21 #ADC02D #C6D752

Accessibility & contrast

On white

3.62
#808E21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##808E21#FFFFFF#000000##000000
##808E211.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #808e21;
/* rgb */ color: rgb(128, 142, 33);
/* oklch */ color: oklch(61.5% 0.129 116.9);
Tailwind
colors: {
  custom: {
    50: '#a8af65',
    500: '#808e21',
    950: '#000000',
  },
}
SCSS
$custom: #808e21;
$custom-light: #a8af65;
$custom-dark: #000000;
JSON
{
  "hex": "#808e21",
  "rgb": {
    "r": 128,
    "g": 142,
    "b": 33
  },
  "hsl": {
    "h": 67.706,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.61522,
    "c": 0.12924,
    "h": 116.9
  },
  "luminance": 0.24045
}

Semantic roles & 50–950 ramp

primary
#808E21
secondary
#5E50BA
accent
#42E557
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #808E21

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

Preview Lab → · Contrast checker → · Palette generator →

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