#516B1D#516B1D

#516B1D is a mid, moderate yellow-green. Relative luminance 0.124; OKLCH L 49.0% C 0.108 H 126.2°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#516B1D
RGBrgb(81, 107, 29)
HSLhsl(80, 57%, 27%)
HSVhsv(80, 73%, 42%)
CMYKcmyk(24.3%, 0%, 72.9%, 58%)
CIE-LABlab(41.77, -22.20, 38.67)
CIE-LCHlch(41.77, 44.59, 119.86°)
OKLaboklab(49.05% -0.0637 0.0872)
OKLCHoklch(49.05% 0.108 126.2)
XYZxyz(8.8728, 12.3533, 3.0791)
Luminance0.1235 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516B1D #371D6B
analogous
#6B5E1D #516B1D #2A6B1D
triadic
#516B1D #1D516B #6B1D51
tetradic
#516B1D #1D6B5E #371D6B #6B1D2A
square
#516B1D #1D6B5E #371D6B #6B1D2A
split-complementary
#516B1D #1D2A6B #5E1D6B
monochromatic
#121807 #2D3B10 #516B1D #759B2A #99C939

Accessibility & contrast

On white

6.05
#516B1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#516B1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516B1D
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516B1D#FFFFFF#000000##FFFFFF
##516B1D1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716411
Deuteranopia (green-blind)
#6D6224
Tritanopia (blue-blind)
#55665B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #516b1d;
/* rgb */ color: rgb(81, 107, 29);
/* oklch */ color: oklch(49.0% 0.108 126.2);
Tailwind
colors: {
  custom: {
    50: '#84955e',
    500: '#516b1d',
    950: '#000000',
  },
}
SCSS
$custom: #516b1d;
$custom-light: #84955e;
$custom-dark: #000000;
JSON
{
  "hex": "#516b1d",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 29
  },
  "hsl": {
    "h": 80,
    "s": 57.353,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49048,
    "c": 0.10803,
    "h": 126.2
  },
  "luminance": 0.12353
}

Semantic roles & 50–950 ramp

primary
#516B1D
secondary
#6344A0
accent
#47E17A
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #516B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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