#317E48#317E48

#317E48 is a mid, moderate green. Relative luminance 0.160; OKLCH L 53.1% C 0.113 H 150.5°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#317E48
RGBrgb(49, 126, 72)
HSLhsl(138, 44%, 34%)
HSVhsv(138, 61%, 49%)
CMYKcmyk(61.1%, 0%, 42.9%, 50.6%)
CIE-LABlab(47.03, -36.45, 22.51)
CIE-LCHlch(47.03, 42.84, 148.30°)
OKLaboklab(53.09% -0.0986 0.0557)
OKLCHoklch(53.09% 0.113 150.5)
XYZxyz(9.8964, 16.0416, 8.7044)
Luminance0.1604 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317E48 #7E3167
analogous
#417E31 #317E48 #317E6F
triadic
#317E48 #48317E #7E4831
tetradic
#317E48 #31417E #7E3167 #7E6F31
square
#317E48 #31417E #7E3167 #7E6F31
split-complementary
#317E48 #6F317E #7E3141
monochromatic
#0F2616 #20522F #317E48 #42AA61 #66C382

Accessibility & contrast

On white

4.99
#317E48 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#317E48 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317E48
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317E48#FFFFFF#000000##FFFFFF
##317E481.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7444
Deuteranopia (green-blind)
#746D4C
Tritanopia (blue-blind)
#1B7C71
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #317e48;
/* rgb */ color: rgb(49, 126, 72);
/* oklch */ color: oklch(53.1% 0.113 150.5);
Tailwind
colors: {
  custom: {
    50: '#71a47b',
    500: '#317e48',
    950: '#000000',
  },
}
SCSS
$custom: #317e48;
$custom-light: #71a47b;
$custom-dark: #000000;
JSON
{
  "hex": "#317e48",
  "rgb": {
    "r": 49,
    "g": 126,
    "b": 72
  },
  "hsl": {
    "h": 137.922,
    "s": 44,
    "l": 34.314
  },
  "oklch": {
    "l": 0.53088,
    "c": 0.11327,
    "h": 150.5
  },
  "luminance": 0.16043
}

Semantic roles & 50–950 ramp

primary
#317E48
secondary
#AB6094
accent
#54AED4
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #317E48

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

Preview Lab → · Contrast checker → · Palette generator →

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