#518F2B#518F2B

#518F2B is a mid, vivid yellow-green. Relative luminance 0.216; OKLCH L 58.7% C 0.147 H 135.9°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#518F2B
RGBrgb(81, 143, 43)
HSLhsl(97, 54%, 36%)
HSVhsv(97, 70%, 56%)
CMYKcmyk(43.4%, 0%, 69.9%, 43.9%)
CIE-LABlab(53.57, -38.00, 45.00)
CIE-LCHlch(53.57, 58.90, 130.18°)
OKLaboklab(58.7% -0.1057 0.1026)
OKLCHoklch(58.7% 0.147 135.9)
XYZxyz(13.6515, 21.5679, 5.7287)
Luminance0.2157 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518F2B #692B8F
analogous
#838F2B #518F2B #2B8F37
triadic
#518F2B #2B518F #8F2B51
tetradic
#518F2B #2B838F #692B8F #8F372B
square
#518F2B #2B838F #692B8F #8F372B
split-complementary
#518F2B #372B8F #8F2B83
monochromatic
#1C310F #36601D #518F2B #6CBE39 #8DD064

Accessibility & contrast

On white

3.95
#518F2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#518F2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518F2B
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518F2B#FFFFFF#000000##000000
##518F2B1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#94831C
Deuteranopia (green-blind)
#8C7E34
Tritanopia (blue-blind)
#4F8A7B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #518f2b;
/* rgb */ color: rgb(81, 143, 43);
/* oklch */ color: oklch(58.7% 0.147 135.9);
Tailwind
colors: {
  custom: {
    50: '#87b06a',
    500: '#518f2b',
    950: '#000000',
  },
}
SCSS
$custom: #518f2b;
$custom-light: #87b06a;
$custom-dark: #000000;
JSON
{
  "hex": "#518f2b",
  "rgb": {
    "r": 81,
    "g": 143,
    "b": 43
  },
  "hsl": {
    "h": 97.2,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.58695,
    "c": 0.14725,
    "h": 135.9
  },
  "luminance": 0.21569
}

Semantic roles & 50–950 ramp

primary
#518F2B
secondary
#955FB7
accent
#4BDDA5
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #518F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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