#518019#518019

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

Color values

HEX#518019
RGBrgb(81, 128, 25)
HSLhsl(87, 67%, 30%)
HSVhsv(87, 80%, 50%)
CMYKcmyk(36.7%, 0%, 80.5%, 49.8%)
CIE-LABlab(48.58, -32.60, 46.83)
CIE-LCHlch(48.58, 57.06, 124.85°)
OKLaboklab(54.58% -0.0924 0.1037)
OKLCHoklch(54.58% 0.139 131.7)
XYZxyz(11.2879, 17.2574, 3.6558)
Luminance0.1726 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518019 #481980
analogous
#807C19 #518019 #1D8019
triadic
#518019 #195180 #801951
tetradic
#518019 #19807C #481980 #80191D
square
#518019 #19807C #481980 #80191D
split-complementary
#518019 #191D80 #7C1980
monochromatic
#101A05 #314D0F #518019 #71B323 #91D93B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##518019#FFFFFF#000000##FFFFFF
##5180191.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)
#7F7224
Tritanopia (blue-blind)
#527A6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #518019;
/* rgb */ color: rgb(81, 128, 25);
/* oklch */ color: oklch(54.6% 0.139 131.7);
Tailwind
colors: {
  custom: {
    50: '#86a55f',
    500: '#518019',
    950: '#000000',
  },
}
SCSS
$custom: #518019;
$custom-light: #86a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#518019",
  "rgb": {
    "r": 81,
    "g": 128,
    "b": 25
  },
  "hsl": {
    "h": 87.379,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.54581,
    "c": 0.13885,
    "h": 131.7
  },
  "luminance": 0.17258
}

Semantic roles & 50–950 ramp

primary
#518019
secondary
#7541B4
accent
#3EEA8C
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #518019

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

Preview Lab → · Contrast checker → · Palette generator →

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