#516D2C#516D2C

#516D2C is a mid, moderate yellow-green. Relative luminance 0.129; OKLCH L 49.7% C 0.098 H 128.9°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#516D2C
RGBrgb(81, 109, 44)
HSLhsl(86, 42%, 30%)
HSVhsv(86, 60%, 43%)
CMYKcmyk(25.7%, 0%, 59.6%, 57.3%)
CIE-LABlab(42.56, -21.89, 32.47)
CIE-LCHlch(42.56, 39.16, 123.99°)
OKLaboklab(49.74% -0.0614 0.0761)
OKLCHoklch(49.74% 0.098 128.9)
XYZxyz(9.3165, 12.8683, 4.3754)
Luminance0.1287 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516D2C #482C6D
analogous
#6D692C #516D2C #306D2C
triadic
#516D2C #2C516D #6D2C51
tetradic
#516D2C #2C6D69 #482C6D #6D2C30
square
#516D2C #2C6D69 #482C6D #6D2C30
split-complementary
#516D2C #2C306D #692C6D
monochromatic
#101609 #31411A #516D2C #71993E #91BC58

Accessibility & contrast

On white

5.88
#516D2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#516D2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516D2C
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516D2C#FFFFFF#000000##FFFFFF
##516D2C1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726625
Deuteranopia (green-blind)
#6E6430
Tritanopia (blue-blind)
#53685F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #516d2c;
/* rgb */ color: rgb(81, 109, 44);
/* oklch */ color: oklch(49.7% 0.098 128.9);
Tailwind
colors: {
  custom: {
    50: '#849767',
    500: '#516d2c',
    950: '#000000',
  },
}
SCSS
$custom: #516d2c;
$custom-light: #849767;
$custom-dark: #000000;
JSON
{
  "hex": "#516d2c",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 44
  },
  "hsl": {
    "h": 85.846,
    "s": 42.484,
    "l": 30
  },
  "oklch": {
    "l": 0.49735,
    "c": 0.09782,
    "h": 128.9
  },
  "luminance": 0.12868
}

Semantic roles & 50–950 ramp

primary
#516D2C
secondary
#75569F
accent
#56D28B
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #516D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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