#317E45#317E45

#317E45 is a mid, moderate green. Relative luminance 0.160; OKLCH L 53.0% C 0.116 H 149.3°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#317E45
RGBrgb(49, 126, 69)
HSLhsl(136, 44%, 34%)
HSVhsv(136, 61%, 49%)
CMYKcmyk(61.1%, 0%, 45.2%, 50.6%)
CIE-LABlab(46.98, -36.99, 24.12)
CIE-LCHlch(46.98, 44.16, 146.90°)
OKLaboklab(53.03% -0.1 0.0594)
OKLCHoklch(53.03% 0.116 149.3)
XYZxyz(9.8010, 16.0034, 8.2015)
Luminance0.1600 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317E45 #7E316A
analogous
#447E31 #317E45 #317E6C
triadic
#317E45 #45317E #7E4531
tetradic
#317E45 #31447E #7E316A #7E6C31
square
#317E45 #31447E #7E316A #7E6C31
split-complementary
#317E45 #6C317E #7E3144
monochromatic
#0F2615 #20522D #317E45 #42AA5D #66C37E

Accessibility & contrast

On white

5.00
#317E45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#317E45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317E45
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317E45#FFFFFF#000000##FFFFFF
##317E451.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7441
Deuteranopia (green-blind)
#756D49
Tritanopia (blue-blind)
#1C7C70
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #317e45;
/* rgb */ color: rgb(49, 126, 69);
/* oklch */ color: oklch(53.0% 0.116 149.3);
Tailwind
colors: {
  custom: {
    50: '#71a479',
    500: '#317e45',
    950: '#000000',
  },
}
SCSS
$custom: #317e45;
$custom-light: #71a479;
$custom-dark: #000000;
JSON
{
  "hex": "#317e45",
  "rgb": {
    "r": 49,
    "g": 126,
    "b": 69
  },
  "hsl": {
    "h": 135.584,
    "s": 44,
    "l": 34.314
  },
  "oklch": {
    "l": 0.53031,
    "c": 0.11634,
    "h": 149.3
  },
  "luminance": 0.16004
}

Semantic roles & 50–950 ramp

primary
#317E45
secondary
#AB6097
accent
#54B3D4
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #317E45

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

Preview Lab → · Contrast checker → · Palette generator →

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