#516F20#516F20

#516F20 is a mid, moderate yellow-green. Relative luminance 0.132; OKLCH L 50.1% C 0.111 H 127.9°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#516F20
RGBrgb(81, 111, 32)
HSLhsl(83, 55%, 28%)
HSVhsv(83, 71%, 44%)
CMYKcmyk(27%, 0%, 71.2%, 56.5%)
CIE-LABlab(43.10, -24.01, 38.75)
CIE-LCHlch(43.10, 45.58, 121.78°)
OKLaboklab(50.13% -0.0684 0.0878)
OKLCHoklch(50.13% 0.111 127.9)
XYZxyz(9.3385, 13.2223, 3.4264)
Luminance0.1322 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516F20 #3E206F
analogous
#6F6520 #516F20 #296F20
triadic
#516F20 #20516F #6F2051
tetradic
#516F20 #206F65 #3E206F #6F2029
square
#516F20 #206F65 #3E206F #6F2029
split-complementary
#516F20 #20296F #65206F
monochromatic
#111807 #2E3F12 #516F20 #749F2E #95C841

Accessibility & contrast

On white

5.76
#516F20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#516F20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516F20
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516F20#FFFFFF#000000##FFFFFF
##516F201.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756714
Deuteranopia (green-blind)
#716527
Tritanopia (blue-blind)
#546A5F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #516f20;
/* rgb */ color: rgb(81, 111, 32);
/* oklch */ color: oklch(50.1% 0.111 127.9);
Tailwind
colors: {
  custom: {
    50: '#859860',
    500: '#516f20',
    950: '#000000',
  },
}
SCSS
$custom: #516f20;
$custom-light: #859860;
$custom-dark: #000000;
JSON
{
  "hex": "#516f20",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 32
  },
  "hsl": {
    "h": 82.785,
    "s": 55.245,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50129,
    "c": 0.11134,
    "h": 127.9
  },
  "luminance": 0.13222
}

Semantic roles & 50–950 ramp

primary
#516F20
secondary
#6A48A3
accent
#49DF82
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #516F20

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

Preview Lab → · Contrast checker → · Palette generator →

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