#508518#508518

#508518 is a mid, vivid yellow-green. Relative luminance 0.185; OKLCH L 55.8% C 0.146 H 132.9°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#508518
RGBrgb(80, 133, 24)
HSLhsl(89, 69%, 31%)
HSVhsv(89, 82%, 52%)
CMYKcmyk(39.8%, 0%, 82%, 47.8%)
CIE-LABlab(50.15, -35.28, 48.59)
CIE-LCHlch(50.15, 60.05, 125.98°)
OKLaboklab(55.85% -0.0996 0.1072)
OKLCHoklch(55.85% 0.146 132.9)
XYZxyz(11.8605, 18.5459, 3.8188)
Luminance0.1855 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508518 #4D1885
analogous
#858318 #508518 #1A8518
triadic
#508518 #185085 #851850
tetradic
#508518 #188583 #4D1885 #85181A
square
#508518 #188583 #4D1885 #85181A
split-complementary
#508518 #181A85 #831885
monochromatic
#121D05 #31510F #508518 #6FB921 #8EDC3C

Accessibility & contrast

On white

4.46
#508518 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#508518 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508518
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508518#FFFFFF#000000##000000
##5085181.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#847624
Tritanopia (blue-blind)
#507F71
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #508518;
/* rgb */ color: rgb(80, 133, 24);
/* oklch */ color: oklch(55.8% 0.146 132.9);
Tailwind
colors: {
  custom: {
    50: '#86a95f',
    500: '#508518',
    950: '#000000',
  },
}
SCSS
$custom: #508518;
$custom-light: #86a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#508518",
  "rgb": {
    "r": 80,
    "g": 133,
    "b": 24
  },
  "hsl": {
    "h": 89.174,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55847,
    "c": 0.14634,
    "h": 132.9
  },
  "luminance": 0.18546
}

Semantic roles & 50–950 ramp

primary
#508518
secondary
#7B40B9
accent
#3CEC91
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #508518

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

Preview Lab → · Contrast checker → · Palette generator →

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