#516917#516917

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

Color values

HEX#516917
RGBrgb(81, 105, 23)
HSLhsl(78, 64%, 25%)
HSVhsv(78, 78%, 41%)
CMYKcmyk(22.9%, 0%, 78.1%, 58.8%)
CIE-LABlab(41.08, -21.57, 40.40)
CIE-LCHlch(41.08, 45.80, 118.09°)
OKLaboklab(48.47% -0.0626 0.0898)
OKLCHoklch(48.47% 0.109 124.9)
XYZxyz(8.5996, 11.9142, 2.6571)
Luminance0.1191 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516917 #2F1769
analogous
#695817 #516917 #286917
triadic
#516917 #175169 #691751
tetradic
#516917 #176958 #2F1769 #691728
square
#516917 #176958 #2F1769 #691728
split-complementary
#516917 #172869 #581769
monochromatic
#131905 #2A370C #516917 #789B22 #9ECD2D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##516917#FFFFFF#000000##FFFFFF
##5169171.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)
#6F6206
Deuteranopia (green-blind)
#6C611F
Tritanopia (blue-blind)
#556459
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #516917;
/* rgb */ color: rgb(81, 105, 23);
/* oklch */ color: oklch(48.5% 0.109 124.9);
Tailwind
colors: {
  custom: {
    50: '#85945b',
    500: '#516917',
    950: '#000000',
  },
}
SCSS
$custom: #516917;
$custom-light: #85945b;
$custom-dark: #000000;
JSON
{
  "hex": "#516917",
  "rgb": {
    "r": 81,
    "g": 105,
    "b": 23
  },
  "hsl": {
    "h": 77.561,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.48474,
    "c": 0.10946,
    "h": 124.9
  },
  "luminance": 0.11914
}

Semantic roles & 50–950 ramp

primary
#516917
secondary
#593D9F
accent
#41E771
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #516917

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

Preview Lab → · Contrast checker → · Palette generator →

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