#516D28#516D28

#516D28 is a mid, moderate yellow-green. Relative luminance 0.128; OKLCH L 49.7% C 0.102 H 128.3°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#516D28
RGBrgb(81, 109, 40)
HSLhsl(84, 46%, 29%)
HSVhsv(84, 63%, 43%)
CMYKcmyk(25.7%, 0%, 63.3%, 57.3%)
CIE-LABlab(42.52, -22.30, 34.42)
CIE-LCHlch(42.52, 41.01, 122.94°)
OKLaboklab(49.69% -0.063 0.0798)
OKLCHoklch(49.69% 0.102 128.3)
XYZxyz(9.2449, 12.8396, 3.9983)
Luminance0.1284 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516D28 #44286D
analogous
#6D6728 #516D28 #2F6D28
triadic
#516D28 #28516D #6D2851
tetradic
#516D28 #286D67 #44286D #6D282F
square
#516D28 #286D67 #44286D #6D282F
split-complementary
#516D28 #282F6D #67286D
monochromatic
#111608 #304018 #516D28 #729A38 #92BF50

Accessibility & contrast

On white

5.89
#516D28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#516D28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516D28
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516D28#FFFFFF#000000##FFFFFF
##516D281.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726620
Deuteranopia (green-blind)
#6E642D
Tritanopia (blue-blind)
#54685E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #516d28;
/* rgb */ color: rgb(81, 109, 40);
/* oklch */ color: oklch(49.7% 0.102 128.3);
Tailwind
colors: {
  custom: {
    50: '#849765',
    500: '#516d28',
    950: '#000000',
  },
}
SCSS
$custom: #516d28;
$custom-light: #849765;
$custom-dark: #000000;
JSON
{
  "hex": "#516d28",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 40
  },
  "hsl": {
    "h": 84.348,
    "s": 46.309,
    "l": 29.216
  },
  "oklch": {
    "l": 0.49686,
    "c": 0.10166,
    "h": 128.3
  },
  "luminance": 0.1284
}

Semantic roles & 50–950 ramp

primary
#516D28
secondary
#71519F
accent
#52D687
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #516D28

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

Preview Lab → · Contrast checker → · Palette generator →

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