#317E4D#317E4D

#317E4D is a mid, moderate green. Relative luminance 0.161; OKLCH L 53.2% C 0.108 H 152.8°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#317E4D
RGBrgb(49, 126, 77)
HSLhsl(142, 44%, 34%)
HSVhsv(142, 61%, 49%)
CMYKcmyk(61.1%, 0%, 38.9%, 50.6%)
CIE-LABlab(47.12, -35.50, 19.81)
CIE-LCHlch(47.12, 40.65, 150.83°)
OKLaboklab(53.19% -0.0962 0.0495)
OKLCHoklch(53.19% 0.108 152.8)
XYZxyz(10.0662, 16.1095, 9.5987)
Luminance0.1611 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317E4D #7E3162
analogous
#3C7E31 #317E4D #317E74
triadic
#317E4D #4D317E #7E4D31
tetradic
#317E4D #313C7E #7E3162 #7E7431
square
#317E4D #313C7E #7E3162 #7E7431
split-complementary
#317E4D #74317E #7E313C
monochromatic
#0F2617 #205232 #317E4D #42AA68 #66C388

Accessibility & contrast

On white

4.97
#317E4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#317E4D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317E4D
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317E4D#FFFFFF#000000##FFFFFF
##317E4D1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E744A
Deuteranopia (green-blind)
#746D50
Tritanopia (blue-blind)
#187C72
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #317e4d;
/* rgb */ color: rgb(49, 126, 77);
/* oklch */ color: oklch(53.2% 0.108 152.8);
Tailwind
colors: {
  custom: {
    50: '#71a47f',
    500: '#317e4d',
    950: '#000000',
  },
}
SCSS
$custom: #317e4d;
$custom-light: #71a47f;
$custom-dark: #000000;
JSON
{
  "hex": "#317e4d",
  "rgb": {
    "r": 49,
    "g": 126,
    "b": 77
  },
  "hsl": {
    "h": 141.818,
    "s": 44,
    "l": 34.314
  },
  "oklch": {
    "l": 0.5319,
    "c": 0.10817,
    "h": 152.8
  },
  "luminance": 0.1611
}

Semantic roles & 50–950 ramp

primary
#317E4D
secondary
#AB6090
accent
#54A5D4
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #317E4D

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

Preview Lab → · Contrast checker → · Palette generator →

#317E4D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva