#517F29#517F29

#517F29 is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.4% C 0.127 H 133.2°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#517F29
RGBrgb(81, 127, 41)
HSLhsl(92, 51%, 33%)
HSVhsv(92, 68%, 50%)
CMYKcmyk(36.2%, 0%, 67.7%, 50.2%)
CIE-LABlab(48.37, -31.00, 40.35)
CIE-LCHlch(48.37, 50.89, 127.53°)
OKLaboklab(54.44% -0.0868 0.0925)
OKLCHoklch(54.44% 0.127 133.2)
XYZxyz(11.3828, 17.0877, 4.7959)
Luminance0.1709 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517F29 #57297F
analogous
#7C7F29 #517F29 #297F2C
triadic
#517F29 #29517F #7F2951
tetradic
#517F29 #297C7F #57297F #7F2C29
square
#517F29 #297C7F #57297F #7F2C29
split-complementary
#517F29 #2C297F #7F297C
monochromatic
#16220B #33511A #517F29 #6FAD38 #8DC959

Accessibility & contrast

On white

4.75
#517F29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#517F29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517F29
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517F29#FFFFFF#000000##FFFFFF
##517F291.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84751E
Deuteranopia (green-blind)
#7E7230
Tritanopia (blue-blind)
#517A6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #517f29;
/* rgb */ color: rgb(81, 127, 41);
/* oklch */ color: oklch(54.4% 0.127 133.2);
Tailwind
colors: {
  custom: {
    50: '#85a467',
    500: '#517f29',
    950: '#000000',
  },
}
SCSS
$custom: #517f29;
$custom-light: #85a467;
$custom-dark: #000000;
JSON
{
  "hex": "#517f29",
  "rgb": {
    "r": 81,
    "g": 127,
    "b": 41
  },
  "hsl": {
    "h": 92.093,
    "s": 51.19,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54443,
    "c": 0.12683,
    "h": 133.2
  },
  "luminance": 0.17088
}

Semantic roles & 50–950 ramp

primary
#517F29
secondary
#8555AF
accent
#4DDB99
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #517F29

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

Preview Lab → · Contrast checker → · Palette generator →

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