#516911#516911

#516911 is a mid, moderate yellow-green. Relative luminance 0.119; OKLCH L 48.4% C 0.113 H 124.5°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#516911
RGBrgb(81, 105, 17)
HSLhsl(76, 72%, 24%)
HSVhsv(76, 84%, 41%)
CMYKcmyk(22.9%, 0%, 83.8%, 58.8%)
CIE-LABlab(41.05, -21.89, 42.47)
CIE-LCHlch(41.05, 47.78, 117.26°)
OKLaboklab(48.44% -0.0639 0.0931)
OKLCHoklch(48.44% 0.113 124.5)
XYZxyz(8.5462, 11.8929, 2.3755)
Luminance0.1189 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516911 #291169
analogous
#695511 #516911 #256911
triadic
#516911 #115169 #691151
tetradic
#516911 #116955 #291169 #691125
square
#516911 #116955 #291169 #691125
split-complementary
#516911 #112569 #551169
monochromatic
#141A04 #283408 #516911 #7A9E1A #A2D222

Accessibility & contrast

On white

6.22
#516911 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #516911
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516911#FFFFFF#000000##FFFFFF
##5169111.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6200
Deuteranopia (green-blind)
#6C611A
Tritanopia (blue-blind)
#556359
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #516911;
/* rgb */ color: rgb(81, 105, 17);
/* oklch */ color: oklch(48.4% 0.113 124.5);
Tailwind
colors: {
  custom: {
    50: '#859458',
    500: '#516911',
    950: '#000000',
  },
}
SCSS
$custom: #516911;
$custom-light: #859458;
$custom-dark: #000000;
JSON
{
  "hex": "#516911",
  "rgb": {
    "r": 81,
    "g": 105,
    "b": 17
  },
  "hsl": {
    "h": 76.364,
    "s": 72.131,
    "l": 23.922
  },
  "oklch": {
    "l": 0.48435,
    "c": 0.11293,
    "h": 124.5
  },
  "luminance": 0.11893
}

Semantic roles & 50–950 ramp

primary
#516911
secondary
#5235A1
accent
#39EF6B
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #516911

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

Preview Lab → · Contrast checker → · Palette generator →

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