#516A1C#516A1C

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

Color values

HEX#516A1C
RGBrgb(81, 106, 28)
HSLhsl(79, 58%, 26%)
HSVhsv(79, 74%, 42%)
CMYKcmyk(23.6%, 0%, 73.6%, 58.4%)
CIE-LABlab(41.44, -21.76, 38.76)
CIE-LCHlch(41.44, 44.45, 119.31°)
OKLaboklab(48.78% -0.0626 0.0872)
OKLCHoklch(48.78% 0.107 125.7)
XYZxyz(8.7570, 12.1411, 2.9805)
Luminance0.1214 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516A1C #351C6A
analogous
#6A5C1C #516A1C #2A6A1C
triadic
#516A1C #1C516A #6A1C51
tetradic
#516A1C #1C6A5C #351C6A #6A1C2A
square
#516A1C #1C6A5C #351C6A #6A1C2A
split-complementary
#516A1C #1C2A6A #5C1C6A
monochromatic
#121806 #2C3A0F #516A1C #769A29 #9BCA36

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##516A1C#FFFFFF#000000##FFFFFF
##516A1C1.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)
#70630F
Deuteranopia (green-blind)
#6D6123
Tritanopia (blue-blind)
#55655B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #516a1c;
/* rgb */ color: rgb(81, 106, 28);
/* oklch */ color: oklch(48.8% 0.107 125.7);
Tailwind
colors: {
  custom: {
    50: '#84945e',
    500: '#516a1c',
    950: '#000000',
  },
}
SCSS
$custom: #516a1c;
$custom-light: #84945e;
$custom-dark: #000000;
JSON
{
  "hex": "#516a1c",
  "rgb": {
    "r": 81,
    "g": 106,
    "b": 28
  },
  "hsl": {
    "h": 79.231,
    "s": 58.209,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48776,
    "c": 0.10738,
    "h": 125.7
  },
  "luminance": 0.12141
}

Semantic roles & 50–950 ramp

primary
#516A1C
secondary
#60439F
accent
#46E178
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #516A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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