#518F2D#518F2D

#518F2D is a mid, vivid yellow-green. Relative luminance 0.216; OKLCH L 58.7% C 0.146 H 136.1°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#518F2D
RGBrgb(81, 143, 45)
HSLhsl(98, 52%, 37%)
HSVhsv(98, 69%, 56%)
CMYKcmyk(43.4%, 0%, 68.5%, 43.9%)
CIE-LABlab(53.58, -37.83, 44.17)
CIE-LCHlch(53.58, 58.16, 130.58°)
OKLaboklab(58.71% -0.105 0.1011)
OKLCHoklch(58.71% 0.146 136.1)
XYZxyz(13.6891, 21.5829, 5.9267)
Luminance0.2158 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518F2D #6B2D8F
analogous
#828F2D #518F2D #2D8F3A
triadic
#518F2D #2D518F #8F2D51
tetradic
#518F2D #2D828F #6B2D8F #8F3A2D
square
#518F2D #2D828F #6B2D8F #8F3A2D
split-complementary
#518F2D #3A2D8F #8F2D82
monochromatic
#1C3210 #37601E #518F2D #6BBE3C #8DCF67

Accessibility & contrast

On white

3.95
#518F2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#518F2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518F2D
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518F2D#FFFFFF#000000##000000
##518F2D1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#94831F
Deuteranopia (green-blind)
#8C7E36
Tritanopia (blue-blind)
#4F8A7B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #518f2d;
/* rgb */ color: rgb(81, 143, 45);
/* oklch */ color: oklch(58.7% 0.146 136.1);
Tailwind
colors: {
  custom: {
    50: '#87b06b',
    500: '#518f2d',
    950: '#000000',
  },
}
SCSS
$custom: #518f2d;
$custom-light: #87b06b;
$custom-dark: #000000;
JSON
{
  "hex": "#518f2d",
  "rgb": {
    "r": 81,
    "g": 143,
    "b": 45
  },
  "hsl": {
    "h": 97.959,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.58713,
    "c": 0.14578,
    "h": 136.1
  },
  "luminance": 0.21584
}

Semantic roles & 50–950 ramp

primary
#518F2D
secondary
#9762B6
accent
#4CDCA7
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #518F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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