#517B29#517B29

#517B29 is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.4% C 0.121 H 132.3°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#517B29
RGBrgb(81, 123, 41)
HSLhsl(91, 50%, 32%)
HSVhsv(91, 67%, 48%)
CMYKcmyk(34.1%, 0%, 66.7%, 51.8%)
CIE-LABlab(47.07, -29.12, 38.95)
CIE-LCHlch(47.07, 48.63, 126.78°)
OKLaboklab(53.39% -0.0816 0.0896)
OKLCHoklch(53.39% 0.121 132.3)
XYZxyz(10.8764, 16.0749, 4.6271)
Luminance0.1608 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517B29 #53297B
analogous
#7A7B29 #517B29 #297B2A
triadic
#517B29 #29517B #7B2951
tetradic
#517B29 #297A7B #53297B #7B2A29
square
#517B29 #297A7B #53297B #7B2A29
split-complementary
#517B29 #2A297B #7B297A
monochromatic
#151F0A #334D1A #517B29 #6FA938 #8EC757

Accessibility & contrast

On white

4.98
#517B29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#517B29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517B29
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517B29#FFFFFF#000000##FFFFFF
##517B291.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80721F
Deuteranopia (green-blind)
#7A6E30
Tritanopia (blue-blind)
#52766A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #517b29;
/* rgb */ color: rgb(81, 123, 41);
/* oklch */ color: oklch(53.4% 0.121 132.3);
Tailwind
colors: {
  custom: {
    50: '#85a167',
    500: '#517b29',
    950: '#000000',
  },
}
SCSS
$custom: #517b29;
$custom-light: #85a167;
$custom-dark: #000000;
JSON
{
  "hex": "#517b29",
  "rgb": {
    "r": 81,
    "g": 123,
    "b": 41
  },
  "hsl": {
    "h": 90.732,
    "s": 50,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53386,
    "c": 0.12117,
    "h": 132.3
  },
  "luminance": 0.16075
}

Semantic roles & 50–950 ramp

primary
#517B29
secondary
#8153AC
accent
#4EDA96
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0F06
muted
#7C7E7A

Preview Lab

Preview with #517B29

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

Preview Lab → · Contrast checker → · Palette generator →

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