#808D18#808D18

#808D18 is a mid, vivid yellow. Relative luminance 0.237; OKLCH L 61.2% C 0.133 H 116.3°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#808D18
RGBrgb(128, 141, 24)
HSLhsl(67, 71%, 32%)
HSVhsv(67, 83%, 55%)
CMYKcmyk(9.2%, 0%, 83%, 44.7%)
CIE-LABlab(55.79, -19.20, 54.84)
CIE-LCHlch(55.79, 58.10, 109.30°)
OKLaboklab(61.23% -0.0587 0.119)
OKLCHoklch(61.23% 0.133 116.3)
XYZxyz(18.5924, 23.7052, 4.4601)
Luminance0.2371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808D18 #25188D
analogous
#8D6018 #808D18 #458D18
triadic
#808D18 #18808D #8D1880
tetradic
#808D18 #188D60 #25188D #8D1845
square
#808D18 #188D60 #25188D #8D1845
split-complementary
#808D18 #18458D #60188D
monochromatic
#212406 #51590F #808D18 #AFC121 #CDDF41

Accessibility & contrast

On white

3.66
#808D18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#808D18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808D18
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808D18#FFFFFF#000000##000000
##808D181.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#968624
Tritanopia (blue-blind)
#898478
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #808d18;
/* rgb */ color: rgb(128, 141, 24);
/* oklch */ color: oklch(61.2% 0.133 116.3);
Tailwind
colors: {
  custom: {
    50: '#a8ae61',
    500: '#808d18',
    950: '#000000',
  },
}
SCSS
$custom: #808d18;
$custom-light: #a8ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#808d18",
  "rgb": {
    "r": 128,
    "g": 141,
    "b": 24
  },
  "hsl": {
    "h": 66.667,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.61234,
    "c": 0.13269,
    "h": 116.3
  },
  "luminance": 0.23705
}

Semantic roles & 50–950 ramp

primary
#808D18
secondary
#5042BF
accent
#3AEE4E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #808D18

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

Preview Lab → · Contrast checker → · Palette generator →

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