#516D15#516D15

#516D15 is a mid, moderate yellow-green. Relative luminance 0.127; OKLCH L 49.5% C 0.116 H 126.3°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#516D15
RGBrgb(81, 109, 21)
HSLhsl(79, 68%, 25%)
HSVhsv(79, 81%, 43%)
CMYKcmyk(25.7%, 0%, 80.7%, 57.3%)
CIE-LABlab(42.37, -23.72, 42.36)
CIE-LCHlch(42.37, 48.54, 119.25°)
OKLaboklab(49.52% -0.0686 0.0936)
OKLCHoklch(49.52% 0.116 126.3)
XYZxyz(8.9974, 12.7406, 2.6945)
Luminance0.1274 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516D15 #31156D
analogous
#6D5D15 #516D15 #256D15
triadic
#516D15 #15516D #6D1551
tetradic
#516D15 #156D5D #31156D #6D1525
square
#516D15 #156D5D #31156D #6D1525
split-complementary
#516D15 #15256D #5D156D
monochromatic
#131A05 #2B3A0B #516D15 #77A01F #9DD429

Accessibility & contrast

On white

5.92
#516D15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#516D15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516D15
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516D15#FFFFFF#000000##FFFFFF
##516D151.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736501
Deuteranopia (green-blind)
#6F641E
Tritanopia (blue-blind)
#55675D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #516d15;
/* rgb */ color: rgb(81, 109, 21);
/* oklch */ color: oklch(49.5% 0.116 126.3);
Tailwind
colors: {
  custom: {
    50: '#85975a',
    500: '#516d15',
    950: '#000000',
  },
}
SCSS
$custom: #516d15;
$custom-light: #85975a;
$custom-dark: #000000;
JSON
{
  "hex": "#516d15",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 21
  },
  "hsl": {
    "h": 79.091,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.49516,
    "c": 0.11602,
    "h": 126.3
  },
  "luminance": 0.12741
}

Semantic roles & 50–950 ramp

primary
#516D15
secondary
#5C3AA3
accent
#3DEB74
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #516D15

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

Preview Lab → · Contrast checker → · Palette generator →

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