#516220#516220

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

Color values

HEX#516220
RGBrgb(81, 98, 32)
HSLhsl(75, 51%, 25%)
HSVhsv(75, 67%, 38%)
CMYKcmyk(17.3%, 0%, 67.3%, 61.6%)
CIE-LABlab(38.88, -17.23, 34.30)
CIE-LCHlch(38.88, 38.38, 116.67°)
OKLaboklab(46.72% -0.0497 0.0785)
OKLCHoklch(46.72% 0.093 122.4)
XYZxyz(8.0218, 10.5890, 2.9875)
Luminance0.1059 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516220 #312062
analogous
#625220 #516220 #306220
triadic
#516220 #205162 #622051
tetradic
#516220 #206252 #312062 #622030
square
#516220 #206252 #312062 #622030
split-complementary
#516220 #203062 #522062
monochromatic
#131708 #2B3411 #516220 #77902F #9DBE3E

Accessibility & contrast

On white

6.74
#516220 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #516220
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516220#FFFFFF#000000##FFFFFF
##5162201.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #516220;
/* rgb */ color: rgb(81, 98, 32);
/* oklch */ color: oklch(46.7% 0.093 122.4);
Tailwind
colors: {
  custom: {
    50: '#848e5f',
    500: '#516220',
    950: '#000000',
  },
}
SCSS
$custom: #516220;
$custom-light: #848e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#516220",
  "rgb": {
    "r": 81,
    "g": 98,
    "b": 32
  },
  "hsl": {
    "h": 75.455,
    "s": 50.769,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46719,
    "c": 0.09289,
    "h": 122.4
  },
  "luminance": 0.10589
}

Semantic roles & 50–950 ramp

primary
#516220
secondary
#5C4796
accent
#4EDA72
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C05
muted
#7C7D79

Preview Lab

Preview with #516220

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

Preview Lab → · Contrast checker → · Palette generator →

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