#518F16#518F16

#518F16 is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.6% C 0.159 H 134.1°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#518F16
RGBrgb(81, 143, 22)
HSLhsl(91, 73%, 32%)
HSVhsv(91, 85%, 56%)
CMYKcmyk(43.4%, 0%, 84.6%, 43.9%)
CIE-LABlab(53.44, -39.34, 52.17)
CIE-LCHlch(53.44, 65.34, 127.02°)
OKLaboklab(58.55% -0.1107 0.1144)
OKLCHoklch(58.55% 0.159 134.1)
XYZxyz(13.3604, 21.4514, 4.1955)
Luminance0.2145 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518F16 #54168F
analogous
#8D8F16 #518F16 #168F18
triadic
#518F16 #16518F #8F1651
tetradic
#518F16 #168D8F #54168F #8F1816
square
#518F16 #168D8F #54168F #8F1816
split-complementary
#518F16 #18168F #8F168D
monochromatic
#152506 #335A0E #518F16 #6FC41E #8EE13E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##518F16#FFFFFF#000000##000000
##518F161.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: #518f16;
/* rgb */ color: rgb(81, 143, 22);
/* oklch */ color: oklch(58.6% 0.159 134.1);
Tailwind
colors: {
  custom: {
    50: '#88b060',
    500: '#518f16',
    950: '#000000',
  },
}
SCSS
$custom: #518f16;
$custom-light: #88b060;
$custom-dark: #000000;
JSON
{
  "hex": "#518f16",
  "rgb": {
    "r": 81,
    "g": 143,
    "b": 22
  },
  "hsl": {
    "h": 90.744,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58552,
    "c": 0.1592,
    "h": 134.1
  },
  "luminance": 0.21452
}

Semantic roles & 50–950 ramp

primary
#518F16
secondary
#823FC1
accent
#38F096
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #518F16

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

Preview Lab → · Contrast checker → · Palette generator →

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