#516914#516914

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

Color values

HEX#516914
RGBrgb(81, 105, 20)
HSLhsl(77, 68%, 25%)
HSVhsv(77, 81%, 41%)
CMYKcmyk(22.9%, 0%, 81%, 58.8%)
CIE-LABlab(41.06, -21.73, 41.48)
CIE-LCHlch(41.06, 46.83, 117.65°)
OKLaboklab(48.45% -0.0633 0.0915)
OKLCHoklch(48.45% 0.111 124.7)
XYZxyz(8.5713, 11.9029, 2.5076)
Luminance0.1190 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516914 #2C1469
analogous
#695714 #516914 #276914
triadic
#516914 #145169 #691451
tetradic
#516914 #146957 #2C1469 #691427
square
#516914 #146957 #2C1469 #691427
split-complementary
#516914 #142769 #571469
monochromatic
#141A05 #29360A #516914 #799C1E #A0D028

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #516914;
/* rgb */ color: rgb(81, 105, 20);
/* oklch */ color: oklch(48.5% 0.111 124.7);
Tailwind
colors: {
  custom: {
    50: '#859459',
    500: '#516914',
    950: '#000000',
  },
}
SCSS
$custom: #516914;
$custom-light: #859459;
$custom-dark: #000000;
JSON
{
  "hex": "#516914",
  "rgb": {
    "r": 81,
    "g": 105,
    "b": 20
  },
  "hsl": {
    "h": 76.941,
    "s": 68,
    "l": 24.51
  },
  "oklch": {
    "l": 0.48453,
    "c": 0.11129,
    "h": 124.7
  },
  "luminance": 0.11903
}

Semantic roles & 50–950 ramp

primary
#516914
secondary
#5639A0
accent
#3DEB6E
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #516914

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

Preview Lab → · Contrast checker → · Palette generator →

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