#518E2B#518E2B

#518E2B is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.4% C 0.146 H 135.7°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#518E2B
RGBrgb(81, 142, 43)
HSLhsl(97, 54%, 36%)
HSVhsv(97, 70%, 56%)
CMYKcmyk(43%, 0%, 69.7%, 44.3%)
CIE-LABlab(53.24, -37.57, 44.66)
CIE-LCHlch(53.24, 58.36, 130.07°)
OKLaboklab(58.43% -0.1045 0.1018)
OKLCHoklch(58.43% 0.146 135.7)
XYZxyz(13.5021, 21.2690, 5.6789)
Luminance0.2127 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518E2B #682B8E
analogous
#838E2B #518E2B #2B8E37
triadic
#518E2B #2B518E #8E2B51
tetradic
#518E2B #2B838E #682B8E #8E372B
square
#518E2B #2B838E #682B8E #8E372B
split-complementary
#518E2B #372B8E #8E2B83
monochromatic
#1B300F #365F1D #518E2B #6CBD39 #8DD063

Accessibility & contrast

On white

4.00
#518E2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#518E2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518E2B
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518E2B#FFFFFF#000000##000000
##518E2B1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#93821D
Deuteranopia (green-blind)
#8B7D34
Tritanopia (blue-blind)
#4F897A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #518e2b;
/* rgb */ color: rgb(81, 142, 43);
/* oklch */ color: oklch(58.4% 0.146 135.7);
Tailwind
colors: {
  custom: {
    50: '#87af6a',
    500: '#518e2b',
    950: '#000000',
  },
}
SCSS
$custom: #518e2b;
$custom-light: #87af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#518e2b",
  "rgb": {
    "r": 81,
    "g": 142,
    "b": 43
  },
  "hsl": {
    "h": 96.97,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.5843,
    "c": 0.1459,
    "h": 135.7
  },
  "luminance": 0.2127
}

Semantic roles & 50–950 ramp

primary
#518E2B
secondary
#955FB6
accent
#4BDDA5
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #518E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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