#516E2B#516E2B

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

Color values

HEX#516E2B
RGBrgb(81, 110, 43)
HSLhsl(86, 44%, 30%)
HSVhsv(86, 61%, 43%)
CMYKcmyk(26.4%, 0%, 60.9%, 56.9%)
CIE-LABlab(42.88, -22.51, 33.33)
CIE-LCHlch(42.88, 40.22, 124.03°)
OKLaboklab(49.99% -0.0633 0.0779)
OKLCHoklch(49.99% 0.1 129.1)
XYZxyz(9.4053, 13.0754, 4.3133)
Luminance0.1308 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516E2B #482B6E
analogous
#6E692B #516E2B #306E2B
triadic
#516E2B #2B516E #6E2B51
tetradic
#516E2B #2B6E69 #482B6E #6E2B30
square
#516E2B #2B6E69 #482B6E #6E2B30
split-complementary
#516E2B #2B306E #692B6E
monochromatic
#101609 #31421A #516E2B #719A3C #91BD56

Accessibility & contrast

On white

5.81
#516E2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #516E2B
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516E2B#FFFFFF#000000##FFFFFF
##516E2B1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736724
Deuteranopia (green-blind)
#6F6530
Tritanopia (blue-blind)
#53695F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #516e2b;
/* rgb */ color: rgb(81, 110, 43);
/* oklch */ color: oklch(50.0% 0.100 129.1);
Tailwind
colors: {
  custom: {
    50: '#849767',
    500: '#516e2b',
    950: '#000000',
  },
}
SCSS
$custom: #516e2b;
$custom-light: #849767;
$custom-dark: #000000;
JSON
{
  "hex": "#516e2b",
  "rgb": {
    "r": 81,
    "g": 110,
    "b": 43
  },
  "hsl": {
    "h": 85.97,
    "s": 43.791,
    "l": 30
  },
  "oklch": {
    "l": 0.49985,
    "c": 0.10031,
    "h": 129.1
  },
  "luminance": 0.13076
}

Semantic roles & 50–950 ramp

primary
#516E2B
secondary
#7555A0
accent
#54D48B
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #516E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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