#516A20#516A20

#516A20 is a mid, moderate yellow-green. Relative luminance 0.122; OKLCH L 48.8% C 0.104 H 126.1°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#516A20
RGBrgb(81, 106, 32)
HSLhsl(80, 54%, 27%)
HSVhsv(80, 70%, 42%)
CMYKcmyk(23.6%, 0%, 69.8%, 58.4%)
CIE-LABlab(41.47, -21.46, 37.05)
CIE-LCHlch(41.47, 42.82, 120.08°)
OKLaboklab(48.81% -0.0614 0.0843)
OKLCHoklch(48.81% 0.104 126.1)
XYZxyz(8.8081, 12.1616, 3.2496)
Luminance0.1216 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516A20 #39206A
analogous
#6A5E20 #516A20 #2C6A20
triadic
#516A20 #20516A #6A2051
tetradic
#516A20 #206A5E #39206A #6A202C
square
#516A20 #206A5E #39206A #6A202C
split-complementary
#516A20 #202C6A #5E206A
monochromatic
#121807 #2D3B12 #516A20 #75992E #98C53F

Accessibility & contrast

On white

6.12
#516A20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#516A20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516A20
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516A20#FFFFFF#000000##FFFFFF
##516A201.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706316
Deuteranopia (green-blind)
#6C6126
Tritanopia (blue-blind)
#54655B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #516a20;
/* rgb */ color: rgb(81, 106, 32);
/* oklch */ color: oklch(48.8% 0.104 126.1);
Tailwind
colors: {
  custom: {
    50: '#849460',
    500: '#516a20',
    950: '#000000',
  },
}
SCSS
$custom: #516a20;
$custom-light: #849460;
$custom-dark: #000000;
JSON
{
  "hex": "#516a20",
  "rgb": {
    "r": 81,
    "g": 106,
    "b": 32
  },
  "hsl": {
    "h": 80.27,
    "s": 53.623,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48813,
    "c": 0.10429,
    "h": 126.1
  },
  "luminance": 0.12162
}

Semantic roles & 50–950 ramp

primary
#516A20
secondary
#65489E
accent
#4BDD7C
background
#F8F9F5
surface
#EFF1EA
border
#CACBC6
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #516A20

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

Preview Lab → · Contrast checker → · Palette generator →

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