#517845#517845

#517845 is a mid, moderate green. Relative luminance 0.156; OKLCH L 53.0% C 0.088 H 138.6°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#517845
RGBrgb(81, 120, 69)
HSLhsl(106, 27%, 37%)
HSVhsv(106, 43%, 47%)
CMYKcmyk(32.5%, 0%, 42.5%, 52.9%)
CIE-LABlab(46.46, -24.22, 23.74)
CIE-LCHlch(46.46, 33.91, 135.57°)
OKLaboklab(53% -0.0662 0.0584)
OKLCHoklch(53% 0.088 138.6)
XYZxyz(11.1836, 15.6115, 8.0531)
Luminance0.1561 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517845 #6C4578
analogous
#6B7845 #517845 #457853
triadic
#517845 #455178 #784551
tetradic
#517845 #456B78 #6C4578 #785345
square
#517845 #456B78 #6C4578 #785345
split-complementary
#517845 #534578 #78456B
monochromatic
#1D2A18 #37512F #517845 #6B9F5B #8EB681

Accessibility & contrast

On white

5.09
#517845 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#517845 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517845
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517845#FFFFFF#000000##FFFFFF
##5178451.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B7041
Deuteranopia (green-blind)
#756D48
Tritanopia (blue-blind)
#4F756B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #517845;
/* rgb */ color: rgb(81, 120, 69);
/* oklch */ color: oklch(53.0% 0.088 138.6);
Tailwind
colors: {
  custom: {
    50: '#839f79',
    500: '#517845',
    950: '#000000',
  },
}
SCSS
$custom: #517845;
$custom-light: #839f79;
$custom-dark: #000000;
JSON
{
  "hex": "#517845",
  "rgb": {
    "r": 81,
    "g": 120,
    "b": 69
  },
  "hsl": {
    "h": 105.882,
    "s": 26.984,
    "l": 37.059
  },
  "oklch": {
    "l": 0.53004,
    "c": 0.0883,
    "h": 138.6
  },
  "luminance": 0.15612
}

Semantic roles & 50–950 ramp

primary
#517845
secondary
#9877A2
accent
#64C3AD
background
#F8F9F7
surface
#EFF2ED
border
#CACCC8
text
#0B0E09
muted
#7C7E7B

Preview Lab

Preview with #517845

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

Preview Lab → · Contrast checker → · Palette generator →

#517845 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva