#516D13#516D13

#516D13 is a mid, moderate yellow-green. Relative luminance 0.127; OKLCH L 49.5% C 0.117 H 126.1°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#516D13
RGBrgb(81, 109, 19)
HSLhsl(79, 70%, 25%)
HSVhsv(79, 83%, 43%)
CMYKcmyk(25.7%, 0%, 82.6%, 57.3%)
CIE-LABlab(42.36, -23.82, 43.02)
CIE-LCHlch(42.36, 49.18, 118.98°)
OKLaboklab(49.5% -0.069 0.0946)
OKLCHoklch(49.5% 0.117 126.1)
XYZxyz(8.9796, 12.7335, 2.6007)
Luminance0.1273 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516D13 #2F136D
analogous
#6D5C13 #516D13 #246D13
triadic
#516D13 #13516D #6D1351
tetradic
#516D13 #136D5C #2F136D #6D1324
square
#516D13 #136D5C #2F136D #6D1324
split-complementary
#516D13 #13246D #5C136D
monochromatic
#131A05 #2A390A #516D13 #78A11C #9ED525

Accessibility & contrast

On white

5.92
#516D13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#516D13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516D13
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516D13#FFFFFF#000000##FFFFFF
##516D131.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#6F641C
Tritanopia (blue-blind)
#55675C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #516d13;
/* rgb */ color: rgb(81, 109, 19);
/* oklch */ color: oklch(49.5% 0.117 126.1);
Tailwind
colors: {
  custom: {
    50: '#85975a',
    500: '#516d13',
    950: '#000000',
  },
}
SCSS
$custom: #516d13;
$custom-light: #85975a;
$custom-dark: #000000;
JSON
{
  "hex": "#516d13",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 19
  },
  "hsl": {
    "h": 78.667,
    "s": 70.313,
    "l": 25.098
  },
  "oklch": {
    "l": 0.49503,
    "c": 0.11713,
    "h": 126.1
  },
  "luminance": 0.12734
}

Semantic roles & 50–950 ramp

primary
#516D13
secondary
#5938A4
accent
#3BED72
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #516D13

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

Preview Lab → · Contrast checker → · Palette generator →

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