#516D2A#516D2A

#516D2A is a mid, moderate yellow-green. Relative luminance 0.129; OKLCH L 49.7% C 0.100 H 128.6°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#516D2A
RGBrgb(81, 109, 42)
HSLhsl(85, 44%, 30%)
HSVhsv(85, 61%, 43%)
CMYKcmyk(25.7%, 0%, 61.5%, 57.3%)
CIE-LABlab(42.54, -22.10, 33.45)
CIE-LCHlch(42.54, 40.09, 123.45°)
OKLaboklab(49.71% -0.0622 0.078)
OKLCHoklch(49.71% 0.1 128.6)
XYZxyz(9.2799, 12.8536, 4.1821)
Luminance0.1285 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516D2A #462A6D
analogous
#6D682A #516D2A #2F6D2A
triadic
#516D2A #2A516D #6D2A51
tetradic
#516D2A #2A6D68 #462A6D #6D2A2F
square
#516D2A #2A6D68 #462A6D #6D2A2F
split-complementary
#516D2A #2A2F6D #682A6D
monochromatic
#101609 #304119 #516D2A #72993B #91BD54

Accessibility & contrast

On white

5.88
#516D2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#516D2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516D2A
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516D2A#FFFFFF#000000##FFFFFF
##516D2A1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726623
Deuteranopia (green-blind)
#6E642F
Tritanopia (blue-blind)
#53685E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #516d2a;
/* rgb */ color: rgb(81, 109, 42);
/* oklch */ color: oklch(49.7% 0.100 128.6);
Tailwind
colors: {
  custom: {
    50: '#849766',
    500: '#516d2a',
    950: '#000000',
  },
}
SCSS
$custom: #516d2a;
$custom-light: #849766;
$custom-dark: #000000;
JSON
{
  "hex": "#516d2a",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 42
  },
  "hsl": {
    "h": 85.075,
    "s": 44.371,
    "l": 29.608
  },
  "oklch": {
    "l": 0.4971,
    "c": 0.09977,
    "h": 128.6
  },
  "luminance": 0.12854
}

Semantic roles & 50–950 ramp

primary
#516D2A
secondary
#73549F
accent
#54D489
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #516D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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