#317F57#317F57

#317F57 is a mid, moderate green. Relative luminance 0.165; OKLCH L 53.7% C 0.100 H 157.9°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#317F57
RGBrgb(49, 127, 87)
HSLhsl(149, 44%, 35%)
HSVhsv(149, 61%, 50%)
CMYKcmyk(61.4%, 0%, 31.5%, 50.2%)
CIE-LABlab(47.65, -33.86, 14.80)
CIE-LCHlch(47.65, 36.95, 156.39°)
OKLaboklab(53.69% -0.0924 0.0375)
OKLCHoklch(53.69% 0.1 157.9)
XYZxyz(10.5754, 16.5188, 11.6461)
Luminance0.1652 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317F57 #7F3159
analogous
#327F31 #317F57 #317F7E
triadic
#317F57 #57317F #7F5731
tetradic
#317F57 #31327F #7F3159 #7F7E31
square
#317F57 #31327F #7F3159 #7F7E31
split-complementary
#317F57 #7E317F #7F3132
monochromatic
#0F271A #205339 #317F57 #42AB75 #66C494

Accessibility & contrast

On white

4.88
#317F57 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#317F57 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317F57
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317F57#FFFFFF#000000##FFFFFF
##317F571.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7655
Deuteranopia (green-blind)
#736E5A
Tritanopia (blue-blind)
#107E74
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #317f57;
/* rgb */ color: rgb(49, 127, 87);
/* oklch */ color: oklch(53.7% 0.100 157.9);
Tailwind
colors: {
  custom: {
    50: '#71a586',
    500: '#317f57',
    950: '#000000',
  },
}
SCSS
$custom: #317f57;
$custom-light: #71a586;
$custom-dark: #000000;
JSON
{
  "hex": "#317f57",
  "rgb": {
    "r": 49,
    "g": 127,
    "b": 87
  },
  "hsl": {
    "h": 149.231,
    "s": 44.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.53689,
    "c": 0.0997,
    "h": 157.9
  },
  "luminance": 0.1652
}

Semantic roles & 50–950 ramp

primary
#317F57
secondary
#AB6087
accent
#5496D4
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0B
muted
#7B7F7C

Preview Lab

Preview with #317F57

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

Preview Lab → · Contrast checker → · Palette generator →

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