#517A2E#517A2E

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

Color values

HEX#517A2E
RGBrgb(81, 122, 46)
HSLhsl(92, 45%, 33%)
HSVhsv(92, 62%, 48%)
CMYKcmyk(33.6%, 0%, 62.3%, 52.2%)
CIE-LABlab(46.80, -28.16, 36.29)
CIE-LCHlch(46.80, 45.94, 127.81°)
OKLaboklab(53.18% -0.0785 0.0845)
OKLCHoklch(53.18% 0.115 132.9)
XYZxyz(10.8458, 15.8653, 5.0751)
Luminance0.1587 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517A2E #572E7A
analogous
#777A2E #517A2E #2E7A31
triadic
#517A2E #2E517A #7A2E51
tetradic
#517A2E #2E777A #572E7A #7A312E
square
#517A2E #2E777A #572E7A #7A312E
split-complementary
#517A2E #312E7A #7A2E77
monochromatic
#16210C #334E1D #517A2E #6FA63F #8DC360

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##517A2E#FFFFFF#000000##FFFFFF
##517A2E1.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)
#7F7126
Deuteranopia (green-blind)
#796E34
Tritanopia (blue-blind)
#52756A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #517a2e;
/* rgb */ color: rgb(81, 122, 46);
/* oklch */ color: oklch(53.2% 0.115 132.9);
Tailwind
colors: {
  custom: {
    50: '#85a06a',
    500: '#517a2e',
    950: '#000000',
  },
}
SCSS
$custom: #517a2e;
$custom-light: #85a06a;
$custom-dark: #000000;
JSON
{
  "hex": "#517a2e",
  "rgb": {
    "r": 81,
    "g": 122,
    "b": 46
  },
  "hsl": {
    "h": 92.368,
    "s": 45.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53177,
    "c": 0.11539,
    "h": 132.9
  },
  "luminance": 0.15866
}

Semantic roles & 50–950 ramp

primary
#517A2E
secondary
#855AAA
accent
#53D599
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0F06
muted
#7C7E7A

Preview Lab

Preview with #517A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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