#516A2C#516A2C

#516A2C is a mid, moderate yellow-green. Relative luminance 0.122; OKLCH L 49.0% C 0.093 H 127.8°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#516A2C
RGBrgb(81, 106, 44)
HSLhsl(84, 41%, 29%)
HSVhsv(84, 58%, 42%)
CMYKcmyk(23.6%, 0%, 58.5%, 58.4%)
CIE-LABlab(41.59, -20.33, 31.35)
CIE-LCHlch(41.59, 37.37, 122.97°)
OKLaboklab(48.95% -0.0571 0.0737)
OKLCHoklch(48.95% 0.093 127.8)
XYZxyz(9.0020, 12.2391, 4.2705)
Luminance0.1224 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516A2C #452C6A
analogous
#6A642C #516A2C #326A2C
triadic
#516A2C #2C516A #6A2C51
tetradic
#516A2C #2C6A64 #452C6A #6A2C32
square
#516A2C #2C6A64 #452C6A #6A2C32
split-complementary
#516A2C #2C326A #642C6A
monochromatic
#111609 #303F1A #516A2C #72953E #92B957

Accessibility & contrast

On white

6.09
#516A2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#516A2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516A2C
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516A2C#FFFFFF#000000##FFFFFF
##516A2C1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6326
Deuteranopia (green-blind)
#6C6230
Tritanopia (blue-blind)
#54655C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #516a2c;
/* rgb */ color: rgb(81, 106, 44);
/* oklch */ color: oklch(49.0% 0.093 127.8);
Tailwind
colors: {
  custom: {
    50: '#849467',
    500: '#516a2c',
    950: '#000000',
  },
}
SCSS
$custom: #516a2c;
$custom-light: #849467;
$custom-dark: #000000;
JSON
{
  "hex": "#516a2c",
  "rgb": {
    "r": 81,
    "g": 106,
    "b": 44
  },
  "hsl": {
    "h": 84.194,
    "s": 41.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.48951,
    "c": 0.09324,
    "h": 127.8
  },
  "luminance": 0.12239
}

Semantic roles & 50–950 ramp

primary
#516A2C
secondary
#72569C
accent
#57D188
background
#F8F9F6
surface
#EFF1EB
border
#CACBC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #516A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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