#516E13#516E13

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

Color values

HEX#516E13
RGBrgb(81, 110, 19)
HSLhsl(79, 71%, 25%)
HSVhsv(79, 83%, 43%)
CMYKcmyk(26.4%, 0%, 82.7%, 56.9%)
CIE-LABlab(42.68, -24.32, 43.32)
CIE-LCHlch(42.68, 49.68, 119.31°)
OKLaboklab(49.77% -0.0704 0.0952)
OKLCHoklch(49.77% 0.118 126.5)
XYZxyz(9.0869, 12.9480, 2.6364)
Luminance0.1295 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516E13 #30136E
analogous
#6E5D13 #516E13 #236E13
triadic
#516E13 #13516E #6E1351
tetradic
#516E13 #136E5D #30136E #6E1323
square
#516E13 #136E5D #30136E #6E1323
split-complementary
#516E13 #13236E #5D136E
monochromatic
#131A05 #2B3A0A #516E13 #77A21C #9ED625

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##516E13#FFFFFF#000000##FFFFFF
##516E131.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)
#746600
Deuteranopia (green-blind)
#70641D
Tritanopia (blue-blind)
#55685D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #516e13;
/* rgb */ color: rgb(81, 110, 19);
/* oklch */ color: oklch(49.8% 0.118 126.5);
Tailwind
colors: {
  custom: {
    50: '#85975a',
    500: '#516e13',
    950: '#000000',
  },
}
SCSS
$custom: #516e13;
$custom-light: #85975a;
$custom-dark: #000000;
JSON
{
  "hex": "#516e13",
  "rgb": {
    "r": 81,
    "g": 110,
    "b": 19
  },
  "hsl": {
    "h": 79.121,
    "s": 70.543,
    "l": 25.294
  },
  "oklch": {
    "l": 0.49768,
    "c": 0.11845,
    "h": 126.5
  },
  "luminance": 0.12948
}

Semantic roles & 50–950 ramp

primary
#516E13
secondary
#5B38A5
accent
#3AED73
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #516E13

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

Preview Lab → · Contrast checker → · Palette generator →

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