#517D30#517D30

#517D30 is a mid, moderate yellow-green. Relative luminance 0.166; OKLCH L 54.0% C 0.118 H 133.9°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#517D30
RGBrgb(81, 125, 48)
HSLhsl(94, 45%, 34%)
HSVhsv(94, 62%, 49%)
CMYKcmyk(35.2%, 0%, 61.6%, 51%)
CIE-LABlab(47.79, -29.39, 36.45)
CIE-LCHlch(47.79, 46.82, 128.88°)
OKLaboklab(53.99% -0.0818 0.0851)
OKLCHoklch(53.99% 0.118 133.9)
XYZxyz(11.2602, 16.6295, 5.4123)
Luminance0.1663 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517D30 #5C307D
analogous
#787D30 #517D30 #307D36
triadic
#517D30 #30517D #7D3051
tetradic
#517D30 #30787D #5C307D #7D3630
square
#517D30 #30787D #5C307D #7D3630
split-complementary
#517D30 #36307D #7D3078
monochromatic
#18250E #34511F #517D30 #6EA941 #8DC364

Accessibility & contrast

On white

4.85
#517D30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#517D30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517D30
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517D30#FFFFFF#000000##FFFFFF
##517D301.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827428
Deuteranopia (green-blind)
#7C7036
Tritanopia (blue-blind)
#51786C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #517d30;
/* rgb */ color: rgb(81, 125, 48);
/* oklch */ color: oklch(54.0% 0.118 133.9);
Tailwind
colors: {
  custom: {
    50: '#85a36b',
    500: '#517d30',
    950: '#000000',
  },
}
SCSS
$custom: #517d30;
$custom-light: #85a36b;
$custom-dark: #000000;
JSON
{
  "hex": "#517d30",
  "rgb": {
    "r": 81,
    "g": 125,
    "b": 48
  },
  "hsl": {
    "h": 94.286,
    "s": 44.509,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53992,
    "c": 0.118,
    "h": 133.9
  },
  "luminance": 0.1663
}

Semantic roles & 50–950 ramp

primary
#517D30
secondary
#8A5EAB
accent
#54D49D
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #517D30

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

Preview Lab → · Contrast checker → · Palette generator →

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