#518F15#518F15

#518F15 is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 58.5% C 0.160 H 134.0°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#518F15
RGBrgb(81, 143, 21)
HSLhsl(90, 74%, 32%)
HSVhsv(90, 85%, 56%)
CMYKcmyk(43.4%, 0%, 85.3%, 43.9%)
CIE-LABlab(53.44, -39.38, 52.43)
CIE-LCHlch(53.44, 65.58, 126.91°)
OKLaboklab(58.55% -0.1109 0.1148)
OKLCHoklch(58.55% 0.16 134)
XYZxyz(13.3509, 21.4477, 4.1457)
Luminance0.2145 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518F15 #53158F
analogous
#8E8F15 #518F15 #158F16
triadic
#518F15 #15518F #8F1551
tetradic
#518F15 #158E8F #53158F #8F1615
square
#518F15 #158E8F #53158F #8F1615
split-complementary
#518F15 #16158F #8F158E
monochromatic
#152405 #335A0D #518F15 #6FC41D #8EE23C

Accessibility & contrast

On white

3.97
#518F15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#518F15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518F15
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518F15#FFFFFF#000000##000000
##518F151.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8D7E25
Tritanopia (blue-blind)
#508979
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #518f15;
/* rgb */ color: rgb(81, 143, 21);
/* oklch */ color: oklch(58.5% 0.160 134.0);
Tailwind
colors: {
  custom: {
    50: '#88b060',
    500: '#518f15',
    950: '#000000',
  },
}
SCSS
$custom: #518f15;
$custom-light: #88b060;
$custom-dark: #000000;
JSON
{
  "hex": "#518f15",
  "rgb": {
    "r": 81,
    "g": 143,
    "b": 21
  },
  "hsl": {
    "h": 90.492,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.58547,
    "c": 0.15961,
    "h": 134
  },
  "luminance": 0.21448
}

Semantic roles & 50–950 ramp

primary
#518F15
secondary
#813EC2
accent
#37F195
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #518F15

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

Preview Lab → · Contrast checker → · Palette generator →

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