#516F2A#516F2A

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

Color values

HEX#516F2A
RGBrgb(81, 111, 42)
HSLhsl(86, 45%, 30%)
HSVhsv(86, 62%, 44%)
CMYKcmyk(27%, 0%, 62.2%, 56.5%)
CIE-LABlab(43.19, -23.12, 34.19)
CIE-LCHlch(43.19, 41.27, 124.07°)
OKLaboklab(50.24% -0.065 0.0796)
OKLCHoklch(50.24% 0.103 129.3)
XYZxyz(9.4956, 13.2852, 4.2540)
Luminance0.1328 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516F2A #482A6F
analogous
#6F6B2A #516F2A #2E6F2A
triadic
#516F2A #2A516F #6F2A51
tetradic
#516F2A #2A6F6B #482A6F #6F2A2E
square
#516F2A #2A6F6B #482A6F #6F2A2E
split-complementary
#516F2A #2A2E6F #6B2A6F
monochromatic
#101608 #314319 #516F2A #719B3B #91BF55

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##516F2A#FFFFFF#000000##FFFFFF
##516F2A1.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)
#746722
Deuteranopia (green-blind)
#70652F
Tritanopia (blue-blind)
#536A60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #516f2a;
/* rgb */ color: rgb(81, 111, 42);
/* oklch */ color: oklch(50.2% 0.103 129.3);
Tailwind
colors: {
  custom: {
    50: '#849866',
    500: '#516f2a',
    950: '#000000',
  },
}
SCSS
$custom: #516f2a;
$custom-light: #849866;
$custom-dark: #000000;
JSON
{
  "hex": "#516f2a",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 42
  },
  "hsl": {
    "h": 86.087,
    "s": 45.098,
    "l": 30
  },
  "oklch": {
    "l": 0.50235,
    "c": 0.10276,
    "h": 129.3
  },
  "luminance": 0.13285
}

Semantic roles & 50–950 ramp

primary
#516F2A
secondary
#7554A1
accent
#53D58B
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #516F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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