#808B18#808B18

#808B18 is a mid, vivid yellow. Relative luminance 0.231; OKLCH L 60.8% C 0.130 H 115.4°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#808B18
RGBrgb(128, 139, 24)
HSLhsl(66, 71%, 32%)
HSVhsv(66, 83%, 55%)
CMYKcmyk(7.9%, 0%, 82.7%, 45.5%)
CIE-LABlab(55.20, -18.16, 54.31)
CIE-LCHlch(55.20, 57.27, 108.49°)
OKLaboklab(60.76% -0.0559 0.1179)
OKLCHoklch(60.76% 0.13 115.4)
XYZxyz(18.3001, 23.1207, 4.3627)
Luminance0.2312 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808B18 #23188B
analogous
#8B5D18 #808B18 #478B18
triadic
#808B18 #18808B #8B1880
tetradic
#808B18 #188B5D #23188B #8B1847
square
#808B18 #188B5D #23188B #8B1847
split-complementary
#808B18 #18478B #5D188B
monochromatic
#202306 #50570F #808B18 #B0BF21 #CFDE3F

Accessibility & contrast

On white

3.73
#808B18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#808B18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808B18
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808B18#FFFFFF#000000##000000
##808B181.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#958524
Tritanopia (blue-blind)
#898276
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #808b18;
/* rgb */ color: rgb(128, 139, 24);
/* oklch */ color: oklch(60.8% 0.130 115.4);
Tailwind
colors: {
  custom: {
    50: '#a8ac61',
    500: '#808b18',
    950: '#000000',
  },
}
SCSS
$custom: #808b18;
$custom-light: #a8ac61;
$custom-dark: #000000;
JSON
{
  "hex": "#808b18",
  "rgb": {
    "r": 128,
    "g": 139,
    "b": 24
  },
  "hsl": {
    "h": 65.739,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.60756,
    "c": 0.13044,
    "h": 115.4
  },
  "luminance": 0.2312
}

Semantic roles & 50–950 ramp

primary
#808B18
secondary
#4D40BE
accent
#3AED4C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #808B18

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

Preview Lab → · Contrast checker → · Palette generator →

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