#518013#518013

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

Color values

HEX#518013
RGBrgb(81, 128, 19)
HSLhsl(86, 74%, 29%)
HSVhsv(86, 85%, 50%)
CMYKcmyk(36.7%, 0%, 85.2%, 49.8%)
CIE-LABlab(48.55, -32.90, 48.62)
CIE-LCHlch(48.55, 58.71, 124.08°)
OKLaboklab(54.55% -0.0936 0.1065)
OKLCHoklch(54.55% 0.142 131.3)
XYZxyz(11.2300, 17.2342, 3.3508)
Luminance0.1724 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518013 #421380
analogous
#807913 #518013 #1A8013
triadic
#518013 #135180 #801351
tetradic
#518013 #138079 #421380 #80131A
square
#518013 #138079 #421380 #80131A
split-complementary
#518013 #131A80 #791380
monochromatic
#111B04 #2F4B0B #518013 #73B51B #93E02D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##518013#FFFFFF#000000##FFFFFF
##5180131.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)
#807220
Tritanopia (blue-blind)
#537A6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #518013;
/* rgb */ color: rgb(81, 128, 19);
/* oklch */ color: oklch(54.5% 0.142 131.3);
Tailwind
colors: {
  custom: {
    50: '#87a55d',
    500: '#518013',
    950: '#000000',
  },
}
SCSS
$custom: #518013;
$custom-light: #87a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#518013",
  "rgb": {
    "r": 81,
    "g": 128,
    "b": 19
  },
  "hsl": {
    "h": 85.872,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54548,
    "c": 0.14175,
    "h": 131.3
  },
  "luminance": 0.17235
}

Semantic roles & 50–950 ramp

primary
#518013
secondary
#6F39B5
accent
#37F187
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #518013

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

Preview Lab → · Contrast checker → · Palette generator →

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