#516913#516913

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

Color values

HEX#516913
RGBrgb(81, 105, 19)
HSLhsl(77, 69%, 24%)
HSVhsv(77, 82%, 41%)
CMYKcmyk(22.9%, 0%, 81.9%, 58.8%)
CIE-LABlab(41.06, -21.79, 41.82)
CIE-LCHlch(41.06, 47.15, 117.52°)
OKLaboklab(48.45% -0.0635 0.0921)
OKLCHoklch(48.45% 0.112 124.6)
XYZxyz(8.5625, 11.8994, 2.4617)
Luminance0.1190 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516913 #2B1369
analogous
#695613 #516913 #266913
triadic
#516913 #135169 #691351
tetradic
#516913 #136956 #2B1369 #691326
square
#516913 #136956 #2B1369 #691326
split-complementary
#516913 #132669 #561369
monochromatic
#141A05 #29350A #516913 #799D1C #A1D126

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##516913#FFFFFF#000000##FFFFFF
##5169131.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)
#6F6200
Deuteranopia (green-blind)
#6C611C
Tritanopia (blue-blind)
#556359
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #516913;
/* rgb */ color: rgb(81, 105, 19);
/* oklch */ color: oklch(48.4% 0.112 124.6);
Tailwind
colors: {
  custom: {
    50: '#859459',
    500: '#516913',
    950: '#000000',
  },
}
SCSS
$custom: #516913;
$custom-light: #859459;
$custom-dark: #000000;
JSON
{
  "hex": "#516913",
  "rgb": {
    "r": 81,
    "g": 105,
    "b": 19
  },
  "hsl": {
    "h": 76.744,
    "s": 69.355,
    "l": 24.314
  },
  "oklch": {
    "l": 0.48447,
    "c": 0.11185,
    "h": 124.6
  },
  "luminance": 0.11899
}

Semantic roles & 50–950 ramp

primary
#516913
secondary
#5538A0
accent
#3CEC6D
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #516913

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

Preview Lab → · Contrast checker → · Palette generator →

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