#516D1D#516D1D

#516D1D is a mid, moderate yellow-green. Relative luminance 0.128; OKLCH L 49.6% C 0.111 H 126.9°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#516D1D
RGBrgb(81, 109, 29)
HSLhsl(81, 58%, 27%)
HSVhsv(81, 73%, 43%)
CMYKcmyk(25.7%, 0%, 73.4%, 57.3%)
CIE-LABlab(42.42, -23.22, 39.34)
CIE-LCHlch(42.42, 45.68, 120.55°)
OKLaboklab(49.58% -0.0665 0.0886)
OKLCHoklch(49.58% 0.111 126.9)
XYZxyz(9.0838, 12.7752, 3.1494)
Luminance0.1278 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516D1D #391D6D
analogous
#6D611D #516D1D #296D1D
triadic
#516D1D #1D516D #6D1D51
tetradic
#516D1D #1D6D61 #391D6D #6D1D29
square
#516D1D #1D6D61 #391D6D #6D1D29
split-complementary
#516D1D #1D296D #611D6D
monochromatic
#121806 #2D3D10 #516D1D #759D2A #98CB3A

Accessibility & contrast

On white

5.91
#516D1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#516D1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516D1D
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516D1D#FFFFFF#000000##FFFFFF
##516D1D1.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736510
Deuteranopia (green-blind)
#6F6424
Tritanopia (blue-blind)
#54685D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #516d1d;
/* rgb */ color: rgb(81, 109, 29);
/* oklch */ color: oklch(49.6% 0.111 126.9);
Tailwind
colors: {
  custom: {
    50: '#85975e',
    500: '#516d1d',
    950: '#000000',
  },
}
SCSS
$custom: #516d1d;
$custom-light: #85975e;
$custom-dark: #000000;
JSON
{
  "hex": "#516d1d",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 29
  },
  "hsl": {
    "h": 81,
    "s": 57.971,
    "l": 27.059
  },
  "oklch": {
    "l": 0.49575,
    "c": 0.11081,
    "h": 126.9
  },
  "luminance": 0.12775
}

Semantic roles & 50–950 ramp

primary
#516D1D
secondary
#6544A2
accent
#47E17D
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #516D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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