#516E20#516E20

#516E20 is a mid, moderate yellow-green. Relative luminance 0.130; OKLCH L 49.9% C 0.110 H 127.6°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#516E20
RGBrgb(81, 110, 32)
HSLhsl(82, 55%, 28%)
HSVhsv(82, 71%, 43%)
CMYKcmyk(26.4%, 0%, 70.9%, 56.9%)
CIE-LABlab(42.77, -23.50, 38.41)
CIE-LCHlch(42.77, 45.03, 121.46°)
OKLaboklab(49.87% -0.067 0.0871)
OKLCHoklch(49.87% 0.11 127.6)
XYZxyz(9.2300, 13.0053, 3.3902)
Luminance0.1300 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516E20 #3D206E
analogous
#6E6420 #516E20 #2A6E20
triadic
#516E20 #20516E #6E2051
tetradic
#516E20 #206E64 #3D206E #6E202A
square
#516E20 #206E64 #3D206E #6E202A
split-complementary
#516E20 #202A6E #64206E
monochromatic
#111807 #2E3F12 #516E20 #749D2E #95C841

Accessibility & contrast

On white

5.83
#516E20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#516E20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516E20
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516E20#FFFFFF#000000##FFFFFF
##516E201.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746615
Deuteranopia (green-blind)
#706426
Tritanopia (blue-blind)
#54695E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #516e20;
/* rgb */ color: rgb(81, 110, 32);
/* oklch */ color: oklch(49.9% 0.110 127.6);
Tailwind
colors: {
  custom: {
    50: '#849760',
    500: '#516e20',
    950: '#000000',
  },
}
SCSS
$custom: #516e20;
$custom-light: #849760;
$custom-dark: #000000;
JSON
{
  "hex": "#516e20",
  "rgb": {
    "r": 81,
    "g": 110,
    "b": 32
  },
  "hsl": {
    "h": 82.308,
    "s": 54.93,
    "l": 27.843
  },
  "oklch": {
    "l": 0.49866,
    "c": 0.10994,
    "h": 127.6
  },
  "luminance": 0.13005
}

Semantic roles & 50–950 ramp

primary
#516E20
secondary
#6948A2
accent
#4ADE81
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #516E20

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

Preview Lab → · Contrast checker → · Palette generator →

#516E20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva