#516A1B#516A1B

#516A1B is a mid, moderate yellow-green. Relative luminance 0.121; OKLCH L 48.8% C 0.108 H 125.6°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#516A1B
RGBrgb(81, 106, 27)
HSLhsl(79, 59%, 26%)
HSVhsv(79, 75%, 42%)
CMYKcmyk(23.6%, 0%, 74.5%, 58.4%)
CIE-LABlab(41.43, -21.83, 39.17)
CIE-LCHlch(41.43, 44.84, 119.13°)
OKLaboklab(48.77% -0.0629 0.0879)
OKLCHoklch(48.77% 0.108 125.6)
XYZxyz(8.7453, 12.1364, 2.9185)
Luminance0.1214 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516A1B #341B6A
analogous
#6A5B1B #516A1B #296A1B
triadic
#516A1B #1B516A #6A1B51
tetradic
#516A1B #1B6A5B #341B6A #6A1B29
square
#516A1B #1B6A5B #341B6A #6A1B29
split-complementary
#516A1B #1B296A #5B1B6A
monochromatic
#131806 #2C390F #516A1B #769B27 #9BCB34

Accessibility & contrast

On white

6.13
#516A1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#516A1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516A1B
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516A1B#FFFFFF#000000##FFFFFF
##516A1B1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70630E
Deuteranopia (green-blind)
#6D6122
Tritanopia (blue-blind)
#55655A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #516a1b;
/* rgb */ color: rgb(81, 106, 27);
/* oklch */ color: oklch(48.8% 0.108 125.6);
Tailwind
colors: {
  custom: {
    50: '#85945d',
    500: '#516a1b',
    950: '#000000',
  },
}
SCSS
$custom: #516a1b;
$custom-light: #85945d;
$custom-dark: #000000;
JSON
{
  "hex": "#516a1b",
  "rgb": {
    "r": 81,
    "g": 106,
    "b": 27
  },
  "hsl": {
    "h": 78.987,
    "s": 59.398,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48768,
    "c": 0.1081,
    "h": 125.6
  },
  "luminance": 0.12137
}

Semantic roles & 50–950 ramp

primary
#516A1B
secondary
#5F429F
accent
#45E377
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #516A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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