#516F2D#516F2D

#516F2D is a mid, moderate yellow-green. Relative luminance 0.133; OKLCH L 50.3% C 0.100 H 129.8°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#516F2D
RGBrgb(81, 111, 45)
HSLhsl(87, 42%, 31%)
HSVhsv(87, 59%, 44%)
CMYKcmyk(27%, 0%, 59.5%, 56.5%)
CIE-LABlab(43.22, -22.81, 32.72)
CIE-LCHlch(43.22, 39.89, 124.89°)
OKLaboklab(50.27% -0.0639 0.0768)
OKLCHoklch(50.27% 0.1 129.8)
XYZxyz(9.5514, 13.3074, 4.5475)
Luminance0.1331 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516F2D #4B2D6F
analogous
#6F6C2D #516F2D #306F2D
triadic
#516F2D #2D516F #6F2D51
tetradic
#516F2D #2D6F6C #4B2D6F #6F2D30
square
#516F2D #2D6F6C #4B2D6F #6F2D30
split-complementary
#516F2D #2D306F #6C2D6F
monochromatic
#11180A #31431B #516F2D #719B3F #90BC5A

Accessibility & contrast

On white

5.74
#516F2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#516F2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516F2D
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516F2D#FFFFFF#000000##FFFFFF
##516F2D1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746726
Deuteranopia (green-blind)
#706531
Tritanopia (blue-blind)
#536A61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #516f2d;
/* rgb */ color: rgb(81, 111, 45);
/* oklch */ color: oklch(50.3% 0.100 129.8);
Tailwind
colors: {
  custom: {
    50: '#849868',
    500: '#516f2d',
    950: '#000000',
  },
}
SCSS
$custom: #516f2d;
$custom-light: #849868;
$custom-dark: #000000;
JSON
{
  "hex": "#516f2d",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 45
  },
  "hsl": {
    "h": 87.273,
    "s": 42.308,
    "l": 30.588
  },
  "oklch": {
    "l": 0.50272,
    "c": 0.09987,
    "h": 129.8
  },
  "luminance": 0.13308
}

Semantic roles & 50–950 ramp

primary
#516F2D
secondary
#7957A1
accent
#56D28E
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #516F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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