#516D2F#516D2F

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

Color values

HEX#516D2F
RGBrgb(81, 109, 47)
HSLhsl(87, 40%, 31%)
HSVhsv(87, 57%, 43%)
CMYKcmyk(25.7%, 0%, 56.9%, 57.3%)
CIE-LABlab(42.60, -21.56, 30.96)
CIE-LCHlch(42.60, 37.73, 124.86°)
OKLaboklab(49.78% -0.0603 0.0732)
OKLCHoklch(49.78% 0.095 129.5)
XYZxyz(9.3750, 12.8916, 4.6832)
Luminance0.1289 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516D2F #4B2F6D
analogous
#6D6A2F #516D2F #326D2F
triadic
#516D2F #2F516D #6D2F51
tetradic
#516D2F #2F6D6A #4B2F6D #6D2F32
square
#516D2F #2F6D6A #4B2F6D #6D2F32
split-complementary
#516D2F #2F326D #6A2F6D
monochromatic
#11170A #31421D #516D2F #719841 #90B95D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##516D2F#FFFFFF#000000##FFFFFF
##516D2F1.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)
#726629
Deuteranopia (green-blind)
#6E6433
Tritanopia (blue-blind)
#53695F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #516d2f;
/* rgb */ color: rgb(81, 109, 47);
/* oklch */ color: oklch(49.8% 0.095 129.5);
Tailwind
colors: {
  custom: {
    50: '#849769',
    500: '#516d2f',
    950: '#000000',
  },
}
SCSS
$custom: #516d2f;
$custom-light: #849769;
$custom-dark: #000000;
JSON
{
  "hex": "#516d2f",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 47
  },
  "hsl": {
    "h": 87.097,
    "s": 39.744,
    "l": 30.588
  },
  "oklch": {
    "l": 0.49776,
    "c": 0.09478,
    "h": 129.5
  },
  "luminance": 0.12892
}

Semantic roles & 50–950 ramp

primary
#516D2F
secondary
#79599E
accent
#58D08E
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #516D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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