#517E29#517E29

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

Color values

HEX#517E29
RGBrgb(81, 126, 41)
HSLhsl(92, 51%, 33%)
HSVhsv(92, 67%, 49%)
CMYKcmyk(35.7%, 0%, 67.5%, 50.6%)
CIE-LABlab(48.05, -30.53, 40.00)
CIE-LCHlch(48.05, 50.33, 127.35°)
OKLaboklab(54.18% -0.0855 0.0918)
OKLCHoklch(54.18% 0.125 133)
XYZxyz(11.2543, 16.8307, 4.7531)
Luminance0.1683 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517E29 #56297E
analogous
#7B7E29 #517E29 #297E2C
triadic
#517E29 #29517E #7E2951
tetradic
#517E29 #297B7E #56297E #7E2C29
square
#517E29 #297B7E #56297E #7E2C29
split-complementary
#517E29 #2C297E #7E297B
monochromatic
#16220B #33501A #517E29 #6FAC38 #8DC959

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##517E29#FFFFFF#000000##FFFFFF
##517E291.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #517e29;
/* rgb */ color: rgb(81, 126, 41);
/* oklch */ color: oklch(54.2% 0.125 133.0);
Tailwind
colors: {
  custom: {
    50: '#85a367',
    500: '#517e29',
    950: '#000000',
  },
}
SCSS
$custom: #517e29;
$custom-light: #85a367;
$custom-dark: #000000;
JSON
{
  "hex": "#517e29",
  "rgb": {
    "r": 81,
    "g": 126,
    "b": 41
  },
  "hsl": {
    "h": 91.765,
    "s": 50.898,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54179,
    "c": 0.12543,
    "h": 133
  },
  "luminance": 0.16831
}

Semantic roles & 50–950 ramp

primary
#517E29
secondary
#8455AE
accent
#4DDA98
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #517E29

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

Preview Lab → · Contrast checker → · Palette generator →

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