#516F2C#516F2C

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

Color values

HEX#516F2C
RGBrgb(81, 111, 44)
HSLhsl(87, 43%, 30%)
HSVhsv(87, 60%, 44%)
CMYKcmyk(27%, 0%, 60.4%, 56.5%)
CIE-LABlab(43.21, -22.92, 33.21)
CIE-LCHlch(43.21, 40.35, 124.61°)
OKLaboklab(50.26% -0.0643 0.0777)
OKLCHoklch(50.26% 0.101 129.6)
XYZxyz(9.5323, 13.2998, 4.4473)
Luminance0.1330 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516F2C #4A2C6F
analogous
#6F6B2C #516F2C #2F6F2C
triadic
#516F2C #2C516F #6F2C51
tetradic
#516F2C #2C6F6B #4A2C6F #6F2C2F
square
#516F2C #2C6F6B #4A2C6F #6F2C2F
split-complementary
#516F2C #2C2F6F #6B2C6F
monochromatic
#111709 #31431B #516F2C #719B3D #90BD58

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##516F2C#FFFFFF#000000##FFFFFF
##516F2C1.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)
#746725
Deuteranopia (green-blind)
#706531
Tritanopia (blue-blind)
#536A60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #516f2c;
/* rgb */ color: rgb(81, 111, 44);
/* oklch */ color: oklch(50.3% 0.101 129.6);
Tailwind
colors: {
  custom: {
    50: '#849868',
    500: '#516f2c',
    950: '#000000',
  },
}
SCSS
$custom: #516f2c;
$custom-light: #849868;
$custom-dark: #000000;
JSON
{
  "hex": "#516f2c",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 44
  },
  "hsl": {
    "h": 86.866,
    "s": 43.226,
    "l": 30.392
  },
  "oklch": {
    "l": 0.5026,
    "c": 0.10085,
    "h": 129.6
  },
  "luminance": 0.133
}

Semantic roles & 50–950 ramp

primary
#516F2C
secondary
#7756A1
accent
#55D38D
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #516F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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