#516C2B#516C2B

#516C2B is a mid, moderate yellow-green. Relative luminance 0.126; OKLCH L 49.5% C 0.097 H 128.4°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#516C2B
RGBrgb(81, 108, 43)
HSLhsl(85, 43%, 30%)
HSVhsv(85, 60%, 42%)
CMYKcmyk(25%, 0%, 60.2%, 57.6%)
CIE-LABlab(42.23, -21.48, 32.59)
CIE-LCHlch(42.23, 39.04, 123.39°)
OKLaboklab(49.46% -0.0604 0.0763)
OKLCHoklch(49.46% 0.097 128.4)
XYZxyz(9.1919, 12.6487, 4.2422)
Luminance0.1265 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516C2B #462B6C
analogous
#6C672B #516C2B #316C2B
triadic
#516C2B #2B516C #6C2B51
tetradic
#516C2B #2B6C67 #462B6C #6C2B31
square
#516C2B #2B6C67 #462B6C #6C2B31
split-complementary
#516C2B #2B316C #672B6C
monochromatic
#101609 #30401A #516C2B #72983C #91BC56

Accessibility & contrast

On white

5.95
#516C2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #516C2B
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516C2B#FFFFFF#000000##FFFFFF
##516C2B1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716524
Deuteranopia (green-blind)
#6D632F
Tritanopia (blue-blind)
#53675E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #516c2b;
/* rgb */ color: rgb(81, 108, 43);
/* oklch */ color: oklch(49.5% 0.097 128.4);
Tailwind
colors: {
  custom: {
    50: '#849667',
    500: '#516c2b',
    950: '#000000',
  },
}
SCSS
$custom: #516c2b;
$custom-light: #849667;
$custom-dark: #000000;
JSON
{
  "hex": "#516c2b",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 43
  },
  "hsl": {
    "h": 84.923,
    "s": 43.046,
    "l": 29.608
  },
  "oklch": {
    "l": 0.49461,
    "c": 0.0973,
    "h": 128.4
  },
  "luminance": 0.12649
}

Semantic roles & 50–950 ramp

primary
#516C2B
secondary
#73559E
accent
#55D389
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #516C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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