#516916#516916

#516916 is a mid, moderate yellow-green. Relative luminance 0.119; OKLCH L 48.5% C 0.110 H 124.8°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#516916
RGBrgb(81, 105, 22)
HSLhsl(77, 65%, 25%)
HSVhsv(77, 79%, 41%)
CMYKcmyk(22.9%, 0%, 79%, 58.8%)
CIE-LABlab(41.07, -21.62, 40.77)
CIE-LCHlch(41.07, 46.15, 117.94°)
OKLaboklab(48.47% -0.0628 0.0904)
OKLCHoklch(48.47% 0.11 124.8)
XYZxyz(8.5898, 11.9103, 2.6053)
Luminance0.1191 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516916 #2E1669
analogous
#695716 #516916 #286916
triadic
#516916 #165169 #691651
tetradic
#516916 #166957 #2E1669 #691628
square
#516916 #166957 #2E1669 #691628
split-complementary
#516916 #162869 #571669
monochromatic
#141905 #2A360B #516916 #789C21 #9FCE2B

Accessibility & contrast

On white

6.21
#516916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#516916 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516916
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516916#FFFFFF#000000##FFFFFF
##5169161.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6204
Deuteranopia (green-blind)
#6C611E
Tritanopia (blue-blind)
#556459
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #516916;
/* rgb */ color: rgb(81, 105, 22);
/* oklch */ color: oklch(48.5% 0.110 124.8);
Tailwind
colors: {
  custom: {
    50: '#85945a',
    500: '#516916',
    950: '#000000',
  },
}
SCSS
$custom: #516916;
$custom-light: #85945a;
$custom-dark: #000000;
JSON
{
  "hex": "#516916",
  "rgb": {
    "r": 81,
    "g": 105,
    "b": 22
  },
  "hsl": {
    "h": 77.349,
    "s": 65.354,
    "l": 24.902
  },
  "oklch": {
    "l": 0.48467,
    "c": 0.11009,
    "h": 124.8
  },
  "luminance": 0.1191
}

Semantic roles & 50–950 ramp

primary
#516916
secondary
#583B9F
accent
#3FE870
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #516916

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

Preview Lab → · Contrast checker → · Palette generator →

#516916 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva