#516D2E#516D2E

#516D2E is a mid, moderate yellow-green. Relative luminance 0.129; OKLCH L 49.8% C 0.096 H 129.3°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#516D2E
RGBrgb(81, 109, 46)
HSLhsl(87, 41%, 30%)
HSVhsv(87, 58%, 43%)
CMYKcmyk(25.7%, 0%, 57.8%, 57.3%)
CIE-LABlab(42.59, -21.68, 31.47)
CIE-LCHlch(42.59, 38.21, 124.56°)
OKLaboklab(49.76% -0.0607 0.0741)
OKLCHoklch(49.76% 0.096 129.3)
XYZxyz(9.3550, 12.8837, 4.5782)
Luminance0.1288 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516D2E #4A2E6D
analogous
#6D692E #516D2E #316D2E
triadic
#516D2E #2E516D #6D2E51
tetradic
#516D2E #2E6D69 #4A2E6D #6D2E31
square
#516D2E #2E6D69 #4A2E6D #6D2E31
split-complementary
#516D2E #2E316D #692E6D
monochromatic
#11170A #31421C #516D2E #719840 #90BA5B

Accessibility & contrast

On white

5.87
#516D2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#516D2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516D2E
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516D2E#FFFFFF#000000##FFFFFF
##516D2E1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726628
Deuteranopia (green-blind)
#6E6432
Tritanopia (blue-blind)
#53695F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #516d2e;
/* rgb */ color: rgb(81, 109, 46);
/* oklch */ color: oklch(49.8% 0.096 129.3);
Tailwind
colors: {
  custom: {
    50: '#849769',
    500: '#516d2e',
    950: '#000000',
  },
}
SCSS
$custom: #516d2e;
$custom-light: #849769;
$custom-dark: #000000;
JSON
{
  "hex": "#516d2e",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 46
  },
  "hsl": {
    "h": 86.667,
    "s": 40.645,
    "l": 30.392
  },
  "oklch": {
    "l": 0.49762,
    "c": 0.09581,
    "h": 129.3
  },
  "luminance": 0.12884
}

Semantic roles & 50–950 ramp

primary
#516D2E
secondary
#77589F
accent
#57D08D
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #516D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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