#808C11#808C11

#808C11 is a mid, vivid yellow. Relative luminance 0.234; OKLCH L 61.0% C 0.134 H 115.8°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#808C11
RGBrgb(128, 140, 17)
HSLhsl(66, 78%, 31%)
HSVhsv(66, 88%, 55%)
CMYKcmyk(8.6%, 0%, 87.9%, 45.1%)
CIE-LABlab(55.47, -18.90, 56.32)
CIE-LCHlch(55.47, 59.40, 108.55°)
OKLaboklab(60.97% -0.0584 0.121)
OKLCHoklch(60.97% 0.134 115.8)
XYZxyz(18.3819, 23.3861, 4.0758)
Luminance0.2339 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808C11 #1D118C
analogous
#8C5A11 #808C11 #428C11
triadic
#808C11 #11808C #8C1180
tetradic
#808C11 #118C5A #1D118C #8C1142
square
#808C11 #118C5A #1D118C #8C1142
split-complementary
#808C11 #11428C #5A118C
monochromatic
#1C1F04 #4E550A #808C11 #B2C318 #D4E631

Accessibility & contrast

On white

3.70
#808C11 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#808C11 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808C11
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808C11#FFFFFF#000000##000000
##808C111.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#978400
Deuteranopia (green-blind)
#968620
Tritanopia (blue-blind)
#898377
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #808c11;
/* rgb */ color: rgb(128, 140, 17);
/* oklch */ color: oklch(61.0% 0.134 115.8);
Tailwind
colors: {
  custom: {
    50: '#a9ad5f',
    500: '#808c11',
    950: '#000000',
  },
}
SCSS
$custom: #808c11;
$custom-light: #a9ad5f;
$custom-dark: #000000;
JSON
{
  "hex": "#808c11",
  "rgb": {
    "r": 128,
    "g": 140,
    "b": 17
  },
  "hsl": {
    "h": 65.854,
    "s": 78.344,
    "l": 30.784
  },
  "oklch": {
    "l": 0.60965,
    "c": 0.13433,
    "h": 115.8
  },
  "luminance": 0.23386
}

Semantic roles & 50–950 ramp

primary
#808C11
secondary
#4538C1
accent
#33F546
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#101005
muted
#7F7F79

Preview Lab

Preview with #808C11

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

Preview Lab → · Contrast checker → · Palette generator →

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