#516115#516115

#516115 is a mid, moderate yellow-green. Relative luminance 0.104; OKLCH L 46.4% C 0.100 H 121.0°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#516115
RGBrgb(81, 97, 21)
HSLhsl(73, 64%, 23%)
HSVhsv(73, 78%, 38%)
CMYKcmyk(16.5%, 0%, 78.4%, 62%)
CIE-LABlab(38.47, -17.46, 38.65)
CIE-LCHlch(38.47, 42.41, 114.31°)
OKLaboklab(46.36% -0.0515 0.0858)
OKLCHoklch(46.36% 0.1 121)
XYZxyz(7.8035, 10.3529, 2.2965)
Luminance0.1035 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516115 #251561
analogous
#614B15 #516115 #2B6115
triadic
#516115 #155161 #611551
tetradic
#516115 #15614B #251561 #61152B
square
#516115 #15614B #251561 #61152B
split-complementary
#516115 #152B61 #4B1561
monochromatic
#151905 #272F0A #516115 #7B9320 #A5C62B

Accessibility & contrast

On white

6.84
#516115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#516115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516115
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516115#FFFFFF#000000##FFFFFF
##5161151.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B06
Deuteranopia (green-blind)
#655B1C
Tritanopia (blue-blind)
#565C52
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #516115;
/* rgb */ color: rgb(81, 97, 21);
/* oklch */ color: oklch(46.4% 0.100 121.0);
Tailwind
colors: {
  custom: {
    50: '#848d59',
    500: '#516115',
    950: '#000000',
  },
}
SCSS
$custom: #516115;
$custom-light: #848d59;
$custom-dark: #000000;
JSON
{
  "hex": "#516115",
  "rgb": {
    "r": 81,
    "g": 97,
    "b": 21
  },
  "hsl": {
    "h": 72.632,
    "s": 64.407,
    "l": 23.137
  },
  "oklch": {
    "l": 0.4636,
    "c": 0.10004,
    "h": 121
  },
  "luminance": 0.10353
}

Semantic roles & 50–950 ramp

primary
#516115
secondary
#4E3A98
accent
#40E764
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #516115

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

Preview Lab → · Contrast checker → · Palette generator →

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