#516C16#516C16

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

Color values

HEX#516C16
RGBrgb(81, 108, 22)
HSLhsl(79, 66%, 25%)
HSVhsv(79, 80%, 42%)
CMYKcmyk(25%, 0%, 79.6%, 57.6%)
CIE-LABlab(42.05, -23.16, 41.70)
CIE-LCHlch(42.05, 47.70, 119.05°)
OKLaboklab(49.26% -0.067 0.0924)
OKLCHoklch(49.26% 0.114 126)
XYZxyz(8.9008, 12.5322, 2.7089)
Luminance0.1253 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516C16 #31166C
analogous
#6C5C16 #516C16 #266C16
triadic
#516C16 #16516C #6C1651
tetradic
#516C16 #166C5C #31166C #6C1626
square
#516C16 #166C5C #31166C #6C1626
split-complementary
#516C16 #16266C #5C166C
monochromatic
#131905 #2B390C #516C16 #779F20 #9DD22B

Accessibility & contrast

On white

5.99
#516C16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #516C16
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516C16#FFFFFF#000000##FFFFFF
##516C161.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726403
Deuteranopia (green-blind)
#6F631E
Tritanopia (blue-blind)
#55675C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #516c16;
/* rgb */ color: rgb(81, 108, 22);
/* oklch */ color: oklch(49.3% 0.114 126.0);
Tailwind
colors: {
  custom: {
    50: '#85965b',
    500: '#516c16',
    950: '#000000',
  },
}
SCSS
$custom: #516c16;
$custom-light: #85965b;
$custom-dark: #000000;
JSON
{
  "hex": "#516c16",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 22
  },
  "hsl": {
    "h": 78.837,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.49258,
    "c": 0.11411,
    "h": 126
  },
  "luminance": 0.12532
}

Semantic roles & 50–950 ramp

primary
#516C16
secondary
#5C3CA2
accent
#3FE974
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #516C16

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

Preview Lab → · Contrast checker → · Palette generator →

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