#317F37#317F37

#317F37 is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.1% C 0.132 H 144.8°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#317F37
RGBrgb(49, 127, 55)
HSLhsl(125, 44%, 35%)
HSVhsv(125, 61%, 50%)
CMYKcmyk(61.4%, 0%, 56.7%, 50.2%)
CIE-LABlab(47.11, -39.64, 31.79)
CIE-LCHlch(47.11, 50.81, 141.27°)
OKLaboklab(53.08% -0.1074 0.0759)
OKLCHoklch(53.08% 0.132 144.8)
XYZxyz(9.5450, 16.1067, 6.2196)
Luminance0.1611 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317F37 #7F3179
analogous
#527F31 #317F37 #317F5E
triadic
#317F37 #37317F #7F3731
tetradic
#317F37 #31527F #7F3179 #7F5E31
square
#317F37 #31527F #7F3179 #7F5E31
split-complementary
#317F37 #5E317F #7F3152
monochromatic
#0F2711 #205324 #317F37 #42AB4A #66C46E

Accessibility & contrast

On white

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

On black

4.22
#317F37 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##317F37#FFFFFF#000000##FFFFFF
##317F371.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817430
Deuteranopia (green-blind)
#776D3C
Tritanopia (blue-blind)
#217C6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #317f37;
/* rgb */ color: rgb(49, 127, 55);
/* oklch */ color: oklch(53.1% 0.132 144.8);
Tailwind
colors: {
  custom: {
    50: '#72a570',
    500: '#317f37',
    950: '#000000',
  },
}
SCSS
$custom: #317f37;
$custom-light: #72a570;
$custom-dark: #000000;
JSON
{
  "hex": "#317f37",
  "rgb": {
    "r": 49,
    "g": 127,
    "b": 55
  },
  "hsl": {
    "h": 124.615,
    "s": 44.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.53076,
    "c": 0.13153,
    "h": 144.8
  },
  "luminance": 0.16108
}

Semantic roles & 50–950 ramp

primary
#317F37
secondary
#AB60A6
accent
#54CAD4
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #317F37

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

Preview Lab → · Contrast checker → · Palette generator →

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