#517E2E#517E2E

#517E2E is a mid, vivid yellow-green. Relative luminance 0.169; OKLCH L 54.2% C 0.121 H 133.7°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#517E2E
RGBrgb(81, 126, 46)
HSLhsl(94, 47%, 34%)
HSVhsv(94, 63%, 49%)
CMYKcmyk(35.7%, 0%, 63.5%, 50.6%)
CIE-LABlab(48.09, -30.06, 37.75)
CIE-LCHlch(48.09, 48.26, 128.54°)
OKLaboklab(54.23% -0.0838 0.0876)
OKLCHoklch(54.23% 0.121 133.7)
XYZxyz(11.3471, 16.8678, 5.2422)
Luminance0.1687 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517E2E #5B2E7E
analogous
#797E2E #517E2E #2E7E33
triadic
#517E2E #2E517E #7E2E51
tetradic
#517E2E #2E797E #5B2E7E #7E332E
square
#517E2E #2E797E #5B2E7E #7E332E
split-complementary
#517E2E #332E7E #7E2E79
monochromatic
#17240D #34511E #517E2E #6EAB3E #8DC561

Accessibility & contrast

On white

4.80
#517E2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#517E2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517E2E
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517E2E#FFFFFF#000000##FFFFFF
##517E2E1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837425
Deuteranopia (green-blind)
#7D7134
Tritanopia (blue-blind)
#51796D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #517e2e;
/* rgb */ color: rgb(81, 126, 46);
/* oklch */ color: oklch(54.2% 0.121 133.7);
Tailwind
colors: {
  custom: {
    50: '#85a36a',
    500: '#517e2e',
    950: '#000000',
  },
}
SCSS
$custom: #517e2e;
$custom-light: #85a36a;
$custom-dark: #000000;
JSON
{
  "hex": "#517e2e",
  "rgb": {
    "r": 81,
    "g": 126,
    "b": 46
  },
  "hsl": {
    "h": 93.75,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54232,
    "c": 0.12124,
    "h": 133.7
  },
  "luminance": 0.16868
}

Semantic roles & 50–950 ramp

primary
#517E2E
secondary
#895CAC
accent
#52D69C
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #517E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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