#517342#517342

#517342 is a mid, moderate green. Relative luminance 0.144; OKLCH L 51.6% C 0.083 H 136.6°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#517342
RGBrgb(81, 115, 66)
HSLhsl(102, 27%, 35%)
HSVhsv(102, 43%, 45%)
CMYKcmyk(29.6%, 0%, 42.6%, 54.9%)
CIE-LABlab(44.81, -22.13, 23.30)
CIE-LCHlch(44.81, 32.13, 133.53°)
OKLaboklab(51.65% -0.0606 0.0573)
OKLCHoklch(51.65% 0.083 136.6)
XYZxyz(10.5072, 14.4038, 7.3798)
Luminance0.1440 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517342 #644273
analogous
#697342 #517342 #42734B
triadic
#517342 #425173 #734251
tetradic
#517342 #426973 #644273 #734B42
square
#517342 #426973 #644273 #734B42
split-complementary
#517342 #4B4273 #734269
monochromatic
#1A2515 #364C2C #517342 #6C9A58 #8DB47C

Accessibility & contrast

On white

5.41
#517342 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#517342 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517342
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517342#FFFFFF#000000##FFFFFF
##5173421.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766C3E
Deuteranopia (green-blind)
#716945
Tritanopia (blue-blind)
#507067
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #517342;
/* rgb */ color: rgb(81, 115, 66);
/* oklch */ color: oklch(51.6% 0.083 136.6);
Tailwind
colors: {
  custom: {
    50: '#839b77',
    500: '#517342',
    950: '#000000',
  },
}
SCSS
$custom: #517342;
$custom-light: #839b77;
$custom-dark: #000000;
JSON
{
  "hex": "#517342",
  "rgb": {
    "r": 81,
    "g": 115,
    "b": 66
  },
  "hsl": {
    "h": 101.633,
    "s": 27.072,
    "l": 35.49
  },
  "oklch": {
    "l": 0.5165,
    "c": 0.08336,
    "h": 136.6
  },
  "luminance": 0.14404
}

Semantic roles & 50–950 ramp

primary
#517342
secondary
#91729F
accent
#64C3A6
background
#F8F9F7
surface
#EFF2ED
border
#CACCC8
text
#0B0E08
muted
#7C7E7B

Preview Lab

Preview with #517342

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

Preview Lab → · Contrast checker → · Palette generator →

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