#518E27#518E27

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

Color values

HEX#518E27
RGBrgb(81, 142, 39)
HSLhsl(96, 57%, 35%)
HSVhsv(96, 73%, 56%)
CMYKcmyk(43%, 0%, 72.5%, 44.3%)
CIE-LABlab(53.21, -37.89, 46.26)
CIE-LCHlch(53.21, 59.79, 129.32°)
OKLaboklab(58.4% -0.1056 0.1046)
OKLCHoklch(58.4% 0.149 135.3)
XYZxyz(13.4322, 21.2411, 5.3112)
Luminance0.2124 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518E27 #64278E
analogous
#848E27 #518E27 #278E30
triadic
#518E27 #27518E #8E2751
tetradic
#518E27 #27848E #64278E #8E3027
square
#518E27 #27848E #64278E #8E3027
split-complementary
#518E27 #30278E #8E2784
monochromatic
#1A2E0D #365E1A #518E27 #6CBE34 #8DD25D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##518E27#FFFFFF#000000##000000
##518E271.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)
#938216
Deuteranopia (green-blind)
#8B7D31
Tritanopia (blue-blind)
#4F897A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #518e27;
/* rgb */ color: rgb(81, 142, 39);
/* oklch */ color: oklch(58.4% 0.149 135.3);
Tailwind
colors: {
  custom: {
    50: '#87af68',
    500: '#518e27',
    950: '#000000',
  },
}
SCSS
$custom: #518e27;
$custom-light: #87af68;
$custom-dark: #000000;
JSON
{
  "hex": "#518e27",
  "rgb": {
    "r": 81,
    "g": 142,
    "b": 39
  },
  "hsl": {
    "h": 95.534,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58396,
    "c": 0.14869,
    "h": 135.3
  },
  "luminance": 0.21242
}

Semantic roles & 50–950 ramp

primary
#518E27
secondary
#9159B8
accent
#48E0A2
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #518E27

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

Preview Lab → · Contrast checker → · Palette generator →

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