#516E2D#516E2D

#516E2D is a mid, moderate yellow-green. Relative luminance 0.131; OKLCH L 50.0% C 0.098 H 129.4°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#516E2D
RGBrgb(81, 110, 45)
HSLhsl(87, 42%, 30%)
HSVhsv(87, 59%, 43%)
CMYKcmyk(26.4%, 0%, 59.1%, 56.9%)
CIE-LABlab(42.90, -22.30, 32.34)
CIE-LCHlch(42.90, 39.29, 124.58°)
OKLaboklab(50.01% -0.0625 0.076)
OKLCHoklch(50.01% 0.098 129.4)
XYZxyz(9.4429, 13.0904, 4.5113)
Luminance0.1309 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516E2D #4A2D6E
analogous
#6E6A2D #516E2D #316E2D
triadic
#516E2D #2D516E #6E2D51
tetradic
#516E2D #2D6E6A #4A2D6E #6E2D31
square
#516E2D #2D6E6A #4A2D6E #6E2D31
split-complementary
#516E2D #2D316E #6A2D6E
monochromatic
#111709 #31431B #516E2D #71993F #90BB5A

Accessibility & contrast

On white

5.80
#516E2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#516E2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516E2D
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516E2D#FFFFFF#000000##FFFFFF
##516E2D1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736726
Deuteranopia (green-blind)
#6F6531
Tritanopia (blue-blind)
#536960
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #516e2d;
/* rgb */ color: rgb(81, 110, 45);
/* oklch */ color: oklch(50.0% 0.098 129.4);
Tailwind
colors: {
  custom: {
    50: '#849768',
    500: '#516e2d',
    950: '#000000',
  },
}
SCSS
$custom: #516e2d;
$custom-light: #849768;
$custom-dark: #000000;
JSON
{
  "hex": "#516e2d",
  "rgb": {
    "r": 81,
    "g": 110,
    "b": 45
  },
  "hsl": {
    "h": 86.769,
    "s": 41.935,
    "l": 30.392
  },
  "oklch": {
    "l": 0.5001,
    "c": 0.09835,
    "h": 129.4
  },
  "luminance": 0.13091
}

Semantic roles & 50–950 ramp

primary
#516E2D
secondary
#7757A0
accent
#56D28D
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #516E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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