#516221#516221

#516221 is a mid, moderate yellow-green. Relative luminance 0.106; OKLCH L 46.7% C 0.092 H 122.5°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#516221
RGBrgb(81, 98, 33)
HSLhsl(76, 50%, 26%)
HSVhsv(76, 66%, 38%)
CMYKcmyk(17.3%, 0%, 66.3%, 61.6%)
CIE-LABlab(38.89, -17.14, 33.83)
CIE-LCHlch(38.89, 37.92, 116.87°)
OKLaboklab(46.73% -0.0494 0.0776)
OKLCHoklch(46.73% 0.092 122.5)
XYZxyz(8.0356, 10.5945, 3.0602)
Luminance0.1060 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516221 #322162
analogous
#625221 #516221 #306221
triadic
#516221 #215162 #622151
tetradic
#516221 #216252 #322162 #622130
square
#516221 #216252 #322162 #622130
split-complementary
#516221 #213062 #522162
monochromatic
#131708 #2B3412 #516221 #779030 #9DBE40

Accessibility & contrast

On white

6.73
#516221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#516221 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516221
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516221#FFFFFF#000000##FFFFFF
##5162211.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C19
Deuteranopia (green-blind)
#665C26
Tritanopia (blue-blind)
#555D54
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #516221;
/* rgb */ color: rgb(81, 98, 33);
/* oklch */ color: oklch(46.7% 0.092 122.5);
Tailwind
colors: {
  custom: {
    50: '#848e60',
    500: '#516221',
    950: '#000000',
  },
}
SCSS
$custom: #516221;
$custom-light: #848e60;
$custom-dark: #000000;
JSON
{
  "hex": "#516221",
  "rgb": {
    "r": 81,
    "g": 98,
    "b": 33
  },
  "hsl": {
    "h": 75.692,
    "s": 49.618,
    "l": 25.686
  },
  "oklch": {
    "l": 0.4673,
    "c": 0.092,
    "h": 122.5
  },
  "luminance": 0.10595
}

Semantic roles & 50–950 ramp

primary
#516221
secondary
#5D4996
accent
#4FD973
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C05
muted
#7C7D79

Preview Lab

Preview with #516221

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

Preview Lab → · Contrast checker → · Palette generator →

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