#518D2E#518D2E

#518D2E is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.2% C 0.142 H 136.0°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#518D2E
RGBrgb(81, 141, 46)
HSLhsl(98, 51%, 37%)
HSVhsv(98, 67%, 55%)
CMYKcmyk(42.6%, 0%, 67.4%, 44.7%)
CIE-LABlab(52.94, -36.87, 43.06)
CIE-LCHlch(52.94, 56.69, 130.57°)
OKLaboklab(58.19% -0.1024 0.0989)
OKLCHoklch(58.19% 0.142 136)
XYZxyz(13.4110, 20.9956, 5.9301)
Luminance0.2100 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518D2E #6A2E8D
analogous
#818D2E #518D2E #2E8D3B
triadic
#518D2E #2E518D #8D2E51
tetradic
#518D2E #2E818D #6A2E8D #8D3B2E
square
#518D2E #2E818D #6A2E8D #8D3B2E
split-complementary
#518D2E #3B2E8D #8D2E81
monochromatic
#1C3110 #365F1F #518D2E #6CBB3D #8DCE68

Accessibility & contrast

On white

4.04
#518D2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#518D2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518D2E
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518D2E#FFFFFF#000000##000000
##518D2E1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928222
Deuteranopia (green-blind)
#8A7D36
Tritanopia (blue-blind)
#4F8879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #518d2e;
/* rgb */ color: rgb(81, 141, 46);
/* oklch */ color: oklch(58.2% 0.142 136.0);
Tailwind
colors: {
  custom: {
    50: '#87af6c',
    500: '#518d2e',
    950: '#000000',
  },
}
SCSS
$custom: #518d2e;
$custom-light: #87af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#518d2e",
  "rgb": {
    "r": 81,
    "g": 141,
    "b": 46
  },
  "hsl": {
    "h": 97.895,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.58194,
    "c": 0.14232,
    "h": 136
  },
  "luminance": 0.20996
}

Semantic roles & 50–950 ramp

primary
#518D2E
secondary
#9662B5
accent
#4EDAA6
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #518D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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