#516015#516015

#516015 is a mid, moderate yellow-green. Relative luminance 0.102; OKLCH L 46.1% C 0.099 H 120.4°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#516015
RGBrgb(81, 96, 21)
HSLhsl(72, 64%, 23%)
HSVhsv(72, 78%, 38%)
CMYKcmyk(15.6%, 0%, 78.1%, 62.4%)
CIE-LABlab(38.14, -16.92, 38.34)
CIE-LCHlch(38.14, 41.91, 113.82°)
OKLaboklab(46.1% -0.05 0.0851)
OKLCHoklch(46.1% 0.099 120.4)
XYZxyz(7.7117, 10.1692, 2.2659)
Luminance0.1017 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516015 #241560
analogous
#604915 #516015 #2B6015
triadic
#516015 #155160 #601551
tetradic
#516015 #156049 #241560 #60152B
square
#516015 #156049 #241560 #60152B
split-complementary
#516015 #152B60 #491560
monochromatic
#151905 #272E0A #516015 #7B9220 #A6C42B

Accessibility & contrast

On white

6.92
#516015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#516015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516015
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516015#FFFFFF#000000##FFFFFF
##5160151.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A06
Deuteranopia (green-blind)
#655A1C
Tritanopia (blue-blind)
#565B52
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #516015;
/* rgb */ color: rgb(81, 96, 21);
/* oklch */ color: oklch(46.1% 0.099 120.4);
Tailwind
colors: {
  custom: {
    50: '#848d59',
    500: '#516015',
    950: '#000000',
  },
}
SCSS
$custom: #516015;
$custom-light: #848d59;
$custom-dark: #000000;
JSON
{
  "hex": "#516015",
  "rgb": {
    "r": 81,
    "g": 96,
    "b": 21
  },
  "hsl": {
    "h": 72,
    "s": 64.103,
    "l": 22.941
  },
  "oklch": {
    "l": 0.46098,
    "c": 0.09872,
    "h": 120.4
  },
  "luminance": 0.10169
}

Semantic roles & 50–950 ramp

primary
#516015
secondary
#4C3A97
accent
#41E762
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #516015

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

Preview Lab → · Contrast checker → · Palette generator →

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