#516C28#516C28

#516C28 is a mid, moderate yellow-green. Relative luminance 0.126; OKLCH L 49.4% C 0.100 H 127.9°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#516C28
RGBrgb(81, 108, 40)
HSLhsl(84, 46%, 29%)
HSVhsv(84, 63%, 42%)
CMYKcmyk(25%, 0%, 63%, 57.6%)
CIE-LABlab(42.20, -21.78, 34.06)
CIE-LCHlch(42.20, 40.43, 122.60°)
OKLaboklab(49.42% -0.0615 0.0791)
OKLCHoklch(49.42% 0.1 127.9)
XYZxyz(9.1389, 12.6275, 3.9629)
Luminance0.1263 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516C28 #43286C
analogous
#6C6528 #516C28 #2F6C28
triadic
#516C28 #28516C #6C2851
tetradic
#516C28 #286C65 #43286C #6C282F
square
#516C28 #286C65 #43286C #6C282F
split-complementary
#516C28 #282F6C #65286C
monochromatic
#111608 #303F17 #516C28 #729939 #93BE50

Accessibility & contrast

On white

5.96
#516C28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#516C28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516C28
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516C28#FFFFFF#000000##FFFFFF
##516C281.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716520
Deuteranopia (green-blind)
#6E632D
Tritanopia (blue-blind)
#54675D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #516c28;
/* rgb */ color: rgb(81, 108, 40);
/* oklch */ color: oklch(49.4% 0.100 127.9);
Tailwind
colors: {
  custom: {
    50: '#849665',
    500: '#516c28',
    950: '#000000',
  },
}
SCSS
$custom: #516c28;
$custom-light: #849665;
$custom-dark: #000000;
JSON
{
  "hex": "#516c28",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 40
  },
  "hsl": {
    "h": 83.824,
    "s": 45.946,
    "l": 29.02
  },
  "oklch": {
    "l": 0.49424,
    "c": 0.10017,
    "h": 127.9
  },
  "luminance": 0.12628
}

Semantic roles & 50–950 ramp

primary
#516C28
secondary
#70519E
accent
#52D686
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #516C28

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

Preview Lab → · Contrast checker → · Palette generator →

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