#808A17#808A17

#808A17 is a mid, vivid yellow. Relative luminance 0.228; OKLCH L 60.5% C 0.130 H 114.9°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#808A17
RGBrgb(128, 138, 23)
HSLhsl(65, 71%, 32%)
HSVhsv(65, 83%, 54%)
CMYKcmyk(7.2%, 0%, 83.3%, 45.9%)
CIE-LABlab(54.90, -17.68, 54.33)
CIE-LCHlch(54.90, 57.14, 108.02°)
OKLaboklab(60.51% -0.0546 0.1177)
OKLCHoklch(60.51% 0.13 114.9)
XYZxyz(18.1458, 22.8284, 4.2609)
Luminance0.2283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808A17 #21178A
analogous
#8A5B17 #808A17 #478A17
triadic
#808A17 #17808A #8A1780
tetradic
#808A17 #178A5B #21178A #8A1747
square
#808A17 #178A5B #21178A #8A1747
split-complementary
#808A17 #17478A #5B178A
monochromatic
#1F2106 #4F560E #808A17 #B1BE20 #D1DF3D

Accessibility & contrast

On white

3.77
#808A17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#808A17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808A17
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808A17#FFFFFF#000000##000000
##808A171.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#948423
Tritanopia (blue-blind)
#898175
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #808a17;
/* rgb */ color: rgb(128, 138, 23);
/* oklch */ color: oklch(60.5% 0.130 114.9);
Tailwind
colors: {
  custom: {
    50: '#a8ac61',
    500: '#808a17',
    950: '#000000',
  },
}
SCSS
$custom: #808a17;
$custom-light: #a8ac61;
$custom-dark: #000000;
JSON
{
  "hex": "#808a17",
  "rgb": {
    "r": 128,
    "g": 138,
    "b": 23
  },
  "hsl": {
    "h": 65.217,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.60512,
    "c": 0.12977,
    "h": 114.9
  },
  "luminance": 0.22828
}

Semantic roles & 50–950 ramp

primary
#808A17
secondary
#4A3FBE
accent
#3AEE49
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #808A17

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

Preview Lab → · Contrast checker → · Palette generator →

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