#517129#517129

#517129 is a mid, moderate yellow-green. Relative luminance 0.137; OKLCH L 50.7% C 0.107 H 129.7°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#517129
RGBrgb(81, 113, 41)
HSLhsl(87, 47%, 30%)
HSVhsv(87, 64%, 44%)
CMYKcmyk(28.3%, 0%, 63.7%, 55.7%)
CIE-LABlab(43.83, -24.23, 35.39)
CIE-LCHlch(43.83, 42.89, 124.40°)
OKLaboklab(50.75% -0.0682 0.082)
OKLCHoklch(50.75% 0.107 129.7)
XYZxyz(9.6986, 13.7194, 4.2345)
Luminance0.1372 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517129 #492971
analogous
#716D29 #517129 #2D7129
triadic
#517129 #295171 #712951
tetradic
#517129 #29716D #492971 #71292D
square
#517129 #29716D #492971 #71292D
split-complementary
#517129 #292D71 #6D2971
monochromatic
#111708 #314419 #517129 #719E39 #90C154

Accessibility & contrast

On white

5.61
#517129 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#517129 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517129
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517129#FFFFFF#000000##FFFFFF
##5171291.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766921
Deuteranopia (green-blind)
#72672E
Tritanopia (blue-blind)
#536C62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #517129;
/* rgb */ color: rgb(81, 113, 41);
/* oklch */ color: oklch(50.7% 0.107 129.7);
Tailwind
colors: {
  custom: {
    50: '#849a66',
    500: '#517129',
    950: '#000000',
  },
}
SCSS
$custom: #517129;
$custom-light: #849a66;
$custom-dark: #000000;
JSON
{
  "hex": "#517129",
  "rgb": {
    "r": 81,
    "g": 113,
    "b": 41
  },
  "hsl": {
    "h": 86.667,
    "s": 46.753,
    "l": 30.196
  },
  "oklch": {
    "l": 0.50749,
    "c": 0.10666,
    "h": 129.7
  },
  "luminance": 0.1372
}

Semantic roles & 50–950 ramp

primary
#517129
secondary
#7653A3
accent
#51D68D
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #517129

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

Preview Lab → · Contrast checker → · Palette generator →

#517129 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva