#516A19#516A19

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

Color values

HEX#516A19
RGBrgb(81, 106, 25)
HSLhsl(79, 62%, 26%)
HSVhsv(79, 76%, 42%)
CMYKcmyk(23.6%, 0%, 76.4%, 58.4%)
CIE-LABlab(41.42, -21.96, 39.96)
CIE-LCHlch(41.42, 45.59, 118.79°)
OKLaboklab(48.75% -0.0635 0.0892)
OKLCHoklch(48.75% 0.11 125.4)
XYZxyz(8.7229, 12.1275, 2.8008)
Luminance0.1213 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516A19 #32196A
analogous
#6A5A19 #516A19 #286A19
triadic
#516A19 #19516A #6A1951
tetradic
#516A19 #196A5A #32196A #6A1928
square
#516A19 #196A5A #32196A #6A1928
split-complementary
#516A19 #19286A #5A196A
monochromatic
#131906 #2B380D #516A19 #779C25 #9DCD30

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##516A19#FFFFFF#000000##FFFFFF
##516A191.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #516a19;
/* rgb */ color: rgb(81, 106, 25);
/* oklch */ color: oklch(48.8% 0.110 125.4);
Tailwind
colors: {
  custom: {
    50: '#85945c',
    500: '#516a19',
    950: '#000000',
  },
}
SCSS
$custom: #516a19;
$custom-light: #85945c;
$custom-dark: #000000;
JSON
{
  "hex": "#516a19",
  "rgb": {
    "r": 81,
    "g": 106,
    "b": 25
  },
  "hsl": {
    "h": 78.519,
    "s": 61.832,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48752,
    "c": 0.1095,
    "h": 125.4
  },
  "luminance": 0.12128
}

Semantic roles & 50–950 ramp

primary
#516A19
secondary
#5D3FA0
accent
#43E575
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #516A19

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

Preview Lab → · Contrast checker → · Palette generator →

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