#516C27#516C27

#516C27 is a mid, moderate yellow-green. Relative luminance 0.126; OKLCH L 49.4% C 0.101 H 127.7°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#516C27
RGBrgb(81, 108, 39)
HSLhsl(83, 47%, 29%)
HSVhsv(83, 64%, 42%)
CMYKcmyk(25%, 0%, 63.9%, 57.6%)
CIE-LABlab(42.19, -21.88, 34.54)
CIE-LCHlch(42.19, 40.89, 122.35°)
OKLaboklab(49.41% -0.0619 0.0799)
OKLCHoklch(49.41% 0.101 127.7)
XYZxyz(9.1221, 12.6208, 3.8745)
Luminance0.1262 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516C27 #42276C
analogous
#6C6527 #516C27 #2F6C27
triadic
#516C27 #27516C #6C2751
tetradic
#516C27 #276C65 #42276C #6C272F
square
#516C27 #276C65 #42276C #6C272F
split-complementary
#516C27 #272F6C #65276C
monochromatic
#111608 #2F3F17 #516C27 #739937 #93BF4E

Accessibility & contrast

On white

5.96
#516C27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#516C27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516C27
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516C27#FFFFFF#000000##FFFFFF
##516C271.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71651F
Deuteranopia (green-blind)
#6E632C
Tritanopia (blue-blind)
#54675D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #516c27;
/* rgb */ color: rgb(81, 108, 39);
/* oklch */ color: oklch(49.4% 0.101 127.7);
Tailwind
colors: {
  custom: {
    50: '#849664',
    500: '#516c27',
    950: '#000000',
  },
}
SCSS
$custom: #516c27;
$custom-light: #849664;
$custom-dark: #000000;
JSON
{
  "hex": "#516c27",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 39
  },
  "hsl": {
    "h": 83.478,
    "s": 46.939,
    "l": 28.824
  },
  "oklch": {
    "l": 0.49412,
    "c": 0.1011,
    "h": 127.7
  },
  "luminance": 0.12621
}

Semantic roles & 50–950 ramp

primary
#516C27
secondary
#6F509F
accent
#51D785
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #516C27

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

Preview Lab → · Contrast checker → · Palette generator →

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