#516C18#516C18

#516C18 is a mid, moderate yellow-green. Relative luminance 0.125; OKLCH L 49.3% C 0.113 H 126.1°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#516C18
RGBrgb(81, 108, 24)
HSLhsl(79, 64%, 26%)
HSVhsv(79, 78%, 42%)
CMYKcmyk(25%, 0%, 77.8%, 57.6%)
CIE-LABlab(42.06, -23.04, 40.97)
CIE-LCHlch(42.06, 47.01, 119.35°)
OKLaboklab(49.27% -0.0665 0.0912)
OKLCHoklch(49.27% 0.113 126.1)
XYZxyz(8.9208, 12.5403, 2.8145)
Luminance0.1254 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516C18 #33186C
analogous
#6C5D18 #516C18 #276C18
triadic
#516C18 #18516C #6C1851
tetradic
#516C18 #186C5D #33186C #6C1827
square
#516C18 #186C5D #33186C #6C1827
split-complementary
#516C18 #18276C #5D186C
monochromatic
#131906 #2B3A0D #516C18 #779E23 #9CD02E

Accessibility & contrast

On white

5.99
#516C18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#516C18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516C18
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516C18#FFFFFF#000000##FFFFFF
##516C181.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726407
Deuteranopia (green-blind)
#6E6320
Tritanopia (blue-blind)
#55675C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #516c18;
/* rgb */ color: rgb(81, 108, 24);
/* oklch */ color: oklch(49.3% 0.113 126.1);
Tailwind
colors: {
  custom: {
    50: '#85965c',
    500: '#516c18',
    950: '#000000',
  },
}
SCSS
$custom: #516c18;
$custom-light: #85965c;
$custom-dark: #000000;
JSON
{
  "hex": "#516c18",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 24
  },
  "hsl": {
    "h": 79.286,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.49272,
    "c": 0.11286,
    "h": 126.1
  },
  "luminance": 0.1254
}

Semantic roles & 50–950 ramp

primary
#516C18
secondary
#5E3EA2
accent
#41E776
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #516C18

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

Preview Lab → · Contrast checker → · Palette generator →

#516C18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva