#516F2B#516F2B

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

Color values

HEX#516F2B
RGBrgb(81, 111, 43)
HSLhsl(86, 44%, 30%)
HSVhsv(86, 61%, 44%)
CMYKcmyk(27%, 0%, 61.3%, 56.5%)
CIE-LABlab(43.20, -23.02, 33.70)
CIE-LCHlch(43.20, 40.81, 124.34°)
OKLaboklab(50.25% -0.0647 0.0786)
OKLCHoklch(50.25% 0.102 129.4)
XYZxyz(9.5138, 13.2924, 4.3495)
Luminance0.1329 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516F2B #492B6F
analogous
#6F6B2B #516F2B #2F6F2B
triadic
#516F2B #2B516F #6F2B51
tetradic
#516F2B #2B6F6B #492B6F #6F2B2F
square
#516F2B #2B6F6B #492B6F #6F2B2F
split-complementary
#516F2B #2B2F6F #6B2B6F
monochromatic
#111709 #31431A #516F2B #719B3C #90BE57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##516F2B#FFFFFF#000000##FFFFFF
##516F2B1.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)
#746724
Deuteranopia (green-blind)
#706530
Tritanopia (blue-blind)
#536A60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #516f2b;
/* rgb */ color: rgb(81, 111, 43);
/* oklch */ color: oklch(50.2% 0.102 129.4);
Tailwind
colors: {
  custom: {
    50: '#849867',
    500: '#516f2b',
    950: '#000000',
  },
}
SCSS
$custom: #516f2b;
$custom-light: #849867;
$custom-dark: #000000;
JSON
{
  "hex": "#516f2b",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 43
  },
  "hsl": {
    "h": 86.471,
    "s": 44.156,
    "l": 30.196
  },
  "oklch": {
    "l": 0.50247,
    "c": 0.10182,
    "h": 129.4
  },
  "luminance": 0.13293
}

Semantic roles & 50–950 ramp

primary
#516F2B
secondary
#7655A1
accent
#54D48C
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #516F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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