#516C1A#516C1A

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

Color values

HEX#516C1A
RGBrgb(81, 108, 26)
HSLhsl(80, 61%, 26%)
HSVhsv(80, 76%, 42%)
CMYKcmyk(25%, 0%, 75.9%, 57.6%)
CIE-LABlab(42.08, -22.92, 40.21)
CIE-LCHlch(42.08, 46.28, 119.68°)
OKLaboklab(49.29% -0.066 0.0899)
OKLCHoklch(49.29% 0.112 126.3)
XYZxyz(8.9424, 12.5489, 2.9281)
Luminance0.1255 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516C1A #351A6C
analogous
#6C5E1A #516C1A #286C1A
triadic
#516C1A #1A516C #6C1A51
tetradic
#516C1A #1A6C5E #351A6C #6C1A28
square
#516C1A #1A6C5E #351A6C #6C1A28
split-complementary
#516C1A #1A286C #5E1A6C
monochromatic
#121906 #2C3B0E #516C1A #769D26 #9BCE33

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##516C1A#FFFFFF#000000##FFFFFF
##516C1A1.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)
#72640B
Deuteranopia (green-blind)
#6E6321
Tritanopia (blue-blind)
#55675C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #516c1a;
/* rgb */ color: rgb(81, 108, 26);
/* oklch */ color: oklch(49.3% 0.112 126.3);
Tailwind
colors: {
  custom: {
    50: '#85965d',
    500: '#516c1a',
    950: '#000000',
  },
}
SCSS
$custom: #516c1a;
$custom-light: #85965d;
$custom-dark: #000000;
JSON
{
  "hex": "#516c1a",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 26
  },
  "hsl": {
    "h": 79.756,
    "s": 61.194,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49287,
    "c": 0.11154,
    "h": 126.3
  },
  "luminance": 0.12549
}

Semantic roles & 50–950 ramp

primary
#516C1A
secondary
#6041A1
accent
#43E478
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #516C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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