#808A18#808A18

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

Color values

HEX#808A18
RGBrgb(128, 138, 24)
HSLhsl(65, 70%, 32%)
HSVhsv(65, 83%, 54%)
CMYKcmyk(7.2%, 0%, 82.6%, 45.9%)
CIE-LABlab(54.90, -17.64, 54.05)
CIE-LCHlch(54.90, 56.86, 108.07°)
OKLaboklab(60.52% -0.0544 0.1173)
OKLCHoklch(60.52% 0.129 114.9)
XYZxyz(18.1560, 22.8324, 4.3146)
Luminance0.2283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808A18 #22188A
analogous
#8A5B18 #808A18 #478A18
triadic
#808A18 #18808A #8A1880
tetradic
#808A18 #188A5B #22188A #8A1847
square
#808A18 #188A5B #22188A #8A1847
split-complementary
#808A18 #18478A #5B188A
monochromatic
#1F2206 #50560F #808A18 #B0BE21 #D0DE3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##808A18#FFFFFF#000000##000000
##808A181.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: #808a18;
/* rgb */ color: rgb(128, 138, 24);
/* oklch */ color: oklch(60.5% 0.129 114.9);
Tailwind
colors: {
  custom: {
    50: '#a8ac61',
    500: '#808a18',
    950: '#000000',
  },
}
SCSS
$custom: #808a18;
$custom-light: #a8ac61;
$custom-dark: #000000;
JSON
{
  "hex": "#808a18",
  "rgb": {
    "r": 128,
    "g": 138,
    "b": 24
  },
  "hsl": {
    "h": 65.263,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.60517,
    "c": 0.12933,
    "h": 114.9
  },
  "luminance": 0.22832
}

Semantic roles & 50–950 ramp

primary
#808A18
secondary
#4B40BD
accent
#3BED4A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #808A18

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

Preview Lab → · Contrast checker → · Palette generator →

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