#516D41#516D41

#516D41 is a mid, moderate yellow-green. Relative luminance 0.131; OKLCH L 50.1% C 0.074 H 134.8°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#516D41
RGBrgb(81, 109, 65)
HSLhsl(98, 25%, 34%)
HSVhsv(98, 40%, 43%)
CMYKcmyk(25.7%, 0%, 40.4%, 57.3%)
CIE-LABlab(42.87, -19.15, 21.35)
CIE-LCHlch(42.87, 28.68, 131.88°)
OKLaboklab(50.08% -0.0524 0.0527)
OKLCHoklch(50.08% 0.074 134.8)
XYZxyz(9.8159, 13.0680, 7.0052)
Luminance0.1307 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516D41 #5D416D
analogous
#676D41 #516D41 #416D47
triadic
#516D41 #41516D #6D4151
tetradic
#516D41 #41676D #5D416D #6D4741
square
#516D41 #41676D #5D416D #6D4741
split-complementary
#516D41 #47416D #6D4167
monochromatic
#182013 #35472A #516D41 #6D9358 #8DAF79

Accessibility & contrast

On white

5.81
#516D41 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#516D41 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516D41
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516D41#FFFFFF#000000##FFFFFF
##516D411.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70673E
Deuteranopia (green-blind)
#6C6443
Tritanopia (blue-blind)
#516A62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #516d41;
/* rgb */ color: rgb(81, 109, 65);
/* oklch */ color: oklch(50.1% 0.074 134.8);
Tailwind
colors: {
  custom: {
    50: '#839776',
    500: '#516d41',
    950: '#000000',
  },
}
SCSS
$custom: #516d41;
$custom-light: #839776;
$custom-dark: #000000;
JSON
{
  "hex": "#516d41",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 65
  },
  "hsl": {
    "h": 98.182,
    "s": 25.287,
    "l": 34.118
  },
  "oklch": {
    "l": 0.50077,
    "c": 0.07432,
    "h": 134.8
  },
  "luminance": 0.13068
}

Semantic roles & 50–950 ramp

primary
#516D41
secondary
#8B6F9B
accent
#66C2A0
background
#F8F9F7
surface
#EFF2ED
border
#CACCC8
text
#0A0D08
muted
#7C7E7B

Preview Lab

Preview with #516D41

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

Preview Lab → · Contrast checker → · Palette generator →

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