#317B52#317B52

#317B52 is a mid, moderate green. Relative luminance 0.154; OKLCH L 52.5% C 0.099 H 156.2°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#317B52
RGBrgb(49, 123, 82)
HSLhsl(147, 43%, 34%)
HSVhsv(147, 60%, 48%)
CMYKcmyk(60.2%, 0%, 33.3%, 51.8%)
CIE-LABlab(46.21, -33.13, 15.73)
CIE-LCHlch(46.21, 36.68, 154.60°)
OKLaboklab(52.48% -0.0902 0.0398)
OKLCHoklch(52.48% 0.099 156.2)
XYZxyz(9.8717, 15.4271, 10.4385)
Luminance0.1543 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317B52 #7B315A
analogous
#357B31 #317B52 #317B77
triadic
#317B52 #52317B #7B5231
tetradic
#317B52 #31357B #7B315A #7B7731
square
#317B52 #31357B #7B315A #7B7731
split-complementary
#317B52 #77317B #7B3135
monochromatic
#0E2318 #204F35 #317B52 #42A76F #65C28E

Accessibility & contrast

On white

5.14
#317B52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#317B52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317B52
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317B52#FFFFFF#000000##FFFFFF
##317B521.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A724F
Deuteranopia (green-blind)
#706B55
Tritanopia (blue-blind)
#167A70
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #317b52;
/* rgb */ color: rgb(49, 123, 82);
/* oklch */ color: oklch(52.5% 0.099 156.2);
Tailwind
colors: {
  custom: {
    50: '#70a283',
    500: '#317b52',
    950: '#000000',
  },
}
SCSS
$custom: #317b52;
$custom-light: #70a283;
$custom-dark: #000000;
JSON
{
  "hex": "#317b52",
  "rgb": {
    "r": 49,
    "g": 123,
    "b": 82
  },
  "hsl": {
    "h": 146.757,
    "s": 43.023,
    "l": 33.725
  },
  "oklch": {
    "l": 0.52481,
    "c": 0.09859,
    "h": 156.2
  },
  "luminance": 0.15428
}

Semantic roles & 50–950 ramp

primary
#317B52
secondary
#A95F88
accent
#559BD3
background
#F7FAF8
surface
#EDF3EF
border
#C8CDCA
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #317B52

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

Preview Lab → · Contrast checker → · Palette generator →

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