#517A2D#517A2D

#517A2D is a mid, moderate yellow-green. Relative luminance 0.159; OKLCH L 53.2% C 0.116 H 132.7°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#517A2D
RGBrgb(81, 122, 45)
HSLhsl(92, 46%, 33%)
HSVhsv(92, 63%, 48%)
CMYKcmyk(33.6%, 0%, 63.1%, 52.2%)
CIE-LABlab(46.79, -28.26, 36.77)
CIE-LCHlch(46.79, 46.37, 127.55°)
OKLaboklab(53.17% -0.0789 0.0854)
OKLCHoklch(53.17% 0.116 132.7)
XYZxyz(10.8264, 15.8575, 4.9725)
Luminance0.1586 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517A2D #562D7A
analogous
#777A2D #517A2D #2D7A2F
triadic
#517A2D #2D517A #7A2D51
tetradic
#517A2D #2D777A #562D7A #7A2F2D
square
#517A2D #2D777A #562D7A #7A2F2D
split-complementary
#517A2D #2F2D7A #7A2D77
monochromatic
#16210C #334D1D #517A2D #6FA73D #8DC45E

Accessibility & contrast

On white

5.03
#517A2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#517A2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517A2D
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517A2D#FFFFFF#000000##FFFFFF
##517A2D1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7124
Deuteranopia (green-blind)
#796E33
Tritanopia (blue-blind)
#52756A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #517a2d;
/* rgb */ color: rgb(81, 122, 45);
/* oklch */ color: oklch(53.2% 0.116 132.7);
Tailwind
colors: {
  custom: {
    50: '#85a069',
    500: '#517a2d',
    950: '#000000',
  },
}
SCSS
$custom: #517a2d;
$custom-light: #85a069;
$custom-dark: #000000;
JSON
{
  "hex": "#517a2d",
  "rgb": {
    "r": 81,
    "g": 122,
    "b": 45
  },
  "hsl": {
    "h": 91.948,
    "s": 46.108,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53166,
    "c": 0.11629,
    "h": 132.7
  },
  "luminance": 0.15858
}

Semantic roles & 50–950 ramp

primary
#517A2D
secondary
#8459AA
accent
#52D698
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0F06
muted
#7C7E7A

Preview Lab

Preview with #517A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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