#516D2D#516D2D

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

Color values

HEX#516D2D
RGBrgb(81, 109, 45)
HSLhsl(86, 42%, 30%)
HSVhsv(86, 59%, 43%)
CMYKcmyk(25.7%, 0%, 58.7%, 57.3%)
CIE-LABlab(42.58, -21.79, 31.97)
CIE-LCHlch(42.58, 38.69, 124.27°)
OKLaboklab(49.75% -0.0611 0.0751)
OKLCHoklch(49.75% 0.097 129.1)
XYZxyz(9.3356, 12.8759, 4.4756)
Luminance0.1288 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516D2D #492D6D
analogous
#6D692D #516D2D #316D2D
triadic
#516D2D #2D516D #6D2D51
tetradic
#516D2D #2D6D69 #492D6D #6D2D31
square
#516D2D #2D6D69 #492D6D #6D2D31
split-complementary
#516D2D #2D316D #692D6D
monochromatic
#111609 #31421B #516D2D #71983F #90BB5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##516D2D#FFFFFF#000000##FFFFFF
##516D2D1.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)
#726627
Deuteranopia (green-blind)
#6E6431
Tritanopia (blue-blind)
#53685F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #516d2d;
/* rgb */ color: rgb(81, 109, 45);
/* oklch */ color: oklch(49.7% 0.097 129.1);
Tailwind
colors: {
  custom: {
    50: '#849768',
    500: '#516d2d',
    950: '#000000',
  },
}
SCSS
$custom: #516d2d;
$custom-light: #849768;
$custom-dark: #000000;
JSON
{
  "hex": "#516d2d",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 45
  },
  "hsl": {
    "h": 86.25,
    "s": 41.558,
    "l": 30.196
  },
  "oklch": {
    "l": 0.49749,
    "c": 0.09682,
    "h": 129.1
  },
  "luminance": 0.12876
}

Semantic roles & 50–950 ramp

primary
#516D2D
secondary
#76579F
accent
#56D18C
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #516D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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