#518F2C#518F2C

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

Color values

HEX#518F2C
RGBrgb(81, 143, 44)
HSLhsl(98, 53%, 37%)
HSVhsv(98, 69%, 56%)
CMYKcmyk(43.4%, 0%, 69.2%, 43.9%)
CIE-LABlab(53.57, -37.92, 44.59)
CIE-LCHlch(53.57, 58.53, 130.38°)
OKLaboklab(58.7% -0.1053 0.1018)
OKLCHoklch(58.7% 0.147 136)
XYZxyz(13.6701, 21.5753, 5.8265)
Luminance0.2158 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518F2C #6A2C8F
analogous
#838F2C #518F2C #2C8F39
triadic
#518F2C #2C518F #8F2C51
tetradic
#518F2C #2C838F #6A2C8F #8F392C
square
#518F2C #2C838F #6A2C8F #8F392C
split-complementary
#518F2C #392C8F #8F2C83
monochromatic
#1C310F #36601E #518F2C #6CBE3A #8DD066

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##518F2C#FFFFFF#000000##000000
##518F2C1.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)
#94831E
Deuteranopia (green-blind)
#8C7E35
Tritanopia (blue-blind)
#4F8A7B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #518f2c;
/* rgb */ color: rgb(81, 143, 44);
/* oklch */ color: oklch(58.7% 0.147 136.0);
Tailwind
colors: {
  custom: {
    50: '#87b06b',
    500: '#518f2c',
    950: '#000000',
  },
}
SCSS
$custom: #518f2c;
$custom-light: #87b06b;
$custom-dark: #000000;
JSON
{
  "hex": "#518f2c",
  "rgb": {
    "r": 81,
    "g": 143,
    "b": 44
  },
  "hsl": {
    "h": 97.576,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.58704,
    "c": 0.14652,
    "h": 136
  },
  "luminance": 0.21576
}

Semantic roles & 50–950 ramp

primary
#518F2C
secondary
#9661B6
accent
#4BDCA6
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #518F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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