#808A15#808A15

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

Color values

HEX#808A15
RGBrgb(128, 138, 21)
HSLhsl(65, 74%, 31%)
HSVhsv(65, 85%, 54%)
CMYKcmyk(7.2%, 0%, 84.8%, 45.9%)
CIE-LABlab(54.89, -17.74, 54.86)
CIE-LCHlch(54.89, 57.66, 107.92°)
OKLaboklab(60.5% -0.0549 0.1185)
OKLCHoklch(60.5% 0.131 114.9)
XYZxyz(18.1265, 22.8206, 4.1593)
Luminance0.2282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808A15 #1F158A
analogous
#8A5915 #808A15 #458A15
triadic
#808A15 #15808A #8A1580
tetradic
#808A15 #158A59 #1F158A #8A1545
square
#808A15 #158A59 #1F158A #8A1545
split-complementary
#808A15 #15458A #59158A
monochromatic
#1D2005 #4F550D #808A15 #B1BF1D #D2E139

Accessibility & contrast

On white

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

On black

5.56
#808A15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808A15
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808A15#FFFFFF#000000##000000
##808A151.003.775.565.56
#FFFFFF3.771.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #808a15;
/* rgb */ color: rgb(128, 138, 21);
/* oklch */ color: oklch(60.5% 0.131 114.9);
Tailwind
colors: {
  custom: {
    50: '#a8ac60',
    500: '#808a15',
    950: '#000000',
  },
}
SCSS
$custom: #808a15;
$custom-light: #a8ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#808a15",
  "rgb": {
    "r": 128,
    "g": 138,
    "b": 21
  },
  "hsl": {
    "h": 65.128,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.60503,
    "c": 0.13062,
    "h": 114.9
  },
  "luminance": 0.2282
}

Semantic roles & 50–950 ramp

primary
#808A15
secondary
#483DBE
accent
#38F047
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #808A15

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

Preview Lab → · Contrast checker → · Palette generator →

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