#518B1E#518B1E

#518B1E is a mid, vivid yellow-green. Relative luminance 0.203; OKLCH L 57.5% C 0.150 H 134.0°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#518B1E
RGBrgb(81, 139, 30)
HSLhsl(92, 64%, 33%)
HSVhsv(92, 78%, 55%)
CMYKcmyk(41.7%, 0%, 78.4%, 45.5%)
CIE-LABlab(52.18, -37.21, 48.56)
CIE-LCHlch(52.18, 61.18, 127.46°)
OKLaboklab(57.53% -0.1045 0.1081)
OKLCHoklch(57.53% 0.15 134)
XYZxyz(12.8601, 20.3076, 4.4702)
Luminance0.2031 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518B1E #581E8B
analogous
#878B1E #518B1E #1E8B22
triadic
#518B1E #1E518B #8B1E51
tetradic
#518B1E #1E878B #581E8B #8B221E
square
#518B1E #1E878B #581E8B #8B221E
split-complementary
#518B1E #221E8B #8B1E87
monochromatic
#162608 #345913 #518B1E #6EBD29 #8DD84B

Accessibility & contrast

On white

4.15
#518B1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#518B1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518B1E
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518B1E#FFFFFF#000000##000000
##518B1E1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F03
Deuteranopia (green-blind)
#897B2A
Tritanopia (blue-blind)
#508577
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #518b1e;
/* rgb */ color: rgb(81, 139, 30);
/* oklch */ color: oklch(57.5% 0.150 134.0);
Tailwind
colors: {
  custom: {
    50: '#87ad63',
    500: '#518b1e',
    950: '#000000',
  },
}
SCSS
$custom: #518b1e;
$custom-light: #87ad63;
$custom-dark: #000000;
JSON
{
  "hex": "#518b1e",
  "rgb": {
    "r": 81,
    "g": 139,
    "b": 30
  },
  "hsl": {
    "h": 91.927,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57534,
    "c": 0.15032,
    "h": 134
  },
  "luminance": 0.20308
}

Semantic roles & 50–950 ramp

primary
#518B1E
secondary
#864ABB
accent
#40E799
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #518B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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