#516337#516337

#516337 is a mid, moderate yellow-green. Relative luminance 0.109; OKLCH L 47.3% C 0.070 H 127.0°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#516337
RGBrgb(81, 99, 55)
HSLhsl(85, 29%, 30%)
HSVhsv(85, 44%, 39%)
CMYKcmyk(18.2%, 0%, 44.4%, 61.2%)
CIE-LABlab(39.49, -15.21, 22.76)
CIE-LCHlch(39.49, 27.38, 123.75°)
OKLaboklab(47.31% -0.0419 0.0555)
OKLCHoklch(47.31% 0.07 127)
XYZxyz(8.5447, 10.9488, 5.2768)
Luminance0.1095 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516337 #493763
analogous
#635F37 #516337 #3B6337
triadic
#516337 #375163 #633751
tetradic
#516337 #37635F #493763 #63373B
square
#516337 #37635F #493763 #63373B
split-complementary
#516337 #373B63 #5F3763
monochromatic
#11140B #313C21 #516337 #718A4D #90AC69

Accessibility & contrast

On white

6.58
#516337 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#516337 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516337
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516337#FFFFFF#000000##FFFFFF
##5163371.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675E34
Deuteranopia (green-blind)
#655D39
Tritanopia (blue-blind)
#535F58
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #516337;
/* rgb */ color: rgb(81, 99, 55);
/* oklch */ color: oklch(47.3% 0.070 127.0);
Tailwind
colors: {
  custom: {
    50: '#838f6e',
    500: '#516337',
    950: '#000000',
  },
}
SCSS
$custom: #516337;
$custom-light: #838f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#516337",
  "rgb": {
    "r": 81,
    "g": 99,
    "b": 55
  },
  "hsl": {
    "h": 84.545,
    "s": 28.571,
    "l": 30.196
  },
  "oklch": {
    "l": 0.47308,
    "c": 0.06958,
    "h": 127
  },
  "luminance": 0.10949
}

Semantic roles & 50–950 ramp

primary
#516337
secondary
#766293
accent
#63C58B
background
#F8F8F6
surface
#EFF0EC
border
#CACBC7
text
#0A0C07
muted
#7C7D7A

Preview Lab

Preview with #516337

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

Preview Lab → · Contrast checker → · Palette generator →

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