#317B4E#317B4E

#317B4E is a mid, moderate green. Relative luminance 0.154; OKLCH L 52.4% C 0.103 H 154.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#317B4E
RGBrgb(49, 123, 78)
HSLhsl(144, 43%, 34%)
HSVhsv(144, 60%, 48%)
CMYKcmyk(60.2%, 0%, 36.6%, 51.8%)
CIE-LABlab(46.13, -33.97, 17.93)
CIE-LCHlch(46.13, 38.41, 152.18°)
OKLaboklab(52.39% -0.0922 0.045)
OKLCHoklch(52.39% 0.103 154)
XYZxyz(9.7240, 15.3680, 9.6601)
Luminance0.1537 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317B4E #7B315E
analogous
#397B31 #317B4E #317B73
triadic
#317B4E #4E317B #7B4E31
tetradic
#317B4E #31397B #7B315E #7B7331
square
#317B4E #31397B #7B315E #7B7331
split-complementary
#317B4E #73317B #7B3139
monochromatic
#0E2316 #204F32 #317B4E #42A76A #65C289

Accessibility & contrast

On white

5.15
#317B4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#317B4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317B4E
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317B4E#FFFFFF#000000##FFFFFF
##317B4E1.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B724B
Deuteranopia (green-blind)
#716A51
Tritanopia (blue-blind)
#197A6F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #317b4e;
/* rgb */ color: rgb(49, 123, 78);
/* oklch */ color: oklch(52.4% 0.103 154.0);
Tailwind
colors: {
  custom: {
    50: '#70a280',
    500: '#317b4e',
    950: '#000000',
  },
}
SCSS
$custom: #317b4e;
$custom-light: #70a280;
$custom-dark: #000000;
JSON
{
  "hex": "#317b4e",
  "rgb": {
    "r": 49,
    "g": 123,
    "b": 78
  },
  "hsl": {
    "h": 143.514,
    "s": 43.023,
    "l": 33.725
  },
  "oklch": {
    "l": 0.5239,
    "c": 0.10261,
    "h": 154
  },
  "luminance": 0.15369
}

Semantic roles & 50–950 ramp

primary
#317B4E
secondary
#A95F8C
accent
#55A1D3
background
#F7FAF7
surface
#EDF3EE
border
#C8CDC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #317B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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