#516D14#516D14

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

Color values

HEX#516D14
RGBrgb(81, 109, 20)
HSLhsl(79, 69%, 25%)
HSVhsv(79, 82%, 43%)
CMYKcmyk(25.7%, 0%, 81.7%, 57.3%)
CIE-LABlab(42.36, -23.77, 42.69)
CIE-LCHlch(42.36, 48.87, 119.11°)
OKLaboklab(49.51% -0.0688 0.0941)
OKLCHoklch(49.51% 0.117 126.2)
XYZxyz(8.9883, 12.7370, 2.6466)
Luminance0.1274 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516D14 #30146D
analogous
#6D5C14 #516D14 #256D14
triadic
#516D14 #14516D #6D1451
tetradic
#516D14 #146D5C #30146D #6D1425
square
#516D14 #146D5C #30146D #6D1425
split-complementary
#516D14 #14256D #5C146D
monochromatic
#131A05 #2B390B #516D14 #77A11D #9ED427

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##516D14#FFFFFF#000000##FFFFFF
##516D141.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)
#6F641D
Tritanopia (blue-blind)
#55675D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #516d14;
/* rgb */ color: rgb(81, 109, 20);
/* oklch */ color: oklch(49.5% 0.117 126.2);
Tailwind
colors: {
  custom: {
    50: '#85975a',
    500: '#516d14',
    950: '#000000',
  },
}
SCSS
$custom: #516d14;
$custom-light: #85975a;
$custom-dark: #000000;
JSON
{
  "hex": "#516d14",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 20
  },
  "hsl": {
    "h": 78.876,
    "s": 68.992,
    "l": 25.294
  },
  "oklch": {
    "l": 0.49509,
    "c": 0.11659,
    "h": 126.2
  },
  "luminance": 0.12737
}

Semantic roles & 50–950 ramp

primary
#516D14
secondary
#5B39A4
accent
#3CEC73
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #516D14

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

Preview Lab → · Contrast checker → · Palette generator →

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