#808917#808917

#808917 is a mid, vivid yellow. Relative luminance 0.225; OKLCH L 60.3% C 0.129 H 114.4°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#808917
RGBrgb(128, 137, 23)
HSLhsl(65, 71%, 31%)
HSVhsv(65, 83%, 54%)
CMYKcmyk(6.6%, 0%, 83.2%, 46.3%)
CIE-LABlab(54.60, -17.15, 54.07)
CIE-LCHlch(54.60, 56.73, 107.60°)
OKLaboklab(60.27% -0.0532 0.1172)
OKLCHoklch(60.27% 0.129 114.4)
XYZxyz(18.0030, 22.5427, 4.2133)
Luminance0.2254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808917 #201789
analogous
#895917 #808917 #478917
triadic
#808917 #178089 #891780
tetradic
#808917 #178959 #201789 #891747
square
#808917 #178959 #201789 #891747
split-complementary
#808917 #174789 #591789
monochromatic
#1E2005 #4F550E #808917 #B1BD20 #D1DE3C

Accessibility & contrast

On white

3.81
#808917 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#808917 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808917
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808917#FFFFFF#000000##000000
##8089171.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#938423
Tritanopia (blue-blind)
#898075
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #808917;
/* rgb */ color: rgb(128, 137, 23);
/* oklch */ color: oklch(60.3% 0.129 114.4);
Tailwind
colors: {
  custom: {
    50: '#a8ab60',
    500: '#808917',
    950: '#000000',
  },
}
SCSS
$custom: #808917;
$custom-light: #a8ab60;
$custom-dark: #000000;
JSON
{
  "hex": "#808917",
  "rgb": {
    "r": 128,
    "g": 137,
    "b": 23
  },
  "hsl": {
    "h": 64.737,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.60274,
    "c": 0.12866,
    "h": 114.4
  },
  "luminance": 0.22542
}

Semantic roles & 50–950 ramp

primary
#808917
secondary
#493FBD
accent
#3AEE48
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #808917

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

Preview Lab → · Contrast checker → · Palette generator →

#808917 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva