#517E2D#517E2D

#517E2D is a mid, vivid yellow-green. Relative luminance 0.169; OKLCH L 54.2% C 0.122 H 133.6°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#517E2D
RGBrgb(81, 126, 45)
HSLhsl(93, 47%, 34%)
HSVhsv(93, 64%, 49%)
CMYKcmyk(35.7%, 0%, 64.3%, 50.6%)
CIE-LABlab(48.08, -30.16, 38.21)
CIE-LCHlch(48.08, 48.68, 128.29°)
OKLaboklab(54.22% -0.0841 0.0885)
OKLCHoklch(54.22% 0.122 133.6)
XYZxyz(11.3276, 16.8600, 5.1396)
Luminance0.1686 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517E2D #5A2D7E
analogous
#797E2D #517E2D #2D7E31
triadic
#517E2D #2D517E #7E2D51
tetradic
#517E2D #2D797E #5A2D7E #7E312D
square
#517E2D #2D797E #5A2D7E #7E312D
split-complementary
#517E2D #312D7E #7E2D79
monochromatic
#17240D #34511D #517E2D #6EAB3D #8DC65F

Accessibility & contrast

On white

4.80
#517E2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#517E2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517E2D
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517E2D#FFFFFF#000000##FFFFFF
##517E2D1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837424
Deuteranopia (green-blind)
#7D7133
Tritanopia (blue-blind)
#51796D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #517e2d;
/* rgb */ color: rgb(81, 126, 45);
/* oklch */ color: oklch(54.2% 0.122 133.6);
Tailwind
colors: {
  custom: {
    50: '#85a36a',
    500: '#517e2d',
    950: '#000000',
  },
}
SCSS
$custom: #517e2d;
$custom-light: #85a36a;
$custom-dark: #000000;
JSON
{
  "hex": "#517e2d",
  "rgb": {
    "r": 81,
    "g": 126,
    "b": 45
  },
  "hsl": {
    "h": 93.333,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54221,
    "c": 0.1221,
    "h": 133.6
  },
  "luminance": 0.16861
}

Semantic roles & 50–950 ramp

primary
#517E2D
secondary
#885AAC
accent
#51D79B
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #517E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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