#517A32#517A32

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

Color values

HEX#517A32
RGBrgb(81, 122, 50)
HSLhsl(94, 42%, 34%)
HSVhsv(94, 59%, 48%)
CMYKcmyk(33.6%, 0%, 59%, 52.2%)
CIE-LABlab(46.84, -27.73, 34.37)
CIE-LCHlch(46.84, 44.16, 128.90°)
OKLaboklab(53.23% -0.077 0.0808)
OKLCHoklch(53.23% 0.112 133.6)
XYZxyz(10.9284, 15.8983, 5.5099)
Luminance0.1590 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517A32 #5B327A
analogous
#757A32 #517A32 #327A37
triadic
#517A32 #32517A #7A3251
tetradic
#517A32 #32757A #5B327A #7A3732
square
#517A32 #32757A #5B327A #7A3732
split-complementary
#517A32 #37327A #7A3275
monochromatic
#17230E #344F20 #517A32 #6EA544 #8DC066

Accessibility & contrast

On white

5.02
#517A32 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#517A32 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517A32
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517A32#FFFFFF#000000##FFFFFF
##517A321.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F712B
Deuteranopia (green-blind)
#796E37
Tritanopia (blue-blind)
#51756A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #517a32;
/* rgb */ color: rgb(81, 122, 50);
/* oklch */ color: oklch(53.2% 0.112 133.6);
Tailwind
colors: {
  custom: {
    50: '#84a06c',
    500: '#517a32',
    950: '#000000',
  },
}
SCSS
$custom: #517a32;
$custom-light: #84a06c;
$custom-dark: #000000;
JSON
{
  "hex": "#517a32",
  "rgb": {
    "r": 81,
    "g": 122,
    "b": 50
  },
  "hsl": {
    "h": 94.167,
    "s": 41.86,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53227,
    "c": 0.11167,
    "h": 133.6
  },
  "luminance": 0.15899
}

Semantic roles & 50–950 ramp

primary
#517A32
secondary
#8960A8
accent
#56D29C
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0F07
muted
#7C7E7A

Preview Lab

Preview with #517A32

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

Preview Lab → · Contrast checker → · Palette generator →

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