#516215#516215

#516215 is a mid, moderate yellow-green. Relative luminance 0.105; OKLCH L 46.6% C 0.101 H 121.5°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#516215
RGBrgb(81, 98, 21)
HSLhsl(73, 65%, 23%)
HSVhsv(73, 79%, 38%)
CMYKcmyk(17.3%, 0%, 78.6%, 61.6%)
CIE-LABlab(38.79, -18.00, 38.96)
CIE-LCHlch(38.79, 42.92, 114.80°)
OKLaboklab(46.62% -0.053 0.0864)
OKLCHoklch(46.62% 0.101 121.5)
XYZxyz(7.8965, 10.5388, 2.3275)
Luminance0.1054 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516215 #261562
analogous
#624C15 #516215 #2A6215
triadic
#516215 #155162 #621551
tetradic
#516215 #15624C #261562 #62152A
square
#516215 #15624C #261562 #62152A
split-complementary
#516215 #152A62 #4C1562
monochromatic
#151905 #27300A #516215 #7B9420 #A4C72B

Accessibility & contrast

On white

6.76
#516215 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#516215 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516215
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516215#FFFFFF#000000##FFFFFF
##5162151.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C06
Deuteranopia (green-blind)
#665B1C
Tritanopia (blue-blind)
#565D53
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #516215;
/* rgb */ color: rgb(81, 98, 21);
/* oklch */ color: oklch(46.6% 0.101 121.5);
Tailwind
colors: {
  custom: {
    50: '#848e59',
    500: '#516215',
    950: '#000000',
  },
}
SCSS
$custom: #516215;
$custom-light: #848e59;
$custom-dark: #000000;
JSON
{
  "hex": "#516215",
  "rgb": {
    "r": 81,
    "g": 98,
    "b": 21
  },
  "hsl": {
    "h": 73.247,
    "s": 64.706,
    "l": 23.333
  },
  "oklch": {
    "l": 0.46621,
    "c": 0.10137,
    "h": 121.5
  },
  "luminance": 0.10539
}

Semantic roles & 50–950 ramp

primary
#516215
secondary
#4F3A99
accent
#40E865
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #516215

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

Preview Lab → · Contrast checker → · Palette generator →

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