#317E52#317E52

#317E52 is a mid, moderate green. Relative luminance 0.162; OKLCH L 53.3% C 0.103 H 155.3°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#317E52
RGBrgb(49, 126, 82)
HSLhsl(146, 44%, 34%)
HSVhsv(146, 61%, 49%)
CMYKcmyk(61.1%, 0%, 34.9%, 50.6%)
CIE-LABlab(47.21, -34.48, 17.09)
CIE-LCHlch(47.21, 38.48, 153.64°)
OKLaboklab(53.3% -0.0937 0.0431)
OKLCHoklch(53.3% 0.103 155.3)
XYZxyz(10.2496, 16.1829, 10.5645)
Luminance0.1618 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317E52 #7E315D
analogous
#377E31 #317E52 #317E79
triadic
#317E52 #52317E #7E5231
tetradic
#317E52 #31377E #7E315D #7E7931
square
#317E52 #31377E #7E315D #7E7931
split-complementary
#317E52 #79317E #7E3137
monochromatic
#0F2619 #205235 #317E52 #42AA6F #66C38E

Accessibility & contrast

On white

4.96
#317E52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#317E52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317E52
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317E52#FFFFFF#000000##FFFFFF
##317E521.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E744F
Deuteranopia (green-blind)
#736D55
Tritanopia (blue-blind)
#157D73
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #317e52;
/* rgb */ color: rgb(49, 126, 82);
/* oklch */ color: oklch(53.3% 0.103 155.3);
Tailwind
colors: {
  custom: {
    50: '#71a483',
    500: '#317e52',
    950: '#000000',
  },
}
SCSS
$custom: #317e52;
$custom-light: #71a483;
$custom-dark: #000000;
JSON
{
  "hex": "#317e52",
  "rgb": {
    "r": 49,
    "g": 126,
    "b": 82
  },
  "hsl": {
    "h": 145.714,
    "s": 44,
    "l": 34.314
  },
  "oklch": {
    "l": 0.533,
    "c": 0.10313,
    "h": 155.3
  },
  "luminance": 0.16184
}

Semantic roles & 50–950 ramp

primary
#317E52
secondary
#AB608B
accent
#549DD4
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #317E52

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

Preview Lab → · Contrast checker → · Palette generator →

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