#317F4E#317F4E

#317F4E is a mid, moderate green. Relative luminance 0.164; OKLCH L 53.5% C 0.109 H 153.0°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#317F4E
RGBrgb(49, 127, 78)
HSLhsl(142, 44%, 35%)
HSVhsv(142, 61%, 50%)
CMYKcmyk(61.4%, 0%, 38.6%, 50.2%)
CIE-LABlab(47.47, -35.74, 19.71)
CIE-LCHlch(47.47, 40.81, 151.12°)
OKLaboklab(53.49% -0.0968 0.0493)
OKLCHoklch(53.49% 0.109 153)
XYZxyz(10.2303, 16.3808, 9.8289)
Luminance0.1638 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317F4E #7F3162
analogous
#3B7F31 #317F4E #317F75
triadic
#317F4E #4E317F #7F4E31
tetradic
#317F4E #313B7F #7F3162 #7F7531
square
#317F4E #313B7F #7F3162 #7F7531
split-complementary
#317F4E #75317F #7F313B
monochromatic
#0F2718 #205333 #317F4E #42AB69 #66C489

Accessibility & contrast

On white

4.91
#317F4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#317F4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317F4E
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317F4E#FFFFFF#000000##FFFFFF
##317F4E1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F754B
Deuteranopia (green-blind)
#756E51
Tritanopia (blue-blind)
#177D73
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #317f4e;
/* rgb */ color: rgb(49, 127, 78);
/* oklch */ color: oklch(53.5% 0.109 153.0);
Tailwind
colors: {
  custom: {
    50: '#71a580',
    500: '#317f4e',
    950: '#000000',
  },
}
SCSS
$custom: #317f4e;
$custom-light: #71a580;
$custom-dark: #000000;
JSON
{
  "hex": "#317f4e",
  "rgb": {
    "r": 49,
    "g": 127,
    "b": 78
  },
  "hsl": {
    "h": 142.308,
    "s": 44.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.53485,
    "c": 0.10866,
    "h": 153
  },
  "luminance": 0.16382
}

Semantic roles & 50–950 ramp

primary
#317F4E
secondary
#AB6090
accent
#54A4D4
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #317F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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