#516F15#516F15

#516F15 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#516F15
RGBrgb(81, 111, 21)
HSLhsl(80, 68%, 26%)
HSVhsv(80, 81%, 44%)
CMYKcmyk(27%, 0%, 81.1%, 56.5%)
CIE-LABlab(43.02, -24.72, 42.97)
CIE-LCHlch(43.02, 49.57, 119.92°)
OKLaboklab(50.04% -0.0713 0.0949)
OKLCHoklch(50.04% 0.119 126.9)
XYZxyz(9.2132, 13.1722, 2.7664)
Luminance0.1317 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516F15 #33156F
analogous
#6F6015 #516F15 #246F15
triadic
#516F15 #15516F #6F1551
tetradic
#516F15 #156F60 #33156F #6F1524
square
#516F15 #156F60 #33156F #6F1524
split-complementary
#516F15 #15246F #60156F
monochromatic
#131A05 #2B3C0B #516F15 #77A21F #9CD628

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##516F15#FFFFFF#000000##FFFFFF
##516F151.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)
#71651E
Tritanopia (blue-blind)
#55695E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #516f15;
/* rgb */ color: rgb(81, 111, 21);
/* oklch */ color: oklch(50.0% 0.119 126.9);
Tailwind
colors: {
  custom: {
    50: '#85985b',
    500: '#516f15',
    950: '#000000',
  },
}
SCSS
$custom: #516f15;
$custom-light: #85985b;
$custom-dark: #000000;
JSON
{
  "hex": "#516f15",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 21
  },
  "hsl": {
    "h": 80,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.50045,
    "c": 0.11868,
    "h": 126.9
  },
  "luminance": 0.13172
}

Semantic roles & 50–950 ramp

primary
#516F15
secondary
#5E3AA5
accent
#3DEB77
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #516F15

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

Preview Lab → · Contrast checker → · Palette generator →

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