#516C2E#516C2E

#516C2E is a mid, moderate yellow-green. Relative luminance 0.127; OKLCH L 49.5% C 0.094 H 128.9°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#516C2E
RGBrgb(81, 108, 46)
HSLhsl(86, 40%, 30%)
HSVhsv(86, 57%, 42%)
CMYKcmyk(25%, 0%, 57.4%, 57.6%)
CIE-LABlab(42.26, -21.16, 31.09)
CIE-LCHlch(42.26, 37.61, 124.24°)
OKLaboklab(49.5% -0.0592 0.0733)
OKLCHoklch(49.5% 0.094 128.9)
XYZxyz(9.2490, 12.6715, 4.5428)
Luminance0.1267 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516C2E #492E6C
analogous
#6C682E #516C2E #326C2E
triadic
#516C2E #2E516C #6C2E51
tetradic
#516C2E #2E6C68 #492E6C #6C2E32
square
#516C2E #2E6C68 #492E6C #6C2E32
split-complementary
#516C2E #2E326C #682E6C
monochromatic
#111609 #31411C #516C2E #719740 #90B95B

Accessibility & contrast

On white

5.94
#516C2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#516C2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516C2E
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516C2E#FFFFFF#000000##FFFFFF
##516C2E1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716528
Deuteranopia (green-blind)
#6D6332
Tritanopia (blue-blind)
#53685E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #516c2e;
/* rgb */ color: rgb(81, 108, 46);
/* oklch */ color: oklch(49.5% 0.094 128.9);
Tailwind
colors: {
  custom: {
    50: '#849669',
    500: '#516c2e',
    950: '#000000',
  },
}
SCSS
$custom: #516c2e;
$custom-light: #849669;
$custom-dark: #000000;
JSON
{
  "hex": "#516c2e",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 46
  },
  "hsl": {
    "h": 86.129,
    "s": 40.26,
    "l": 30.196
  },
  "oklch": {
    "l": 0.495,
    "c": 0.09426,
    "h": 128.9
  },
  "luminance": 0.12672
}

Semantic roles & 50–950 ramp

primary
#516C2E
secondary
#76589E
accent
#58D08C
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #516C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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