#317E4F#317E4F

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

Color values

HEX#317E4F
RGBrgb(49, 126, 79)
HSLhsl(143, 44%, 34%)
HSVhsv(143, 61%, 49%)
CMYKcmyk(61.1%, 0%, 37.3%, 50.6%)
CIE-LABlab(47.16, -35.10, 18.72)
CIE-LCHlch(47.16, 39.78, 151.92°)
OKLaboklab(53.23% -0.0952 0.0469)
OKLCHoklch(53.23% 0.106 153.8)
XYZxyz(10.1379, 16.1382, 9.9763)
Luminance0.1614 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317E4F #7E3160
analogous
#397E31 #317E4F #317E76
triadic
#317E4F #4F317E #7E4F31
tetradic
#317E4F #31397E #7E3160 #7E7631
square
#317E4F #31397E #7E3160 #7E7631
split-complementary
#317E4F #76317E #7E3139
monochromatic
#0F2618 #205233 #317E4F #42AA6B #66C38A

Accessibility & contrast

On white

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

On black

4.23
#317E4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##317E4F#FFFFFF#000000##FFFFFF
##317E4F1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E744C
Deuteranopia (green-blind)
#736D52
Tritanopia (blue-blind)
#177D72
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #317e4f;
/* rgb */ color: rgb(49, 126, 79);
/* oklch */ color: oklch(53.2% 0.106 153.8);
Tailwind
colors: {
  custom: {
    50: '#71a480',
    500: '#317e4f',
    950: '#000000',
  },
}
SCSS
$custom: #317e4f;
$custom-light: #71a480;
$custom-dark: #000000;
JSON
{
  "hex": "#317e4f",
  "rgb": {
    "r": 49,
    "g": 126,
    "b": 79
  },
  "hsl": {
    "h": 143.377,
    "s": 44,
    "l": 34.314
  },
  "oklch": {
    "l": 0.53233,
    "c": 0.10614,
    "h": 153.8
  },
  "luminance": 0.16139
}

Semantic roles & 50–950 ramp

primary
#317E4F
secondary
#AB608E
accent
#54A2D4
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #317E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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