#516945#516945

#516945 is a mid, moderate green. Relative luminance 0.123; OKLCH L 49.1% C 0.062 H 135.6°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#516945
RGBrgb(81, 105, 69)
HSLhsl(100, 21%, 34%)
HSVhsv(100, 34%, 41%)
CMYKcmyk(22.9%, 0%, 34.3%, 58.8%)
CIE-LABlab(41.66, -16.34, 17.44)
CIE-LCHlch(41.66, 23.90, 133.15°)
OKLaboklab(49.13% -0.0445 0.0437)
OKLCHoklch(49.13% 0.062 135.6)
XYZxyz(9.5188, 12.2819, 7.4982)
Luminance0.1228 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516945 #5D4569
analogous
#636945 #516945 #45694B
triadic
#516945 #455169 #694551
tetradic
#516945 #456369 #5D4569 #694B45
square
#516945 #456369 #5D4569 #694B45
split-complementary
#516945 #4B4569 #694563
monochromatic
#181F14 #35442D #516945 #6D8E5D #8DAA7E

Accessibility & contrast

On white

6.08
#516945 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#516945 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516945
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516945#FFFFFF#000000##FFFFFF
##5169451.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6443
Deuteranopia (green-blind)
#686247
Tritanopia (blue-blind)
#516660
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #516945;
/* rgb */ color: rgb(81, 105, 69);
/* oklch */ color: oklch(49.1% 0.062 135.6);
Tailwind
colors: {
  custom: {
    50: '#829479',
    500: '#516945',
    950: '#000000',
  },
}
SCSS
$custom: #516945;
$custom-light: #829479;
$custom-dark: #000000;
JSON
{
  "hex": "#516945",
  "rgb": {
    "r": 81,
    "g": 105,
    "b": 69
  },
  "hsl": {
    "h": 100,
    "s": 20.69,
    "l": 34.118
  },
  "oklch": {
    "l": 0.49131,
    "c": 0.06235,
    "h": 135.6
  },
  "luminance": 0.12282
}

Semantic roles & 50–950 ramp

primary
#516945
secondary
#8B7397
accent
#6BBDA2
background
#F8F9F7
surface
#EFF1ED
border
#CACBC8
text
#0A0D09
muted
#7C7E7B

Preview Lab

Preview with #516945

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

Preview Lab → · Contrast checker → · Palette generator →

#516945 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva