#518C16#518C16

#518C16 is a mid, vivid yellow-green. Relative luminance 0.206; OKLCH L 57.8% C 0.155 H 133.6°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#518C16
RGBrgb(81, 140, 22)
HSLhsl(90, 73%, 32%)
HSVhsv(90, 84%, 55%)
CMYKcmyk(42.1%, 0%, 84.3%, 45.1%)
CIE-LABlab(52.47, -38.06, 51.30)
CIE-LCHlch(52.47, 63.88, 126.57°)
OKLaboklab(57.76% -0.1073 0.1126)
OKLCHoklch(57.76% 0.156 133.6)
XYZxyz(12.9160, 20.5628, 4.0473)
Luminance0.2056 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518C16 #51168C
analogous
#8C8C16 #518C16 #168C16
triadic
#518C16 #16518C #8C1651
tetradic
#518C16 #168C8C #51168C #8C1616
square
#518C16 #168C8C #51168C #8C1616
split-complementary
#518C16 #16168C #8C168C
monochromatic
#142205 #32570E #518C16 #70C11E #8EE03C

Accessibility & contrast

On white

4.11
#518C16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#518C16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518C16
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518C16#FFFFFF#000000##000000
##518C161.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#8A7B24
Tritanopia (blue-blind)
#518677
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #518c16;
/* rgb */ color: rgb(81, 140, 22);
/* oklch */ color: oklch(57.8% 0.155 133.6);
Tailwind
colors: {
  custom: {
    50: '#88ae60',
    500: '#518c16',
    950: '#000000',
  },
}
SCSS
$custom: #518c16;
$custom-light: #88ae60;
$custom-dark: #000000;
JSON
{
  "hex": "#518c16",
  "rgb": {
    "r": 81,
    "g": 140,
    "b": 22
  },
  "hsl": {
    "h": 90,
    "s": 72.84,
    "l": 31.765
  },
  "oklch": {
    "l": 0.57755,
    "c": 0.1555,
    "h": 133.6
  },
  "luminance": 0.20563
}

Semantic roles & 50–950 ramp

primary
#518C16
secondary
#7F3EC0
accent
#38F094
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #518C16

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

Preview Lab → · Contrast checker → · Palette generator →

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