#516A2B#516A2B

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

Color values

HEX#516A2B
RGBrgb(81, 106, 43)
HSLhsl(84, 42%, 29%)
HSVhsv(84, 59%, 42%)
CMYKcmyk(23.6%, 0%, 59.4%, 58.4%)
CIE-LABlab(41.58, -20.44, 31.85)
CIE-LCHlch(41.58, 37.85, 122.69°)
OKLaboklab(48.94% -0.0575 0.0747)
OKLCHoklch(48.94% 0.094 127.6)
XYZxyz(8.9834, 12.2317, 4.1727)
Luminance0.1223 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516A2B #442B6A
analogous
#6A642B #516A2B #316A2B
triadic
#516A2B #2B516A #6A2B51
tetradic
#516A2B #2B6A64 #442B6A #6A2B31
square
#516A2B #2B6A64 #442B6A #6A2B31
split-complementary
#516A2B #2B316A #642B6A
monochromatic
#111609 #303E19 #516A2B #72963D #92BA55

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##516A2B#FFFFFF#000000##FFFFFF
##516A2B1.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)
#6F6325
Deuteranopia (green-blind)
#6C622F
Tritanopia (blue-blind)
#54655C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #516a2b;
/* rgb */ color: rgb(81, 106, 43);
/* oklch */ color: oklch(48.9% 0.094 127.6);
Tailwind
colors: {
  custom: {
    50: '#849467',
    500: '#516a2b',
    950: '#000000',
  },
}
SCSS
$custom: #516a2b;
$custom-light: #849467;
$custom-dark: #000000;
JSON
{
  "hex": "#516a2b",
  "rgb": {
    "r": 81,
    "g": 106,
    "b": 43
  },
  "hsl": {
    "h": 83.81,
    "s": 42.282,
    "l": 29.216
  },
  "oklch": {
    "l": 0.48937,
    "c": 0.09426,
    "h": 127.6
  },
  "luminance": 0.12232
}

Semantic roles & 50–950 ramp

primary
#516A2B
secondary
#71559C
accent
#56D287
background
#F8F9F6
surface
#EFF1EB
border
#CACBC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #516A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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