#518F2E#518F2E

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

Color values

HEX#518F2E
RGBrgb(81, 143, 46)
HSLhsl(98, 51%, 37%)
HSVhsv(98, 68%, 56%)
CMYKcmyk(43.4%, 0%, 67.8%, 43.9%)
CIE-LABlab(53.59, -37.74, 43.75)
CIE-LCHlch(53.59, 57.78, 130.78°)
OKLaboklab(58.72% -0.1047 0.1003)
OKLCHoklch(58.72% 0.145 136.2)
XYZxyz(13.7086, 21.5907, 6.0293)
Luminance0.2159 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518F2E #6C2E8F
analogous
#828F2E #518F2E #2E8F3C
triadic
#518F2E #2E518F #8F2E51
tetradic
#518F2E #2E828F #6C2E8F #8F3C2E
square
#518F2E #2E828F #6C2E8F #8F3C2E
split-complementary
#518F2E #3C2E8F #8F2E82
monochromatic
#1D3210 #37611F #518F2E #6BBD3D #8ECF69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##518F2E#FFFFFF#000000##000000
##518F2E1.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)
#948321
Deuteranopia (green-blind)
#8C7E36
Tritanopia (blue-blind)
#4F8A7B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #518f2e;
/* rgb */ color: rgb(81, 143, 46);
/* oklch */ color: oklch(58.7% 0.145 136.2);
Tailwind
colors: {
  custom: {
    50: '#87b06c',
    500: '#518f2e',
    950: '#000000',
  },
}
SCSS
$custom: #518f2e;
$custom-light: #87b06c;
$custom-dark: #000000;
JSON
{
  "hex": "#518f2e",
  "rgb": {
    "r": 81,
    "g": 143,
    "b": 46
  },
  "hsl": {
    "h": 98.351,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.58723,
    "c": 0.14503,
    "h": 136.2
  },
  "luminance": 0.21592
}

Semantic roles & 50–950 ramp

primary
#518F2E
secondary
#9863B6
accent
#4DDBA8
background
#F8FAF6
surface
#F0F5EC
border
#CBCFC7
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #518F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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