#516A1A#516A1A

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

Color values

HEX#516A1A
RGBrgb(81, 106, 26)
HSLhsl(79, 61%, 26%)
HSVhsv(79, 75%, 42%)
CMYKcmyk(23.6%, 0%, 75.5%, 58.4%)
CIE-LABlab(41.42, -21.89, 39.57)
CIE-LCHlch(41.42, 45.22, 118.96°)
OKLaboklab(48.76% -0.0632 0.0886)
OKLCHoklch(48.76% 0.109 125.5)
XYZxyz(8.7339, 12.1319, 2.8586)
Luminance0.1213 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516A1A #331A6A
analogous
#6A5B1A #516A1A #296A1A
triadic
#516A1A #1A516A #6A1A51
tetradic
#516A1A #1A6A5B #331A6A #6A1A29
square
#516A1A #1A6A5B #331A6A #6A1A29
split-complementary
#516A1A #1A296A #5B1A6A
monochromatic
#131906 #2B390E #516A1A #779B26 #9CCC32

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##516A1A#FFFFFF#000000##FFFFFF
##516A1A1.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)
#70630C
Deuteranopia (green-blind)
#6D6121
Tritanopia (blue-blind)
#55655A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #516a1a;
/* rgb */ color: rgb(81, 106, 26);
/* oklch */ color: oklch(48.8% 0.109 125.5);
Tailwind
colors: {
  custom: {
    50: '#85945c',
    500: '#516a1a',
    950: '#000000',
  },
}
SCSS
$custom: #516a1a;
$custom-light: #85945c;
$custom-dark: #000000;
JSON
{
  "hex": "#516a1a",
  "rgb": {
    "r": 81,
    "g": 106,
    "b": 26
  },
  "hsl": {
    "h": 78.75,
    "s": 60.606,
    "l": 25.882
  },
  "oklch": {
    "l": 0.4876,
    "c": 0.10881,
    "h": 125.5
  },
  "luminance": 0.12132
}

Semantic roles & 50–950 ramp

primary
#516A1A
secondary
#5E409F
accent
#44E476
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #516A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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