#517D2C#517D2C

#517D2C is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 53.9% C 0.122 H 133.2°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#517D2C
RGBrgb(81, 125, 44)
HSLhsl(93, 48%, 33%)
HSVhsv(93, 65%, 49%)
CMYKcmyk(35.2%, 0%, 64.8%, 51%)
CIE-LABlab(47.75, -29.79, 38.31)
CIE-LCHlch(47.75, 48.53, 127.87°)
OKLaboklab(53.95% -0.0832 0.0886)
OKLCHoklch(53.95% 0.122 133.2)
XYZxyz(11.1814, 16.5980, 4.9970)
Luminance0.1660 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517D2C #582C7D
analogous
#797D2C #517D2C #2C7D30
triadic
#517D2C #2C517D #7D2C51
tetradic
#517D2C #2C797D #582C7D #7D302C
square
#517D2C #2C797D #582C7D #7D302C
split-complementary
#517D2C #302C7D #7D2C79
monochromatic
#16220C #34501C #517D2C #6EAA3C #8DC65D

Accessibility & contrast

On white

4.86
#517D2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#517D2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517D2C
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517D2C#FFFFFF#000000##FFFFFF
##517D2C1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #517d2c;
/* rgb */ color: rgb(81, 125, 44);
/* oklch */ color: oklch(53.9% 0.122 133.2);
Tailwind
colors: {
  custom: {
    50: '#85a369',
    500: '#517d2c',
    950: '#000000',
  },
}
SCSS
$custom: #517d2c;
$custom-light: #85a369;
$custom-dark: #000000;
JSON
{
  "hex": "#517d2c",
  "rgb": {
    "r": 81,
    "g": 125,
    "b": 44
  },
  "hsl": {
    "h": 92.593,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53946,
    "c": 0.12152,
    "h": 133.2
  },
  "luminance": 0.16598
}

Semantic roles & 50–950 ramp

primary
#517D2C
secondary
#8659AC
accent
#50D89A
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #517D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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