#516211#516211

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

Color values

HEX#516211
RGBrgb(81, 98, 17)
HSLhsl(73, 70%, 23%)
HSVhsv(73, 83%, 38%)
CMYKcmyk(17.3%, 0%, 82.7%, 61.6%)
CIE-LABlab(38.77, -18.22, 40.39)
CIE-LCHlch(38.77, 44.31, 114.27°)
OKLaboklab(46.6% -0.0539 0.0887)
OKLCHoklch(46.6% 0.104 121.3)
XYZxyz(7.8623, 10.5252, 2.1476)
Luminance0.1052 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516211 #221162
analogous
#624B11 #516211 #286211
triadic
#516211 #115162 #621151
tetradic
#516211 #11624B #221162 #621128
square
#516211 #11624B #221162 #621128
split-complementary
#516211 #112862 #4B1162
monochromatic
#161A05 #262E08 #516211 #7C961A #A7CA23

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##516211#FFFFFF#000000##FFFFFF
##5162111.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)
#695C00
Deuteranopia (green-blind)
#665B19
Tritanopia (blue-blind)
#565C53
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #516211;
/* rgb */ color: rgb(81, 98, 17);
/* oklch */ color: oklch(46.6% 0.104 121.3);
Tailwind
colors: {
  custom: {
    50: '#858e57',
    500: '#516211',
    950: '#000000',
  },
}
SCSS
$custom: #516211;
$custom-light: #858e57;
$custom-dark: #000000;
JSON
{
  "hex": "#516211",
  "rgb": {
    "r": 81,
    "g": 98,
    "b": 17
  },
  "hsl": {
    "h": 72.593,
    "s": 70.435,
    "l": 22.549
  },
  "oklch": {
    "l": 0.46595,
    "c": 0.10379,
    "h": 121.3
  },
  "luminance": 0.10525
}

Semantic roles & 50–950 ramp

primary
#516211
secondary
#4A349A
accent
#3BED60
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #516211

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

Preview Lab → · Contrast checker → · Palette generator →

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