#516A1D#516A1D

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

Color values

HEX#516A1D
RGBrgb(81, 106, 29)
HSLhsl(79, 57%, 26%)
HSVhsv(79, 73%, 42%)
CMYKcmyk(23.6%, 0%, 72.6%, 58.4%)
CIE-LABlab(41.45, -21.69, 38.34)
CIE-LCHlch(41.45, 44.05, 119.49°)
OKLaboklab(48.79% -0.0623 0.0865)
OKLCHoklch(48.79% 0.107 125.8)
XYZxyz(8.7692, 12.1460, 3.0446)
Luminance0.1215 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516A1D #361D6A
analogous
#6A5D1D #516A1D #2B6A1D
triadic
#516A1D #1D516A #6A1D51
tetradic
#516A1D #1D6A5D #361D6A #6A1D2B
square
#516A1D #1D6A5D #361D6A #6A1D2B
split-complementary
#516A1D #1D2B6A #5D1D6A
monochromatic
#121807 #2C3A10 #516A1D #769A2A #9AC939

Accessibility & contrast

On white

6.12
#516A1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #516A1D
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516A1D#FFFFFF#000000##FFFFFF
##516A1D1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706311
Deuteranopia (green-blind)
#6D6123
Tritanopia (blue-blind)
#55655B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #516a1d;
/* rgb */ color: rgb(81, 106, 29);
/* oklch */ color: oklch(48.8% 0.107 125.8);
Tailwind
colors: {
  custom: {
    50: '#84945e',
    500: '#516a1d',
    950: '#000000',
  },
}
SCSS
$custom: #516a1d;
$custom-light: #84945e;
$custom-dark: #000000;
JSON
{
  "hex": "#516a1d",
  "rgb": {
    "r": 81,
    "g": 106,
    "b": 29
  },
  "hsl": {
    "h": 79.481,
    "s": 57.037,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48785,
    "c": 0.10664,
    "h": 125.8
  },
  "luminance": 0.12146
}

Semantic roles & 50–950 ramp

primary
#516A1D
secondary
#62449F
accent
#48E079
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #516A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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