#516811#516811

#516811 is a mid, moderate yellow-green. Relative luminance 0.117; OKLCH L 48.2% C 0.112 H 124.1°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#516811
RGBrgb(81, 104, 17)
HSLhsl(76, 72%, 24%)
HSVhsv(76, 84%, 41%)
CMYKcmyk(22.1%, 0%, 83.7%, 59.2%)
CIE-LABlab(40.72, -21.37, 42.17)
CIE-LCHlch(40.72, 47.28, 116.87°)
OKLaboklab(48.17% -0.0625 0.0925)
OKLCHoklch(48.17% 0.112 124.1)
XYZxyz(8.4449, 11.6904, 2.3418)
Luminance0.1169 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516811 #281168
analogous
#685311 #516811 #256811
triadic
#516811 #115168 #681151
tetradic
#516811 #116853 #281168 #681125
square
#516811 #116853 #281168 #681125
split-complementary
#516811 #112568 #531168
monochromatic
#141A04 #283308 #516811 #7A9D1A #A3D122

Accessibility & contrast

On white

6.29
#516811 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#516811 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516811
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516811#FFFFFF#000000##FFFFFF
##5168111.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6100
Deuteranopia (green-blind)
#6B601A
Tritanopia (blue-blind)
#556258
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #516811;
/* rgb */ color: rgb(81, 104, 17);
/* oklch */ color: oklch(48.2% 0.112 124.1);
Tailwind
colors: {
  custom: {
    50: '#859358',
    500: '#516811',
    950: '#000000',
  },
}
SCSS
$custom: #516811;
$custom-light: #859358;
$custom-dark: #000000;
JSON
{
  "hex": "#516811",
  "rgb": {
    "r": 81,
    "g": 104,
    "b": 17
  },
  "hsl": {
    "h": 75.862,
    "s": 71.901,
    "l": 23.725
  },
  "oklch": {
    "l": 0.48172,
    "c": 0.11162,
    "h": 124.1
  },
  "luminance": 0.1169
}

Semantic roles & 50–950 ramp

primary
#516811
secondary
#5135A0
accent
#39EF69
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #516811

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

Preview Lab → · Contrast checker → · Palette generator →

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