#517D29#517D29

#517D29 is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 53.9% C 0.124 H 132.8°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#517D29
RGBrgb(81, 125, 41)
HSLhsl(91, 51%, 33%)
HSVhsv(91, 67%, 49%)
CMYKcmyk(35.2%, 0%, 67.2%, 51%)
CIE-LABlab(47.72, -30.07, 39.65)
CIE-LCHlch(47.72, 49.76, 127.17°)
OKLaboklab(53.92% -0.0842 0.091)
OKLCHoklch(53.92% 0.124 132.8)
XYZxyz(11.1270, 16.5762, 4.7107)
Luminance0.1658 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517D29 #55297D
analogous
#7B7D29 #517D29 #297D2B
triadic
#517D29 #29517D #7D2951
tetradic
#517D29 #297B7D #55297D #7D2B29
square
#517D29 #297B7D #55297D #7D2B29
split-complementary
#517D29 #2B297D #7D297B
monochromatic
#15210B #334F1A #517D29 #6FAB38 #8EC858

Accessibility & contrast

On white

4.87
#517D29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#517D29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517D29
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517D29#FFFFFF#000000##FFFFFF
##517D291.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82731E
Deuteranopia (green-blind)
#7C7030
Tritanopia (blue-blind)
#52786C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #517d29;
/* rgb */ color: rgb(81, 125, 41);
/* oklch */ color: oklch(53.9% 0.124 132.8);
Tailwind
colors: {
  custom: {
    50: '#85a367',
    500: '#517d29',
    950: '#000000',
  },
}
SCSS
$custom: #517d29;
$custom-light: #85a367;
$custom-dark: #000000;
JSON
{
  "hex": "#517d29",
  "rgb": {
    "r": 81,
    "g": 125,
    "b": 41
  },
  "hsl": {
    "h": 91.429,
    "s": 50.602,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53915,
    "c": 0.12401,
    "h": 132.8
  },
  "luminance": 0.16577
}

Semantic roles & 50–950 ramp

primary
#517D29
secondary
#8354AE
accent
#4EDA97
background
#F8FAF6
surface
#F0F3EB
border
#CBCDC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #517D29

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

Preview Lab → · Contrast checker → · Palette generator →

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