#518F14#518F14

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

Color values

HEX#518F14
RGBrgb(81, 143, 20)
HSLhsl(90, 75%, 32%)
HSVhsv(90, 86%, 56%)
CMYKcmyk(43.4%, 0%, 86%, 43.9%)
CIE-LABlab(53.43, -39.42, 52.69)
CIE-LCHlch(53.43, 65.80, 126.81°)
OKLaboklab(58.54% -0.111 0.1152)
OKLCHoklch(58.54% 0.16 133.9)
XYZxyz(13.3418, 21.4440, 4.0978)
Luminance0.2145 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518F14 #52148F
analogous
#8F8F14 #518F14 #148F15
triadic
#518F14 #14518F #8F1451
tetradic
#518F14 #148F8F #52148F #8F1514
square
#518F14 #148F8F #52148F #8F1514
split-complementary
#518F14 #15148F #8F148F
monochromatic
#142405 #33590C #518F14 #6FC51C #8EE33A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##518F14#FFFFFF#000000##000000
##518F141.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)
#8D7E24
Tritanopia (blue-blind)
#508979
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #518f14;
/* rgb */ color: rgb(81, 143, 20);
/* oklch */ color: oklch(58.5% 0.160 133.9);
Tailwind
colors: {
  custom: {
    50: '#88b05f',
    500: '#518f14',
    950: '#000000',
  },
}
SCSS
$custom: #518f14;
$custom-light: #88b05f;
$custom-dark: #000000;
JSON
{
  "hex": "#518f14",
  "rgb": {
    "r": 81,
    "g": 143,
    "b": 20
  },
  "hsl": {
    "h": 90.244,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.58543,
    "c": 0.16,
    "h": 133.9
  },
  "luminance": 0.21445
}

Semantic roles & 50–950 ramp

primary
#518F14
secondary
#803CC3
accent
#36F295
background
#F8FAF5
surface
#F0F5EA
border
#CBCFC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #518F14

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

Preview Lab → · Contrast checker → · Palette generator →

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