#516E27#516E27

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

Color values

HEX#516E27
RGBrgb(81, 110, 39)
HSLhsl(85, 48%, 29%)
HSVhsv(85, 65%, 43%)
CMYKcmyk(26.4%, 0%, 64.5%, 56.9%)
CIE-LABlab(42.83, -22.90, 35.26)
CIE-LCHlch(42.83, 42.04, 123.01°)
OKLaboklab(49.94% -0.0647 0.0815)
OKLCHoklch(49.94% 0.104 128.5)
XYZxyz(9.3354, 13.0475, 3.9456)
Luminance0.1305 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516E27 #44276E
analogous
#6E6827 #516E27 #2E6E27
triadic
#516E27 #27516E #6E2751
tetradic
#516E27 #276E68 #44276E #6E272E
square
#516E27 #276E68 #44276E #6E272E
split-complementary
#516E27 #272E6E #68276E
monochromatic
#111708 #304117 #516E27 #729B37 #92C14F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##516E27#FFFFFF#000000##FFFFFF
##516E271.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)
#73661F
Deuteranopia (green-blind)
#6F652C
Tritanopia (blue-blind)
#54695F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #516e27;
/* rgb */ color: rgb(81, 110, 39);
/* oklch */ color: oklch(49.9% 0.104 128.5);
Tailwind
colors: {
  custom: {
    50: '#849764',
    500: '#516e27',
    950: '#000000',
  },
}
SCSS
$custom: #516e27;
$custom-light: #849764;
$custom-dark: #000000;
JSON
{
  "hex": "#516e27",
  "rgb": {
    "r": 81,
    "g": 110,
    "b": 39
  },
  "hsl": {
    "h": 84.507,
    "s": 47.651,
    "l": 29.216
  },
  "oklch": {
    "l": 0.49937,
    "c": 0.10405,
    "h": 128.5
  },
  "luminance": 0.13048
}

Semantic roles & 50–950 ramp

primary
#516E27
secondary
#7150A1
accent
#51D788
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #516E27

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

Preview Lab → · Contrast checker → · Palette generator →

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