#516F14#516F14

#516F14 is a mid, moderate yellow-green. Relative luminance 0.132; OKLCH L 50.0% C 0.119 H 126.9°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#516F14
RGBrgb(81, 111, 20)
HSLhsl(80, 69%, 26%)
HSVhsv(80, 82%, 44%)
CMYKcmyk(27%, 0%, 82%, 56.5%)
CIE-LABlab(43.02, -24.77, 43.30)
CIE-LCHlch(43.02, 49.88, 119.78°)
OKLaboklab(50.04% -0.0716 0.0954)
OKLCHoklch(50.04% 0.119 126.9)
XYZxyz(9.2041, 13.1685, 2.7185)
Luminance0.1317 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516F14 #32146F
analogous
#6F5F14 #516F14 #236F14
triadic
#516F14 #14516F #6F1451
tetradic
#516F14 #146F5F #32146F #6F1423
square
#516F14 #146F5F #32146F #6F1423
split-complementary
#516F14 #14236F #5F146F
monochromatic
#131A05 #2B3B0B #516F14 #77A31D #9DD727

Accessibility & contrast

On white

5.78
#516F14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#516F14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516F14
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516F14#FFFFFF#000000##FFFFFF
##516F141.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756700
Deuteranopia (green-blind)
#71651D
Tritanopia (blue-blind)
#55695E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #516f14;
/* rgb */ color: rgb(81, 111, 20);
/* oklch */ color: oklch(50.0% 0.119 126.9);
Tailwind
colors: {
  custom: {
    50: '#85985a',
    500: '#516f14',
    950: '#000000',
  },
}
SCSS
$custom: #516f14;
$custom-light: #85985a;
$custom-dark: #000000;
JSON
{
  "hex": "#516f14",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 20
  },
  "hsl": {
    "h": 79.78,
    "s": 69.466,
    "l": 25.686
  },
  "oklch": {
    "l": 0.50038,
    "c": 0.11923,
    "h": 126.9
  },
  "luminance": 0.13169
}

Semantic roles & 50–950 ramp

primary
#516F14
secondary
#5D39A6
accent
#3CEC76
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #516F14

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

Preview Lab → · Contrast checker → · Palette generator →

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