#808E18#808E18

#808E18 is a mid, vivid yellow. Relative luminance 0.240; OKLCH L 61.5% C 0.134 H 116.7°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#808E18
RGBrgb(128, 142, 24)
HSLhsl(67, 71%, 33%)
HSVhsv(67, 83%, 56%)
CMYKcmyk(9.9%, 0%, 83.1%, 44.3%)
CIE-LABlab(56.09, -19.71, 55.09)
CIE-LCHlch(56.09, 58.52, 109.69°)
OKLaboklab(61.47% -0.0601 0.1195)
OKLCHoklch(61.47% 0.134 116.7)
XYZxyz(18.7405, 24.0014, 4.5095)
Luminance0.2400 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808E18 #26188E
analogous
#8E6118 #808E18 #458E18
triadic
#808E18 #18808E #8E1880
tetradic
#808E18 #188E61 #26188E #8E1845
square
#808E18 #188E61 #26188E #8E1845
split-complementary
#808E18 #18458E #61188E
monochromatic
#222506 #515A0F #808E18 #AFC221 #CCDF41

Accessibility & contrast

On white

3.62
#808E18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#808E18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808E18
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808E18#FFFFFF#000000##000000
##808E181.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#978724
Tritanopia (blue-blind)
#898579
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #808e18;
/* rgb */ color: rgb(128, 142, 24);
/* oklch */ color: oklch(61.5% 0.134 116.7);
Tailwind
colors: {
  custom: {
    50: '#a8af62',
    500: '#808e18',
    950: '#000000',
  },
}
SCSS
$custom: #808e18;
$custom-light: #a8af62;
$custom-dark: #000000;
JSON
{
  "hex": "#808e18",
  "rgb": {
    "r": 128,
    "g": 142,
    "b": 24
  },
  "hsl": {
    "h": 67.119,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.61473,
    "c": 0.13382,
    "h": 116.7
  },
  "luminance": 0.24001
}

Semantic roles & 50–950 ramp

primary
#808E18
secondary
#5142C0
accent
#3AEE4F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #808E18

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

Preview Lab → · Contrast checker → · Palette generator →

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