#808B16#808B16

#808B16 is a mid, vivid yellow. Relative luminance 0.231; OKLCH L 60.7% C 0.131 H 115.3°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#808B16
RGBrgb(128, 139, 22)
HSLhsl(66, 73%, 32%)
HSVhsv(66, 84%, 55%)
CMYKcmyk(7.9%, 0%, 84.2%, 45.5%)
CIE-LABlab(55.19, -18.23, 54.86)
CIE-LCHlch(55.19, 57.81, 108.38°)
OKLaboklab(60.75% -0.0562 0.1187)
OKLCHoklch(60.75% 0.131 115.3)
XYZxyz(18.2801, 23.1127, 4.2571)
Luminance0.2311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808B16 #21168B
analogous
#8B5C16 #808B16 #468B16
triadic
#808B16 #16808B #8B1680
tetradic
#808B16 #168B5C #21168B #8B1646
square
#808B16 #168B5C #21168B #8B1646
split-complementary
#808B16 #16468B #5C168B
monochromatic
#1F2105 #4F560E #808B16 #B1C01E #D1E03B

Accessibility & contrast

On white

3.74
#808B16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#808B16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808B16
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808B16#FFFFFF#000000##000000
##808B161.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#968300
Deuteranopia (green-blind)
#958522
Tritanopia (blue-blind)
#898276
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #808b16;
/* rgb */ color: rgb(128, 139, 22);
/* oklch */ color: oklch(60.7% 0.131 115.3);
Tailwind
colors: {
  custom: {
    50: '#a8ac60',
    500: '#808b16',
    950: '#000000',
  },
}
SCSS
$custom: #808b16;
$custom-light: #a8ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#808b16",
  "rgb": {
    "r": 128,
    "g": 139,
    "b": 22
  },
  "hsl": {
    "h": 65.641,
    "s": 72.671,
    "l": 31.569
  },
  "oklch": {
    "l": 0.60746,
    "c": 0.13131,
    "h": 115.3
  },
  "luminance": 0.23112
}

Semantic roles & 50–950 ramp

primary
#808B16
secondary
#4A3EBF
accent
#38EF4A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #808B16

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

Preview Lab → · Contrast checker → · Palette generator →

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