#516C1B#516C1B

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

Color values

HEX#516C1B
RGBrgb(81, 108, 27)
HSLhsl(80, 60%, 26%)
HSVhsv(80, 75%, 42%)
CMYKcmyk(25%, 0%, 75%, 57.6%)
CIE-LABlab(42.08, -22.85, 39.82)
CIE-LCHlch(42.08, 45.91, 119.85°)
OKLaboklab(49.3% -0.0657 0.0893)
OKLCHoklch(49.3% 0.111 126.4)
XYZxyz(8.9538, 12.5534, 2.9880)
Luminance0.1255 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516C1B #361B6C
analogous
#6C5F1B #516C1B #296C1B
triadic
#516C1B #1B516C #6C1B51
tetradic
#516C1B #1B6C5F #361B6C #6C1B29
square
#516C1B #1B6C5F #361B6C #6C1B29
split-complementary
#516C1B #1B296C #5F1B6C
monochromatic
#121806 #2C3B0F #516C1B #769D27 #9ACC35

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##516C1B#FFFFFF#000000##FFFFFF
##516C1B1.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)
#72640D
Deuteranopia (green-blind)
#6E6322
Tritanopia (blue-blind)
#55675C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #516c1b;
/* rgb */ color: rgb(81, 108, 27);
/* oklch */ color: oklch(49.3% 0.111 126.4);
Tailwind
colors: {
  custom: {
    50: '#85965d',
    500: '#516c1b',
    950: '#000000',
  },
}
SCSS
$custom: #516c1b;
$custom-light: #85965d;
$custom-dark: #000000;
JSON
{
  "hex": "#516c1b",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 27
  },
  "hsl": {
    "h": 80,
    "s": 60,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49295,
    "c": 0.11086,
    "h": 126.4
  },
  "luminance": 0.12554
}

Semantic roles & 50–950 ramp

primary
#516C1B
secondary
#6242A1
accent
#45E379
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #516C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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