#808D16#808D16

#808D16 is a mid, vivid yellow. Relative luminance 0.237; OKLCH L 61.2% C 0.134 H 116.2°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#808D16
RGBrgb(128, 141, 22)
HSLhsl(67, 73%, 32%)
HSVhsv(67, 84%, 55%)
CMYKcmyk(9.2%, 0%, 84.4%, 44.7%)
CIE-LABlab(55.78, -19.27, 55.37)
CIE-LCHlch(55.78, 58.63, 109.19°)
OKLaboklab(61.22% -0.0591 0.1198)
OKLCHoklch(61.22% 0.134 116.2)
XYZxyz(18.5723, 23.6972, 4.3545)
Luminance0.2370 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808D16 #23168D
analogous
#8D5F16 #808D16 #448D16
triadic
#808D16 #16808D #8D1680
tetradic
#808D16 #168D5F #23168D #8D1644
square
#808D16 #168D5F #23168D #8D1644
split-complementary
#808D16 #16448D #5F168D
monochromatic
#202305 #50580E #808D16 #B0C21E #CFE13D

Accessibility & contrast

On white

3.66
#808D16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#808D16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808D16
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808D16#FFFFFF#000000##000000
##808D161.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#968623
Tritanopia (blue-blind)
#898478
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #808d16;
/* rgb */ color: rgb(128, 141, 22);
/* oklch */ color: oklch(61.2% 0.134 116.2);
Tailwind
colors: {
  custom: {
    50: '#a8ae61',
    500: '#808d16',
    950: '#000000',
  },
}
SCSS
$custom: #808d16;
$custom-light: #a8ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#808d16",
  "rgb": {
    "r": 128,
    "g": 141,
    "b": 22
  },
  "hsl": {
    "h": 66.555,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.61225,
    "c": 0.13354,
    "h": 116.2
  },
  "luminance": 0.23697
}

Semantic roles & 50–950 ramp

primary
#808D16
secondary
#4D3EC1
accent
#38F04C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #808D16

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

Preview Lab → · Contrast checker → · Palette generator →

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