#516B15#516B15

#516B15 is a mid, moderate yellow-green. Relative luminance 0.123; OKLCH L 49.0% C 0.113 H 125.5°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#516B15
RGBrgb(81, 107, 21)
HSLhsl(78, 67%, 25%)
HSVhsv(78, 80%, 42%)
CMYKcmyk(24.3%, 0%, 80.4%, 58%)
CIE-LABlab(41.72, -22.71, 41.74)
CIE-LCHlch(41.72, 47.52, 118.54°)
OKLaboklab(48.99% -0.0659 0.0923)
OKLCHoklch(48.99% 0.113 125.5)
XYZxyz(8.7865, 12.3187, 2.6242)
Luminance0.1232 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516B15 #2F156B
analogous
#6B5A15 #516B15 #266B15
triadic
#516B15 #15516B #6B1551
tetradic
#516B15 #156B5A #2F156B #6B1526
square
#516B15 #156B5A #2F156B #6B1526
split-complementary
#516B15 #15266B #5A156B
monochromatic
#131A05 #2A380B #516B15 #789E1F #9ED129

Accessibility & contrast

On white

6.06
#516B15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#516B15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516B15
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516B15#FFFFFF#000000##FFFFFF
##516B151.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716302
Deuteranopia (green-blind)
#6E621D
Tritanopia (blue-blind)
#55665B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #516b15;
/* rgb */ color: rgb(81, 107, 21);
/* oklch */ color: oklch(49.0% 0.113 125.5);
Tailwind
colors: {
  custom: {
    50: '#85955a',
    500: '#516b15',
    950: '#000000',
  },
}
SCSS
$custom: #516b15;
$custom-light: #85955a;
$custom-dark: #000000;
JSON
{
  "hex": "#516b15",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 21
  },
  "hsl": {
    "h": 78.14,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.48987,
    "c": 0.11336,
    "h": 125.5
  },
  "luminance": 0.12319
}

Semantic roles & 50–950 ramp

primary
#516B15
secondary
#593AA2
accent
#3EEA72
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #516B15

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

Preview Lab → · Contrast checker → · Palette generator →

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