#518E2E#518E2E

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

Color values

HEX#518E2E
RGBrgb(81, 142, 46)
HSLhsl(98, 51%, 37%)
HSVhsv(98, 68%, 56%)
CMYKcmyk(43%, 0%, 67.6%, 44.3%)
CIE-LABlab(53.27, -37.31, 43.41)
CIE-LCHlch(53.27, 57.24, 130.68°)
OKLaboklab(58.46% -0.1035 0.0996)
OKLCHoklch(58.46% 0.144 136.1)
XYZxyz(13.5591, 21.2918, 5.9795)
Luminance0.2129 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518E2E #6B2E8E
analogous
#818E2E #518E2E #2E8E3B
triadic
#518E2E #2E518E #8E2E51
tetradic
#518E2E #2E818E #6B2E8E #8E3B2E
square
#518E2E #2E818E #6B2E8E #8E3B2E
split-complementary
#518E2E #3B2E8E #8E2E81
monochromatic
#1C3210 #37601F #518E2E #6BBC3D #8DCE68

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##518E2E#FFFFFF#000000##000000
##518E2E1.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)
#938221
Deuteranopia (green-blind)
#8B7D36
Tritanopia (blue-blind)
#4F897A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #518e2e;
/* rgb */ color: rgb(81, 142, 46);
/* oklch */ color: oklch(58.5% 0.144 136.1);
Tailwind
colors: {
  custom: {
    50: '#87af6c',
    500: '#518e2e',
    950: '#000000',
  },
}
SCSS
$custom: #518e2e;
$custom-light: #87af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#518e2e",
  "rgb": {
    "r": 81,
    "g": 142,
    "b": 46
  },
  "hsl": {
    "h": 98.125,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.58458,
    "c": 0.14368,
    "h": 136.1
  },
  "luminance": 0.21293
}

Semantic roles & 50–950 ramp

primary
#518E2E
secondary
#9763B5
accent
#4DDBA7
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #518E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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