#508618#508618

#508618 is a mid, vivid yellow-green. Relative luminance 0.188; OKLCH L 56.1% C 0.148 H 133.1°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#508618
RGBrgb(80, 134, 24)
HSLhsl(89, 70%, 31%)
HSVhsv(89, 82%, 53%)
CMYKcmyk(40.3%, 0%, 82.1%, 47.5%)
CIE-LABlab(50.48, -35.72, 48.89)
CIE-LCHlch(50.48, 60.55, 126.15°)
OKLaboklab(56.11% -0.1008 0.1078)
OKLCHoklch(56.11% 0.148 133.1)
XYZxyz(11.9981, 18.8210, 3.8646)
Luminance0.1882 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508618 #4E1886
analogous
#868518 #508618 #198618
triadic
#508618 #185086 #861850
tetradic
#508618 #188685 #4E1886 #861819
square
#508618 #188685 #4E1886 #861819
split-complementary
#508618 #181986 #851886
monochromatic
#121E05 #31520F #508618 #6FBA21 #8EDC3C

Accessibility & contrast

On white

4.41
#508618 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#508618 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508618
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508618#FFFFFF#000000##000000
##5086181.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#847725
Tritanopia (blue-blind)
#508072
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #508618;
/* rgb */ color: rgb(80, 134, 24);
/* oklch */ color: oklch(56.1% 0.148 133.1);
Tailwind
colors: {
  custom: {
    50: '#86a95f',
    500: '#508618',
    950: '#000000',
  },
}
SCSS
$custom: #508618;
$custom-light: #86a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#508618",
  "rgb": {
    "r": 80,
    "g": 134,
    "b": 24
  },
  "hsl": {
    "h": 89.455,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.56114,
    "c": 0.14761,
    "h": 133.1
  },
  "luminance": 0.18822
}

Semantic roles & 50–950 ramp

primary
#508618
secondary
#7C40BA
accent
#3BEC92
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #508618

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

Preview Lab → · Contrast checker → · Palette generator →

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