#317D52#317D52

#317D52 is a mid, moderate green. Relative luminance 0.159; OKLCH L 53.0% C 0.102 H 155.6°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#317D52
RGBrgb(49, 125, 82)
HSLhsl(146, 44%, 34%)
HSVhsv(146, 61%, 49%)
CMYKcmyk(60.8%, 0%, 34.4%, 51%)
CIE-LABlab(46.88, -34.03, 16.64)
CIE-LCHlch(46.88, 37.88, 153.95°)
OKLaboklab(53.03% -0.0925 0.042)
OKLCHoklch(53.03% 0.102 155.6)
XYZxyz(10.1224, 15.9284, 10.5221)
Luminance0.1593 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317D52 #7D315C
analogous
#367D31 #317D52 #317D78
triadic
#317D52 #52317D #7D5231
tetradic
#317D52 #31367D #7D315C #7D7831
square
#317D52 #31367D #7D315C #7D7831
split-complementary
#317D52 #78317D #7D3136
monochromatic
#0F2518 #205135 #317D52 #42A96F #66C38E

Accessibility & contrast

On white

5.02
#317D52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#317D52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317D52
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317D52#FFFFFF#000000##FFFFFF
##317D521.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C744F
Deuteranopia (green-blind)
#726C55
Tritanopia (blue-blind)
#157C72
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #317d52;
/* rgb */ color: rgb(49, 125, 82);
/* oklch */ color: oklch(53.0% 0.102 155.6);
Tailwind
colors: {
  custom: {
    50: '#71a383',
    500: '#317d52',
    950: '#000000',
  },
}
SCSS
$custom: #317d52;
$custom-light: #71a383;
$custom-dark: #000000;
JSON
{
  "hex": "#317d52",
  "rgb": {
    "r": 49,
    "g": 125,
    "b": 82
  },
  "hsl": {
    "h": 146.053,
    "s": 43.678,
    "l": 34.118
  },
  "oklch": {
    "l": 0.53027,
    "c": 0.10161,
    "h": 155.6
  },
  "luminance": 0.15929
}

Semantic roles & 50–950 ramp

primary
#317D52
secondary
#AA608A
accent
#549CD3
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #317D52

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

Preview Lab → · Contrast checker → · Palette generator →

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