#516B1B#516B1B

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

Color values

HEX#516B1B
RGBrgb(81, 107, 27)
HSLhsl(80, 60%, 26%)
HSVhsv(80, 75%, 42%)
CMYKcmyk(24.3%, 0%, 74.8%, 58%)
CIE-LABlab(41.76, -22.34, 39.49)
CIE-LCHlch(41.76, 45.37, 119.50°)
OKLaboklab(49.03% -0.0643 0.0886)
OKLCHoklch(49.03% 0.109 126)
XYZxyz(8.8489, 12.3437, 2.9531)
Luminance0.1234 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516B1B #351B6B
analogous
#6B5D1B #516B1B #296B1B
triadic
#516B1B #1B516B #6B1B51
tetradic
#516B1B #1B6B5D #351B6B #6B1B29
square
#516B1B #1B6B5D #351B6B #6B1B29
split-complementary
#516B1B #1B296B #5D1B6B
monochromatic
#121806 #2C3A0F #516B1B #769C27 #9BCC35

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##516B1B#FFFFFF#000000##FFFFFF
##516B1B1.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)
#71640D
Deuteranopia (green-blind)
#6D6222
Tritanopia (blue-blind)
#55665B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #516b1b;
/* rgb */ color: rgb(81, 107, 27);
/* oklch */ color: oklch(49.0% 0.109 126.0);
Tailwind
colors: {
  custom: {
    50: '#85955d',
    500: '#516b1b',
    950: '#000000',
  },
}
SCSS
$custom: #516b1b;
$custom-light: #85955d;
$custom-dark: #000000;
JSON
{
  "hex": "#516b1b",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 27
  },
  "hsl": {
    "h": 79.5,
    "s": 59.701,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49031,
    "c": 0.10948,
    "h": 126
  },
  "luminance": 0.12344
}

Semantic roles & 50–950 ramp

primary
#516B1B
secondary
#6042A0
accent
#45E378
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #516B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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