#516222#516222

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

Color values

HEX#516222
RGBrgb(81, 98, 34)
HSLhsl(76, 48%, 26%)
HSVhsv(76, 65%, 38%)
CMYKcmyk(17.3%, 0%, 65.3%, 61.6%)
CIE-LABlab(38.90, -17.06, 33.35)
CIE-LCHlch(38.90, 37.46, 117.08°)
OKLaboklab(46.74% -0.049 0.0768)
OKLCHoklch(46.74% 0.091 122.6)
XYZxyz(8.0498, 10.6002, 3.1350)
Luminance0.1060 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516222 #332262
analogous
#625322 #516222 #316222
triadic
#516222 #225162 #622251
tetradic
#516222 #226253 #332262 #622231
square
#516222 #226253 #332262 #622231
split-complementary
#516222 #223162 #532262
monochromatic
#131708 #2B3512 #516222 #778F32 #9CBD42

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##516222#FFFFFF#000000##FFFFFF
##5162221.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)
#685C1A
Deuteranopia (green-blind)
#665C26
Tritanopia (blue-blind)
#555D54
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #516222;
/* rgb */ color: rgb(81, 98, 34);
/* oklch */ color: oklch(46.7% 0.091 122.6);
Tailwind
colors: {
  custom: {
    50: '#848e60',
    500: '#516222',
    950: '#000000',
  },
}
SCSS
$custom: #516222;
$custom-light: #848e60;
$custom-dark: #000000;
JSON
{
  "hex": "#516222",
  "rgb": {
    "r": 81,
    "g": 98,
    "b": 34
  },
  "hsl": {
    "h": 75.938,
    "s": 48.485,
    "l": 25.882
  },
  "oklch": {
    "l": 0.46741,
    "c": 0.09108,
    "h": 122.6
  },
  "luminance": 0.106
}

Semantic roles & 50–950 ramp

primary
#516222
secondary
#5E4A96
accent
#50D874
background
#F8F8F5
surface
#EFF0EA
border
#CACBC6
text
#0B0C05
muted
#7C7D79

Preview Lab

Preview with #516222

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

Preview Lab → · Contrast checker → · Palette generator →

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