#517E27#517E27

#517E27 is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 54.2% C 0.127 H 132.7°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#517E27
RGBrgb(81, 126, 39)
HSLhsl(91, 53%, 32%)
HSVhsv(91, 69%, 49%)
CMYKcmyk(35.7%, 0%, 69%, 50.6%)
CIE-LABlab(48.03, -30.71, 40.87)
CIE-LCHlch(48.03, 51.12, 126.92°)
OKLaboklab(54.16% -0.0861 0.0933)
OKLCHoklch(54.16% 0.127 132.7)
XYZxyz(11.2202, 16.8171, 4.5739)
Luminance0.1682 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517E27 #54277E
analogous
#7D7E27 #517E27 #277E28
triadic
#517E27 #27517E #7E2751
tetradic
#517E27 #277D7E #54277E #7E2827
square
#517E27 #277D7E #54277E #7E2827
split-complementary
#517E27 #28277E #7E277D
monochromatic
#15210A #334F19 #517E27 #6FAD35 #8ECA55

Accessibility & contrast

On white

4.81
#517E27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#517E27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517E27
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517E27#FFFFFF#000000##FFFFFF
##517E271.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83741B
Deuteranopia (green-blind)
#7D712E
Tritanopia (blue-blind)
#52796C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #517e27;
/* rgb */ color: rgb(81, 126, 39);
/* oklch */ color: oklch(54.2% 0.127 132.7);
Tailwind
colors: {
  custom: {
    50: '#85a366',
    500: '#517e27',
    950: '#000000',
  },
}
SCSS
$custom: #517e27;
$custom-light: #85a366;
$custom-dark: #000000;
JSON
{
  "hex": "#517e27",
  "rgb": {
    "r": 81,
    "g": 126,
    "b": 39
  },
  "hsl": {
    "h": 91.034,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54159,
    "c": 0.127,
    "h": 132.7
  },
  "luminance": 0.16818
}

Semantic roles & 50–950 ramp

primary
#517E27
secondary
#8252AF
accent
#4CDC96
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #517E27

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

Preview Lab → · Contrast checker → · Palette generator →

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