#516C17#516C17

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

Color values

HEX#516C17
RGBrgb(81, 108, 23)
HSLhsl(79, 65%, 26%)
HSVhsv(79, 79%, 42%)
CMYKcmyk(25%, 0%, 78.7%, 57.6%)
CIE-LABlab(42.06, -23.10, 41.34)
CIE-LCHlch(42.06, 47.36, 119.20°)
OKLaboklab(49.27% -0.0668 0.0918)
OKLCHoklch(49.27% 0.113 126)
XYZxyz(8.9106, 12.5362, 2.7607)
Luminance0.1254 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516C17 #32176C
analogous
#6C5C17 #516C17 #266C17
triadic
#516C17 #17516C #6C1751
tetradic
#516C17 #176C5C #32176C #6C1726
square
#516C17 #176C5C #32176C #6C1726
split-complementary
#516C17 #17266C #5C176C
monochromatic
#131905 #2B3A0C #516C17 #779E22 #9DD12C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##516C17#FFFFFF#000000##FFFFFF
##516C171.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)
#726405
Deuteranopia (green-blind)
#6E631F
Tritanopia (blue-blind)
#55675C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #516c17;
/* rgb */ color: rgb(81, 108, 23);
/* oklch */ color: oklch(49.3% 0.113 126.0);
Tailwind
colors: {
  custom: {
    50: '#85965b',
    500: '#516c17',
    950: '#000000',
  },
}
SCSS
$custom: #516c17;
$custom-light: #85965b;
$custom-dark: #000000;
JSON
{
  "hex": "#516c17",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 23
  },
  "hsl": {
    "h": 79.059,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.49265,
    "c": 0.11349,
    "h": 126
  },
  "luminance": 0.12536
}

Semantic roles & 50–950 ramp

primary
#516C17
secondary
#5D3DA2
accent
#40E875
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #516C17

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

Preview Lab → · Contrast checker → · Palette generator →

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