#517C2D#517C2D

#517C2D is a mid, moderate yellow-green. Relative luminance 0.164; OKLCH L 53.7% C 0.119 H 133.2°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#517C2D
RGBrgb(81, 124, 45)
HSLhsl(93, 47%, 33%)
HSVhsv(93, 64%, 49%)
CMYKcmyk(34.7%, 0%, 63.7%, 51.4%)
CIE-LABlab(47.44, -29.22, 37.49)
CIE-LCHlch(47.44, 47.53, 127.93°)
OKLaboklab(53.69% -0.0815 0.087)
OKLCHoklch(53.69% 0.119 133.2)
XYZxyz(11.0745, 16.3537, 5.0552)
Luminance0.1635 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517C2D #582D7C
analogous
#787C2D #517C2D #2D7C30
triadic
#517C2D #2D517C #7C2D51
tetradic
#517C2D #2D787C #582D7C #7C302D
square
#517C2D #2D787C #582D7C #7C302D
split-complementary
#517C2D #302D7C #7C2D78
monochromatic
#16220C #344F1D #517C2D #6EA93D #8DC55F

Accessibility & contrast

On white

4.92
#517C2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#517C2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517C2D
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517C2D#FFFFFF#000000##FFFFFF
##517C2D1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817324
Deuteranopia (green-blind)
#7B6F33
Tritanopia (blue-blind)
#51776B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #517c2d;
/* rgb */ color: rgb(81, 124, 45);
/* oklch */ color: oklch(53.7% 0.119 133.2);
Tailwind
colors: {
  custom: {
    50: '#85a269',
    500: '#517c2d',
    950: '#000000',
  },
}
SCSS
$custom: #517c2d;
$custom-light: #85a269;
$custom-dark: #000000;
JSON
{
  "hex": "#517c2d",
  "rgb": {
    "r": 81,
    "g": 124,
    "b": 45
  },
  "hsl": {
    "h": 92.658,
    "s": 46.746,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53693,
    "c": 0.11921,
    "h": 133.2
  },
  "luminance": 0.16354
}

Semantic roles & 50–950 ramp

primary
#517C2D
secondary
#865AAB
accent
#51D69A
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #517C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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