#317B4B#317B4B

#317B4B is a mid, moderate green. Relative luminance 0.153; OKLCH L 52.3% C 0.106 H 152.4°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#317B4B
RGBrgb(49, 123, 75)
HSLhsl(141, 43%, 34%)
HSVhsv(141, 60%, 48%)
CMYKcmyk(60.2%, 0%, 39%, 51.8%)
CIE-LABlab(46.08, -34.57, 19.57)
CIE-LCHlch(46.08, 39.72, 150.49°)
OKLaboklab(52.33% -0.0937 0.0489)
OKLCHoklch(52.33% 0.106 152.4)
XYZxyz(9.6188, 15.3260, 9.1066)
Luminance0.1533 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317B4B #7B3161
analogous
#3C7B31 #317B4B #317B70
triadic
#317B4B #4B317B #7B4B31
tetradic
#317B4B #313C7B #7B3161 #7B7031
square
#317B4B #313C7B #7B3161 #7B7031
split-complementary
#317B4B #70317B #7B313C
monochromatic
#0E2316 #204F30 #317B4B #42A766 #65C285

Accessibility & contrast

On white

5.17
#317B4B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #317B4B
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317B4B#FFFFFF#000000##FFFFFF
##317B4B1.005.174.075.17
#FFFFFF5.171.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B7148
Deuteranopia (green-blind)
#716A4E
Tritanopia (blue-blind)
#1B796F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #317b4b;
/* rgb */ color: rgb(49, 123, 75);
/* oklch */ color: oklch(52.3% 0.106 152.4);
Tailwind
colors: {
  custom: {
    50: '#70a27d',
    500: '#317b4b',
    950: '#000000',
  },
}
SCSS
$custom: #317b4b;
$custom-light: #70a27d;
$custom-dark: #000000;
JSON
{
  "hex": "#317b4b",
  "rgb": {
    "r": 49,
    "g": 123,
    "b": 75
  },
  "hsl": {
    "h": 141.081,
    "s": 43.023,
    "l": 33.725
  },
  "oklch": {
    "l": 0.52325,
    "c": 0.10567,
    "h": 152.4
  },
  "luminance": 0.15327
}

Semantic roles & 50–950 ramp

primary
#317B4B
secondary
#A95F8F
accent
#55A7D3
background
#F7FAF7
surface
#EDF3EE
border
#C8CDC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #317B4B

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

Preview Lab → · Contrast checker → · Palette generator →

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