#516D2B#516D2B

#516D2B is a mid, moderate yellow-green. Relative luminance 0.129; OKLCH L 49.7% C 0.099 H 128.7°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#516D2B
RGBrgb(81, 109, 43)
HSLhsl(85, 43%, 30%)
HSVhsv(85, 61%, 43%)
CMYKcmyk(25.7%, 0%, 60.6%, 57.3%)
CIE-LABlab(42.55, -22.00, 32.96)
CIE-LCHlch(42.55, 39.63, 123.72°)
OKLaboklab(49.72% -0.0618 0.0771)
OKLCHoklch(49.72% 0.099 128.7)
XYZxyz(9.2980, 12.8608, 4.2776)
Luminance0.1286 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516D2B #472B6D
analogous
#6D682B #516D2B #306D2B
triadic
#516D2B #2B516D #6D2B51
tetradic
#516D2B #2B6D68 #472B6D #6D2B30
square
#516D2B #2B6D68 #472B6D #6D2B30
split-complementary
#516D2B #2B306D #682B6D
monochromatic
#101609 #30411A #516D2B #72993C #91BC56

Accessibility & contrast

On white

5.88
#516D2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#516D2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516D2B
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516D2B#FFFFFF#000000##FFFFFF
##516D2B1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726624
Deuteranopia (green-blind)
#6E6430
Tritanopia (blue-blind)
#53685F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #516d2b;
/* rgb */ color: rgb(81, 109, 43);
/* oklch */ color: oklch(49.7% 0.099 128.7);
Tailwind
colors: {
  custom: {
    50: '#849767',
    500: '#516d2b',
    950: '#000000',
  },
}
SCSS
$custom: #516d2b;
$custom-light: #849767;
$custom-dark: #000000;
JSON
{
  "hex": "#516d2b",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 43
  },
  "hsl": {
    "h": 85.455,
    "s": 43.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.49723,
    "c": 0.09881,
    "h": 128.7
  },
  "luminance": 0.12861
}

Semantic roles & 50–950 ramp

primary
#516D2B
secondary
#74559F
accent
#55D38A
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #516D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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