#317D47#317D47

#317D47 is a mid, moderate green. Relative luminance 0.158; OKLCH L 52.8% C 0.113 H 150.3°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#317D47
RGBrgb(49, 125, 71)
HSLhsl(137, 44%, 34%)
HSVhsv(137, 61%, 49%)
CMYKcmyk(60.8%, 0%, 43.2%, 51%)
CIE-LABlab(46.68, -36.20, 22.61)
CIE-LCHlch(46.68, 42.69, 148.01°)
OKLaboklab(52.79% -0.0979 0.056)
OKLCHoklch(52.79% 0.113 150.3)
XYZxyz(9.7369, 15.7742, 8.4916)
Luminance0.1578 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317D47 #7D3167
analogous
#417D31 #317D47 #317D6D
triadic
#317D47 #47317D #7D4731
tetradic
#317D47 #31417D #7D3167 #7D6D31
square
#317D47 #31417D #7D3167 #7D6D31
split-complementary
#317D47 #6D317D #7D3141
monochromatic
#0F2515 #20512E #317D47 #42A960 #66C381

Accessibility & contrast

On white

5.05
#317D47 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#317D47 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317D47
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317D47#FFFFFF#000000##FFFFFF
##317D471.005.054.155.05
#FFFFFF5.051.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7343
Deuteranopia (green-blind)
#746C4B
Tritanopia (blue-blind)
#1C7B70
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #317d47;
/* rgb */ color: rgb(49, 125, 71);
/* oklch */ color: oklch(52.8% 0.113 150.3);
Tailwind
colors: {
  custom: {
    50: '#71a37b',
    500: '#317d47',
    950: '#000000',
  },
}
SCSS
$custom: #317d47;
$custom-light: #71a37b;
$custom-dark: #000000;
JSON
{
  "hex": "#317d47",
  "rgb": {
    "r": 49,
    "g": 125,
    "b": 71
  },
  "hsl": {
    "h": 137.368,
    "s": 43.678,
    "l": 34.118
  },
  "oklch": {
    "l": 0.52793,
    "c": 0.11279,
    "h": 150.3
  },
  "luminance": 0.15775
}

Semantic roles & 50–950 ramp

primary
#317D47
secondary
#AA6095
accent
#54AFD3
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #317D47

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

Preview Lab → · Contrast checker → · Palette generator →

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