#518C17#518C17

#518C17 is a mid, vivid yellow-green. Relative luminance 0.206; OKLCH L 57.8% C 0.155 H 133.7°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#518C17
RGBrgb(81, 140, 23)
HSLhsl(90, 72%, 32%)
HSVhsv(90, 84%, 55%)
CMYKcmyk(42.1%, 0%, 83.6%, 45.1%)
CIE-LABlab(52.47, -38.01, 51.02)
CIE-LCHlch(52.47, 63.63, 126.69°)
OKLaboklab(57.76% -0.1071 0.1122)
OKLCHoklch(57.76% 0.155 133.7)
XYZxyz(12.9259, 20.5667, 4.0991)
Luminance0.2057 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518C17 #52178C
analogous
#8C8C17 #518C17 #178C17
triadic
#518C17 #17518C #8C1751
tetradic
#518C17 #178C8C #52178C #8C1717
square
#518C17 #178C8C #52178C #8C1717
split-complementary
#518C17 #17178C #8C178C
monochromatic
#142306 #33570E #518C17 #6FC120 #8EDF3E

Accessibility & contrast

On white

4.11
#518C17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#518C17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518C17
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518C17#FFFFFF#000000##000000
##518C171.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#8A7C25
Tritanopia (blue-blind)
#518677
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #518c17;
/* rgb */ color: rgb(81, 140, 23);
/* oklch */ color: oklch(57.8% 0.155 133.7);
Tailwind
colors: {
  custom: {
    50: '#88ae60',
    500: '#518c17',
    950: '#000000',
  },
}
SCSS
$custom: #518c17;
$custom-light: #88ae60;
$custom-dark: #000000;
JSON
{
  "hex": "#518c17",
  "rgb": {
    "r": 81,
    "g": 140,
    "b": 23
  },
  "hsl": {
    "h": 90.256,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57759,
    "c": 0.15507,
    "h": 133.7
  },
  "luminance": 0.20567
}

Semantic roles & 50–950 ramp

primary
#518C17
secondary
#803FBF
accent
#39EF95
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #518C17

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

Preview Lab → · Contrast checker → · Palette generator →

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