#516A16#516A16

#516A16 is a mid, moderate yellow-green. Relative luminance 0.121; OKLCH L 48.7% C 0.111 H 125.2°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#516A16
RGBrgb(81, 106, 22)
HSLhsl(78, 66%, 25%)
HSVhsv(78, 79%, 42%)
CMYKcmyk(23.6%, 0%, 79.2%, 58.4%)
CIE-LABlab(41.40, -22.14, 41.08)
CIE-LCHlch(41.40, 46.67, 118.32°)
OKLaboklab(48.73% -0.0642 0.0911)
OKLCHoklch(48.73% 0.111 125.2)
XYZxyz(8.6923, 12.1152, 2.6394)
Luminance0.1211 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516A16 #2F166A
analogous
#6A5916 #516A16 #276A16
triadic
#516A16 #16516A #6A1651
tetradic
#516A16 #166A59 #2F166A #6A1627
square
#516A16 #166A59 #2F166A #6A1627
split-complementary
#516A16 #16276A #59166A
monochromatic
#131905 #2A370B #516A16 #789D21 #9ECF2B

Accessibility & contrast

On white

6.13
#516A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#516A16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516A16
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516A16#FFFFFF#000000##FFFFFF
##516A161.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706304
Deuteranopia (green-blind)
#6D611E
Tritanopia (blue-blind)
#55655A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #516a16;
/* rgb */ color: rgb(81, 106, 22);
/* oklch */ color: oklch(48.7% 0.111 125.2);
Tailwind
colors: {
  custom: {
    50: '#85945a',
    500: '#516a16',
    950: '#000000',
  },
}
SCSS
$custom: #516a16;
$custom-light: #85945a;
$custom-dark: #000000;
JSON
{
  "hex": "#516a16",
  "rgb": {
    "r": 81,
    "g": 106,
    "b": 22
  },
  "hsl": {
    "h": 77.857,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.4873,
    "c": 0.11143,
    "h": 125.2
  },
  "luminance": 0.12115
}

Semantic roles & 50–950 ramp

primary
#516A16
secondary
#593BA0
accent
#3FE972
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #516A16

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

Preview Lab → · Contrast checker → · Palette generator →

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