#808C17#808C17

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

Color values

HEX#808C17
RGBrgb(128, 140, 23)
HSLhsl(66, 72%, 32%)
HSVhsv(66, 84%, 55%)
CMYKcmyk(8.6%, 0%, 83.6%, 45.1%)
CIE-LABlab(55.49, -18.72, 54.85)
CIE-LCHlch(55.49, 57.95, 108.84°)
OKLaboklab(60.99% -0.0575 0.1188)
OKLCHoklch(60.99% 0.132 115.8)
XYZxyz(18.4354, 23.4075, 4.3574)
Luminance0.2341 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808C17 #23178C
analogous
#8C5E17 #808C17 #468C17
triadic
#808C17 #17808C #8C1780
tetradic
#808C17 #178C5E #23178C #8C1746
square
#808C17 #178C5E #23178C #8C1746
split-complementary
#808C17 #17468C #5E178C
monochromatic
#202306 #50570E #808C17 #B0C120 #CFDF3E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##808C17#FFFFFF#000000##000000
##808C171.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)
#968400
Deuteranopia (green-blind)
#968623
Tritanopia (blue-blind)
#898377
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #808c17;
/* rgb */ color: rgb(128, 140, 23);
/* oklch */ color: oklch(61.0% 0.132 115.8);
Tailwind
colors: {
  custom: {
    50: '#a8ad61',
    500: '#808c17',
    950: '#000000',
  },
}
SCSS
$custom: #808c17;
$custom-light: #a8ad61;
$custom-dark: #000000;
JSON
{
  "hex": "#808c17",
  "rgb": {
    "r": 128,
    "g": 140,
    "b": 23
  },
  "hsl": {
    "h": 66.154,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.6099,
    "c": 0.132,
    "h": 115.8
  },
  "luminance": 0.23407
}

Semantic roles & 50–950 ramp

primary
#808C17
secondary
#4D3FBF
accent
#39EF4C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #808C17

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

Preview Lab → · Contrast checker → · Palette generator →

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