#808915#808915

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

Color values

HEX#808915
RGBrgb(128, 137, 21)
HSLhsl(65, 73%, 31%)
HSVhsv(65, 85%, 54%)
CMYKcmyk(6.6%, 0%, 84.7%, 46.3%)
CIE-LABlab(54.59, -17.22, 54.61)
CIE-LCHlch(54.59, 57.26, 107.50°)
OKLaboklab(60.27% -0.0535 0.118)
OKLCHoklch(60.27% 0.13 114.4)
XYZxyz(17.9837, 22.5350, 4.1117)
Luminance0.2253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808915 #1E1589
analogous
#895815 #808915 #468915
triadic
#808915 #158089 #891580
tetradic
#808915 #158958 #1E1589 #891546
square
#808915 #158958 #1E1589 #891546
split-complementary
#808915 #154689 #581589
monochromatic
#1D1F05 #4E540D #808915 #B2BE1D #D3E038

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##808915#FFFFFF#000000##000000
##8089151.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)
#938421
Tritanopia (blue-blind)
#898074
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #808915;
/* rgb */ color: rgb(128, 137, 21);
/* oklch */ color: oklch(60.3% 0.130 114.4);
Tailwind
colors: {
  custom: {
    50: '#a8ab60',
    500: '#808915',
    950: '#000000',
  },
}
SCSS
$custom: #808915;
$custom-light: #a8ab60;
$custom-dark: #000000;
JSON
{
  "hex": "#808915",
  "rgb": {
    "r": 128,
    "g": 137,
    "b": 21
  },
  "hsl": {
    "h": 64.655,
    "s": 73.418,
    "l": 30.98
  },
  "oklch": {
    "l": 0.60265,
    "c": 0.12952,
    "h": 114.4
  },
  "luminance": 0.22535
}

Semantic roles & 50–950 ramp

primary
#808915
secondary
#473DBD
accent
#38F046
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #808915

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

Preview Lab → · Contrast checker → · Palette generator →

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