#516E17#516E17

#516E17 is a mid, moderate yellow-green. Relative luminance 0.130; OKLCH L 49.8% C 0.116 H 126.8°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#516E17
RGBrgb(81, 110, 23)
HSLhsl(80, 65%, 26%)
HSVhsv(80, 79%, 43%)
CMYKcmyk(26.4%, 0%, 79.1%, 56.9%)
CIE-LABlab(42.71, -24.11, 41.96)
CIE-LCHlch(42.71, 48.40, 119.88°)
OKLaboklab(49.79% -0.0695 0.0931)
OKLCHoklch(49.79% 0.116 126.8)
XYZxyz(9.1240, 12.9629, 2.8318)
Luminance0.1296 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516E17 #34176E
analogous
#6E5F17 #516E17 #256E17
triadic
#516E17 #17516E #6E1751
tetradic
#516E17 #176E5F #34176E #6E1725
square
#516E17 #176E5F #34176E #6E1725
split-complementary
#516E17 #17256E #5F176E
monochromatic
#131905 #2C3B0C #516E17 #76A122 #9BD32C

Accessibility & contrast

On white

5.85
#516E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#516E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516E17
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516E17#FFFFFF#000000##FFFFFF
##516E171.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746604
Deuteranopia (green-blind)
#70641F
Tritanopia (blue-blind)
#55695E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #516e17;
/* rgb */ color: rgb(81, 110, 23);
/* oklch */ color: oklch(49.8% 0.116 126.8);
Tailwind
colors: {
  custom: {
    50: '#85975c',
    500: '#516e17',
    950: '#000000',
  },
}
SCSS
$custom: #516e17;
$custom-light: #85975c;
$custom-dark: #000000;
JSON
{
  "hex": "#516e17",
  "rgb": {
    "r": 81,
    "g": 110,
    "b": 23
  },
  "hsl": {
    "h": 80,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.49793,
    "c": 0.11618,
    "h": 126.8
  },
  "luminance": 0.12963
}

Semantic roles & 50–950 ramp

primary
#516E17
secondary
#5F3DA4
accent
#3FE878
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #516E17

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

Preview Lab → · Contrast checker → · Palette generator →

#516E17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva