#518E2F#518E2F

#518E2F is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.5% C 0.143 H 136.2°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#518E2F
RGBrgb(81, 142, 47)
HSLhsl(99, 50%, 37%)
HSVhsv(99, 67%, 56%)
CMYKcmyk(43%, 0%, 66.9%, 44.3%)
CIE-LABlab(53.28, -37.22, 42.98)
CIE-LCHlch(53.28, 56.85, 130.89°)
OKLaboklab(58.47% -0.1032 0.0988)
OKLCHoklch(58.47% 0.143 136.2)
XYZxyz(13.5791, 21.2998, 6.0845)
Luminance0.2130 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518E2F #6C2F8E
analogous
#818E2F #518E2F #2F8E3C
triadic
#518E2F #2F518E #8E2F51
tetradic
#518E2F #2F818E #6C2F8E #8E3C2F
square
#518E2F #2F818E #6C2F8E #8E3C2F
split-complementary
#518E2F #3C2F8E #8E2F81
monochromatic
#1D3211 #376020 #518E2F #6BBC3E #8ECE6A

Accessibility & contrast

On white

3.99
#518E2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#518E2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518E2F
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518E2F#FFFFFF#000000##000000
##518E2F1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#938223
Deuteranopia (green-blind)
#8B7D37
Tritanopia (blue-blind)
#4F897A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #518e2f;
/* rgb */ color: rgb(81, 142, 47);
/* oklch */ color: oklch(58.5% 0.143 136.2);
Tailwind
colors: {
  custom: {
    50: '#87af6c',
    500: '#518e2f',
    950: '#000000',
  },
}
SCSS
$custom: #518e2f;
$custom-light: #87af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#518e2f",
  "rgb": {
    "r": 81,
    "g": 142,
    "b": 47
  },
  "hsl": {
    "h": 98.526,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.58468,
    "c": 0.1429,
    "h": 136.2
  },
  "luminance": 0.21301
}

Semantic roles & 50–950 ramp

primary
#518E2F
secondary
#9864B5
accent
#4EDAA8
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #518E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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