#516C1D#516C1D

#516C1D is a mid, moderate yellow-green. Relative luminance 0.126; OKLCH L 49.3% C 0.109 H 126.5°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#516C1D
RGBrgb(81, 108, 29)
HSLhsl(81, 58%, 27%)
HSVhsv(81, 73%, 42%)
CMYKcmyk(25%, 0%, 73.1%, 57.6%)
CIE-LABlab(42.10, -22.71, 39.00)
CIE-LCHlch(42.10, 45.13, 120.21°)
OKLaboklab(49.31% -0.0651 0.0879)
OKLCHoklch(49.31% 0.109 126.5)
XYZxyz(8.9777, 12.5630, 3.1141)
Luminance0.1256 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516C1D #381D6C
analogous
#6C601D #516C1D #2A6C1D
triadic
#516C1D #1D516C #6C1D51
tetradic
#516C1D #1D6C60 #381D6C #6C1D2A
square
#516C1D #1D6C60 #381D6C #6C1D2A
split-complementary
#516C1D #1D2A6C #601D6C
monochromatic
#121806 #2D3C10 #516C1D #759C2A #99CA39

Accessibility & contrast

On white

5.98
#516C1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#516C1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516C1D
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516C1D#FFFFFF#000000##FFFFFF
##516C1D1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726410
Deuteranopia (green-blind)
#6E6324
Tritanopia (blue-blind)
#54675C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #516c1d;
/* rgb */ color: rgb(81, 108, 29);
/* oklch */ color: oklch(49.3% 0.109 126.5);
Tailwind
colors: {
  custom: {
    50: '#85965e',
    500: '#516c1d',
    950: '#000000',
  },
}
SCSS
$custom: #516c1d;
$custom-light: #85965e;
$custom-dark: #000000;
JSON
{
  "hex": "#516c1d",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 29
  },
  "hsl": {
    "h": 80.506,
    "s": 57.664,
    "l": 26.863
  },
  "oklch": {
    "l": 0.49312,
    "c": 0.10942,
    "h": 126.5
  },
  "luminance": 0.12563
}

Semantic roles & 50–950 ramp

primary
#516C1D
secondary
#6444A1
accent
#47E17C
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #516C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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