#516E28#516E28

#516E28 is a mid, moderate yellow-green. Relative luminance 0.131; OKLCH L 49.9% C 0.103 H 128.6°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#516E28
RGBrgb(81, 110, 40)
HSLhsl(85, 47%, 29%)
HSVhsv(85, 64%, 43%)
CMYKcmyk(26.4%, 0%, 63.6%, 56.9%)
CIE-LABlab(42.84, -22.81, 34.78)
CIE-LCHlch(42.84, 41.59, 123.26°)
OKLaboklab(49.95% -0.0644 0.0806)
OKLCHoklch(49.95% 0.103 128.6)
XYZxyz(9.3522, 13.0542, 4.0341)
Luminance0.1305 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516E28 #45286E
analogous
#6E6828 #516E28 #2E6E28
triadic
#516E28 #28516E #6E2851
tetradic
#516E28 #286E68 #45286E #6E282E
square
#516E28 #286E68 #45286E #6E282E
split-complementary
#516E28 #282E6E #68286E
monochromatic
#111608 #304118 #516E28 #729B38 #92C051

Accessibility & contrast

On white

5.82
#516E28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#516E28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516E28
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516E28#FFFFFF#000000##FFFFFF
##516E281.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736620
Deuteranopia (green-blind)
#6F652D
Tritanopia (blue-blind)
#53695F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #516e28;
/* rgb */ color: rgb(81, 110, 40);
/* oklch */ color: oklch(49.9% 0.103 128.6);
Tailwind
colors: {
  custom: {
    50: '#849765',
    500: '#516e28',
    950: '#000000',
  },
}
SCSS
$custom: #516e28;
$custom-light: #849765;
$custom-dark: #000000;
JSON
{
  "hex": "#516e28",
  "rgb": {
    "r": 81,
    "g": 110,
    "b": 40
  },
  "hsl": {
    "h": 84.857,
    "s": 46.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.49949,
    "c": 0.10314,
    "h": 128.6
  },
  "luminance": 0.13054
}

Semantic roles & 50–950 ramp

primary
#516E28
secondary
#7251A0
accent
#51D689
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #516E28

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

Preview Lab → · Contrast checker → · Palette generator →

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