#516D20#516D20

#516D20 is a mid, moderate yellow-green. Relative luminance 0.128; OKLCH L 49.6% C 0.109 H 127.2°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#516D20
RGBrgb(81, 109, 32)
HSLhsl(82, 55%, 28%)
HSVhsv(82, 71%, 43%)
CMYKcmyk(25.7%, 0%, 70.6%, 57.3%)
CIE-LABlab(42.45, -23.00, 38.07)
CIE-LCHlch(42.45, 44.48, 121.13°)
OKLaboklab(49.6% -0.0656 0.0864)
OKLCHoklch(49.6% 0.109 127.2)
XYZxyz(9.1227, 12.7907, 3.3544)
Luminance0.1279 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516D20 #3C206D
analogous
#6D6220 #516D20 #2B6D20
triadic
#516D20 #20516D #6D2051
tetradic
#516D20 #206D62 #3C206D #6D202B
square
#516D20 #206D62 #3C206D #6D202B
split-complementary
#516D20 #202B6D #62206D
monochromatic
#121807 #2E3E12 #516D20 #749C2E #96C740

Accessibility & contrast

On white

5.90
#516D20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#516D20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516D20
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516D20#FFFFFF#000000##FFFFFF
##516D201.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736515
Deuteranopia (green-blind)
#6F6426
Tritanopia (blue-blind)
#54685D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #516d20;
/* rgb */ color: rgb(81, 109, 32);
/* oklch */ color: oklch(49.6% 0.109 127.2);
Tailwind
colors: {
  custom: {
    50: '#849760',
    500: '#516d20',
    950: '#000000',
  },
}
SCSS
$custom: #516d20;
$custom-light: #849760;
$custom-dark: #000000;
JSON
{
  "hex": "#516d20",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 32
  },
  "hsl": {
    "h": 81.818,
    "s": 54.61,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49602,
    "c": 0.10853,
    "h": 127.2
  },
  "luminance": 0.12791
}

Semantic roles & 50–950 ramp

primary
#516D20
secondary
#6848A1
accent
#4ADE80
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #516D20

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

Preview Lab → · Contrast checker → · Palette generator →

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