#516C14#516C14

#516C14 is a mid, moderate yellow-green. Relative luminance 0.125; OKLCH L 49.2% C 0.115 H 125.8°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#516C14
RGBrgb(81, 108, 20)
HSLhsl(78, 69%, 25%)
HSVhsv(78, 81%, 42%)
CMYKcmyk(25%, 0%, 81.5%, 57.6%)
CIE-LABlab(42.04, -23.27, 42.39)
CIE-LCHlch(42.04, 48.36, 118.76°)
OKLaboklab(49.25% -0.0675 0.0935)
OKLCHoklch(49.25% 0.115 125.8)
XYZxyz(8.8822, 12.5248, 2.6113)
Luminance0.1253 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516C14 #2F146C
analogous
#6C5B14 #516C14 #256C14
triadic
#516C14 #14516C #6C1451
tetradic
#516C14 #146C5B #2F146C #6C1425
square
#516C14 #146C5B #2F146C #6C1425
split-complementary
#516C14 #14256C #5B146C
monochromatic
#131A05 #2A380A #516C14 #78A01E #9ED327

Accessibility & contrast

On white

5.99
#516C14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#516C14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516C14
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516C14#FFFFFF#000000##FFFFFF
##516C141.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#6F631D
Tritanopia (blue-blind)
#55665C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #516c14;
/* rgb */ color: rgb(81, 108, 20);
/* oklch */ color: oklch(49.2% 0.115 125.8);
Tailwind
colors: {
  custom: {
    50: '#85965a',
    500: '#516c14',
    950: '#000000',
  },
}
SCSS
$custom: #516c14;
$custom-light: #85965a;
$custom-dark: #000000;
JSON
{
  "hex": "#516c14",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 20
  },
  "hsl": {
    "h": 78.409,
    "s": 68.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.49245,
    "c": 0.11526,
    "h": 125.8
  },
  "luminance": 0.12525
}

Semantic roles & 50–950 ramp

primary
#516C14
secondary
#5939A3
accent
#3CEC72
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #516C14

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

Preview Lab → · Contrast checker → · Palette generator →

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