#317D4E#317D4E

#317D4E is a mid, moderate green. Relative luminance 0.159; OKLCH L 52.9% C 0.106 H 153.5°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#317D4E
RGBrgb(49, 125, 78)
HSLhsl(143, 44%, 34%)
HSVhsv(143, 61%, 49%)
CMYKcmyk(60.8%, 0%, 37.6%, 51%)
CIE-LABlab(46.80, -34.86, 18.82)
CIE-LCHlch(46.80, 39.62, 151.63°)
OKLaboklab(52.94% -0.0945 0.0472)
OKLCHoklch(52.94% 0.106 153.5)
XYZxyz(9.9746, 15.8693, 9.7437)
Luminance0.1587 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317D4E #7D3160
analogous
#3A7D31 #317D4E #317D74
triadic
#317D4E #4E317D #7D4E31
tetradic
#317D4E #313A7D #7D3160 #7D7431
square
#317D4E #313A7D #7D3160 #7D7431
split-complementary
#317D4E #74317D #7D313A
monochromatic
#0F2517 #205133 #317D4E #42A969 #66C389

Accessibility & contrast

On white

5.03
#317D4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#317D4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317D4E
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317D4E#FFFFFF#000000##FFFFFF
##317D4E1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D734B
Deuteranopia (green-blind)
#736C51
Tritanopia (blue-blind)
#187B71
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #317d4e;
/* rgb */ color: rgb(49, 125, 78);
/* oklch */ color: oklch(52.9% 0.106 153.5);
Tailwind
colors: {
  custom: {
    50: '#71a380',
    500: '#317d4e',
    950: '#000000',
  },
}
SCSS
$custom: #317d4e;
$custom-light: #71a380;
$custom-dark: #000000;
JSON
{
  "hex": "#317d4e",
  "rgb": {
    "r": 49,
    "g": 125,
    "b": 78
  },
  "hsl": {
    "h": 142.895,
    "s": 43.678,
    "l": 34.118
  },
  "oklch": {
    "l": 0.52938,
    "c": 0.10565,
    "h": 153.5
  },
  "luminance": 0.1587
}

Semantic roles & 50–950 ramp

primary
#317D4E
secondary
#AA608E
accent
#54A3D3
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #317D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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