#516E16#516E16

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

Color values

HEX#516E16
RGBrgb(81, 110, 22)
HSLhsl(80, 67%, 26%)
HSVhsv(80, 80%, 43%)
CMYKcmyk(26.4%, 0%, 80%, 56.9%)
CIE-LABlab(42.70, -24.17, 42.32)
CIE-LCHlch(42.70, 48.73, 119.73°)
OKLaboklab(49.79% -0.0698 0.0937)
OKLCHoklch(49.79% 0.117 126.7)
XYZxyz(9.1141, 12.9590, 2.7801)
Luminance0.1296 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516E16 #33166E
analogous
#6E5F16 #516E16 #256E16
triadic
#516E16 #16516E #6E1651
tetradic
#516E16 #166E5F #33166E #6E1625
square
#516E16 #166E5F #33166E #6E1625
split-complementary
#516E16 #16256E #5F166E
monochromatic
#131A05 #2B3B0C #516E16 #77A120 #9CD42A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##516E16#FFFFFF#000000##FFFFFF
##516E161.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)
#746602
Deuteranopia (green-blind)
#70641F
Tritanopia (blue-blind)
#55695D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #516e16;
/* rgb */ color: rgb(81, 110, 22);
/* oklch */ color: oklch(49.8% 0.117 126.7);
Tailwind
colors: {
  custom: {
    50: '#85975b',
    500: '#516e16',
    950: '#000000',
  },
}
SCSS
$custom: #516e16;
$custom-light: #85975b;
$custom-dark: #000000;
JSON
{
  "hex": "#516e16",
  "rgb": {
    "r": 81,
    "g": 110,
    "b": 22
  },
  "hsl": {
    "h": 79.773,
    "s": 66.667,
    "l": 25.882
  },
  "oklch": {
    "l": 0.49787,
    "c": 0.11678,
    "h": 126.7
  },
  "luminance": 0.12959
}

Semantic roles & 50–950 ramp

primary
#516E16
secondary
#5E3CA4
accent
#3EEA77
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #516E16

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

Preview Lab → · Contrast checker → · Palette generator →

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