#516E15#516E15

#516E15 is a mid, moderate yellow-green. Relative luminance 0.130; OKLCH L 49.8% C 0.117 H 126.6°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#516E15
RGBrgb(81, 110, 21)
HSLhsl(80, 68%, 26%)
HSVhsv(80, 81%, 43%)
CMYKcmyk(26.4%, 0%, 80.9%, 56.9%)
CIE-LABlab(42.70, -24.22, 42.66)
CIE-LCHlch(42.70, 49.06, 119.59°)
OKLaboklab(49.78% -0.07 0.0942)
OKLCHoklch(49.78% 0.117 126.6)
XYZxyz(9.1047, 12.9552, 2.7302)
Luminance0.1295 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516E15 #32156E
analogous
#6E5E15 #516E15 #246E15
triadic
#516E15 #15516E #6E1551
tetradic
#516E15 #156E5E #32156E #6E1524
square
#516E15 #156E5E #32156E #6E1524
split-complementary
#516E15 #15246E #5E156E
monochromatic
#131A05 #2B3B0B #516E15 #77A11F #9DD529

Accessibility & contrast

On white

5.85
#516E15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#516E15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516E15
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516E15#FFFFFF#000000##FFFFFF
##516E151.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746600
Deuteranopia (green-blind)
#70641E
Tritanopia (blue-blind)
#55685D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #516e15;
/* rgb */ color: rgb(81, 110, 21);
/* oklch */ color: oklch(49.8% 0.117 126.6);
Tailwind
colors: {
  custom: {
    50: '#85975b',
    500: '#516e15',
    950: '#000000',
  },
}
SCSS
$custom: #516e15;
$custom-light: #85975b;
$custom-dark: #000000;
JSON
{
  "hex": "#516e15",
  "rgb": {
    "r": 81,
    "g": 110,
    "b": 21
  },
  "hsl": {
    "h": 79.551,
    "s": 67.939,
    "l": 25.686
  },
  "oklch": {
    "l": 0.4978,
    "c": 0.11736,
    "h": 126.6
  },
  "luminance": 0.12955
}

Semantic roles & 50–950 ramp

primary
#516E15
secondary
#5D3AA4
accent
#3DEB76
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #516E15

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

Preview Lab → · Contrast checker → · Palette generator →

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