#516615#516615

#516615 is a mid, moderate yellow-green. Relative luminance 0.113; OKLCH L 47.7% C 0.107 H 123.4°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#516615
RGBrgb(81, 102, 21)
HSLhsl(76, 66%, 24%)
HSVhsv(76, 79%, 40%)
CMYKcmyk(20.6%, 0%, 79.4%, 60%)
CIE-LABlab(40.09, -20.12, 40.20)
CIE-LCHlch(40.09, 44.96, 116.59°)
OKLaboklab(47.67% -0.0588 0.089)
OKLCHoklch(47.67% 0.107 123.4)
XYZxyz(8.2802, 11.3062, 2.4554)
Luminance0.1131 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516615 #2A1566
analogous
#665315 #516615 #286615
triadic
#516615 #155166 #661551
tetradic
#516615 #156653 #2A1566 #661528
square
#516615 #156653 #2A1566 #661528
split-complementary
#516615 #152866 #531566
monochromatic
#141905 #29330B #516615 #79991F #A2CC2A

Accessibility & contrast

On white

6.44
#516615 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#516615 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516615
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516615#FFFFFF#000000##FFFFFF
##5166151.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F04
Deuteranopia (green-blind)
#6A5E1D
Tritanopia (blue-blind)
#556157
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #516615;
/* rgb */ color: rgb(81, 102, 21);
/* oklch */ color: oklch(47.7% 0.107 123.4);
Tailwind
colors: {
  custom: {
    50: '#859159',
    500: '#516615',
    950: '#000000',
  },
}
SCSS
$custom: #516615;
$custom-light: #859159;
$custom-dark: #000000;
JSON
{
  "hex": "#516615",
  "rgb": {
    "r": 81,
    "g": 102,
    "b": 21
  },
  "hsl": {
    "h": 75.556,
    "s": 65.854,
    "l": 24.118
  },
  "oklch": {
    "l": 0.4767,
    "c": 0.1067,
    "h": 123.4
  },
  "luminance": 0.11306
}

Semantic roles & 50–950 ramp

primary
#516615
secondary
#543A9D
accent
#3FE96B
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #516615

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

Preview Lab → · Contrast checker → · Palette generator →

#516615 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva