#518B1D#518B1D

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

Color values

HEX#518B1D
RGBrgb(81, 139, 29)
HSLhsl(92, 65%, 33%)
HSVhsv(92, 79%, 55%)
CMYKcmyk(41.7%, 0%, 79.1%, 45.5%)
CIE-LABlab(52.18, -37.27, 48.89)
CIE-LCHlch(52.18, 61.48, 127.31°)
OKLaboklab(57.53% -0.1047 0.1086)
OKLCHoklch(57.53% 0.151 133.9)
XYZxyz(12.8475, 20.3026, 4.4040)
Luminance0.2030 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518B1D #571D8B
analogous
#888B1D #518B1D #1D8B20
triadic
#518B1D #1D518B #8B1D51
tetradic
#518B1D #1D888B #571D8B #8B201D
square
#518B1D #1D888B #571D8B #8B201D
split-complementary
#518B1D #201D8B #8B1D88
monochromatic
#162608 #335812 #518B1D #6FBE28 #8DD949

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##518B1D#FFFFFF#000000##000000
##518B1D1.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)
#917F01
Deuteranopia (green-blind)
#897B29
Tritanopia (blue-blind)
#518576
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #518b1d;
/* rgb */ color: rgb(81, 139, 29);
/* oklch */ color: oklch(57.5% 0.151 133.9);
Tailwind
colors: {
  custom: {
    50: '#87ad62',
    500: '#518b1d',
    950: '#000000',
  },
}
SCSS
$custom: #518b1d;
$custom-light: #87ad62;
$custom-dark: #000000;
JSON
{
  "hex": "#518b1d",
  "rgb": {
    "r": 81,
    "g": 139,
    "b": 29
  },
  "hsl": {
    "h": 91.636,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57528,
    "c": 0.15086,
    "h": 133.9
  },
  "luminance": 0.20303
}

Semantic roles & 50–950 ramp

primary
#518B1D
secondary
#8549BB
accent
#3FE899
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #518B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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