#518F17#518F17

#518F17 is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.6% C 0.159 H 134.1°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#518F17
RGBrgb(81, 143, 23)
HSLhsl(91, 72%, 33%)
HSVhsv(91, 84%, 56%)
CMYKcmyk(43.4%, 0%, 83.9%, 43.9%)
CIE-LABlab(53.44, -39.29, 51.90)
CIE-LCHlch(53.44, 65.10, 127.13°)
OKLaboklab(58.56% -0.1105 0.114)
OKLCHoklch(58.56% 0.159 134.1)
XYZxyz(13.3702, 21.4554, 4.2473)
Luminance0.2146 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518F17 #55178F
analogous
#8D8F17 #518F17 #178F19
triadic
#518F17 #17518F #8F1751
tetradic
#518F17 #178D8F #55178F #8F1917
square
#518F17 #178D8F #55178F #8F1917
split-complementary
#518F17 #19178F #8F178D
monochromatic
#152606 #335A0F #518F17 #6FC41F #8EE040

Accessibility & contrast

On white

3.97
#518F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#518F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518F17
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518F17#FFFFFF#000000##000000
##518F171.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8D7E26
Tritanopia (blue-blind)
#508979
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #518f17;
/* rgb */ color: rgb(81, 143, 23);
/* oklch */ color: oklch(58.6% 0.159 134.1);
Tailwind
colors: {
  custom: {
    50: '#88b061',
    500: '#518f17',
    950: '#000000',
  },
}
SCSS
$custom: #518f17;
$custom-light: #88b061;
$custom-dark: #000000;
JSON
{
  "hex": "#518f17",
  "rgb": {
    "r": 81,
    "g": 143,
    "b": 23
  },
  "hsl": {
    "h": 91,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58557,
    "c": 0.15878,
    "h": 134.1
  },
  "luminance": 0.21456
}

Semantic roles & 50–950 ramp

primary
#518F17
secondary
#8341C1
accent
#39EF97
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #518F17

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

Preview Lab → · Contrast checker → · Palette generator →

#518F17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva