#518A1D#518A1D

#518A1D is a mid, vivid yellow-green. Relative luminance 0.200; OKLCH L 57.3% C 0.150 H 133.8°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#518A1D
RGBrgb(81, 138, 29)
HSLhsl(91, 65%, 33%)
HSVhsv(91, 79%, 54%)
CMYKcmyk(41.3%, 0%, 79%, 45.9%)
CIE-LABlab(51.85, -36.83, 48.59)
CIE-LCHlch(51.85, 60.97, 127.16°)
OKLaboklab(57.26% -0.1035 0.108)
OKLCHoklch(57.26% 0.15 133.8)
XYZxyz(12.7034, 20.0144, 4.3560)
Luminance0.2001 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518A1D #561D8A
analogous
#878A1D #518A1D #1D8A20
triadic
#518A1D #1D518A #8A1D51
tetradic
#518A1D #1D878A #561D8A #8A201D
square
#518A1D #1D878A #561D8A #8A201D
split-complementary
#518A1D #201D8A #8A1D87
monochromatic
#162508 #335712 #518A1D #6FBD28 #8DD949

Accessibility & contrast

On white

4.20
#518A1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#518A1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518A1D
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518A1D#FFFFFF#000000##000000
##518A1D1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F01
Deuteranopia (green-blind)
#887A29
Tritanopia (blue-blind)
#518476
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #518a1d;
/* rgb */ color: rgb(81, 138, 29);
/* oklch */ color: oklch(57.3% 0.150 133.8);
Tailwind
colors: {
  custom: {
    50: '#87ac62',
    500: '#518a1d',
    950: '#000000',
  },
}
SCSS
$custom: #518a1d;
$custom-light: #87ac62;
$custom-dark: #000000;
JSON
{
  "hex": "#518a1d",
  "rgb": {
    "r": 81,
    "g": 138,
    "b": 29
  },
  "hsl": {
    "h": 91.376,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57262,
    "c": 0.14958,
    "h": 133.8
  },
  "luminance": 0.20015
}

Semantic roles & 50–950 ramp

primary
#518A1D
secondary
#8448BB
accent
#40E898
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #518A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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