#517B45#517B45

#517B45 is a mid, moderate green. Relative luminance 0.163; OKLCH L 53.8% C 0.093 H 138.9°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#517B45
RGBrgb(81, 123, 69)
HSLhsl(107, 28%, 38%)
HSVhsv(107, 44%, 48%)
CMYKcmyk(34.1%, 0%, 43.9%, 51.8%)
CIE-LABlab(47.42, -25.72, 24.98)
CIE-LCHlch(47.42, 35.85, 135.84°)
OKLaboklab(53.78% -0.0703 0.0613)
OKLCHoklch(53.78% 0.093 138.9)
XYZxyz(11.5501, 16.3444, 8.1753)
Luminance0.1635 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517B45 #6F457B
analogous
#6C7B45 #517B45 #457B54
triadic
#517B45 #45517B #7B4551
tetradic
#517B45 #456C7B #6F457B #7B5445
square
#517B45 #456C7B #6F457B #7B5445
split-complementary
#517B45 #54457B #7B456C
monochromatic
#1D2D19 #37542F #517B45 #6BA25B #8EB982

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##517B45#FFFFFF#000000##FFFFFF
##517B451.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)
#7E7341
Deuteranopia (green-blind)
#786F48
Tritanopia (blue-blind)
#4F786E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #517b45;
/* rgb */ color: rgb(81, 123, 69);
/* oklch */ color: oklch(53.8% 0.093 138.9);
Tailwind
colors: {
  custom: {
    50: '#84a179',
    500: '#517b45',
    950: '#000000',
  },
}
SCSS
$custom: #517b45;
$custom-light: #84a179;
$custom-dark: #000000;
JSON
{
  "hex": "#517b45",
  "rgb": {
    "r": 81,
    "g": 123,
    "b": 69
  },
  "hsl": {
    "h": 106.667,
    "s": 28.125,
    "l": 37.647
  },
  "oklch": {
    "l": 0.53784,
    "c": 0.09327,
    "h": 138.9
  },
  "luminance": 0.16345
}

Semantic roles & 50–950 ramp

primary
#517B45
secondary
#9A78A4
accent
#63C4AF
background
#F8F9F7
surface
#EFF2ED
border
#CACCC8
text
#0B0F09
muted
#7C7E7B

Preview Lab

Preview with #517B45

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

Preview Lab → · Contrast checker → · Palette generator →

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