#518017#518017

#518017 is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.6% C 0.140 H 131.6°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#518017
RGBrgb(81, 128, 23)
HSLhsl(87, 70%, 30%)
HSVhsv(87, 82%, 50%)
CMYKcmyk(36.7%, 0%, 82%, 49.8%)
CIE-LABlab(48.57, -32.71, 47.46)
CIE-LCHlch(48.57, 57.64, 124.57°)
OKLaboklab(54.57% -0.0928 0.1047)
OKLCHoklch(54.57% 0.14 131.6)
XYZxyz(11.2671, 17.2491, 3.5462)
Luminance0.1725 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518017 #461780
analogous
#807B17 #518017 #1D8017
triadic
#518017 #175180 #801751
tetradic
#518017 #17807B #461780 #80171D
square
#518017 #17807B #461780 #80171D
split-complementary
#518017 #171D80 #7B1780
monochromatic
#101A05 #304C0E #518017 #72B420 #91DB36

Accessibility & contrast

On white

4.72
#518017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#518017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #518017
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518017#FFFFFF#000000##FFFFFF
##5180171.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#807223
Tritanopia (blue-blind)
#527A6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #518017;
/* rgb */ color: rgb(81, 128, 23);
/* oklch */ color: oklch(54.6% 0.140 131.6);
Tailwind
colors: {
  custom: {
    50: '#86a55e',
    500: '#518017',
    950: '#000000',
  },
}
SCSS
$custom: #518017;
$custom-light: #86a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#518017",
  "rgb": {
    "r": 81,
    "g": 128,
    "b": 23
  },
  "hsl": {
    "h": 86.857,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.54569,
    "c": 0.13988,
    "h": 131.6
  },
  "luminance": 0.1725
}

Semantic roles & 50–950 ramp

primary
#518017
secondary
#733EB4
accent
#3BEC8B
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #518017

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

Preview Lab → · Contrast checker → · Palette generator →

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