#317A4E#317A4E

#317A4E is a mid, moderate green. Relative luminance 0.151; OKLCH L 52.1% C 0.101 H 154.2°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#317A4E
RGBrgb(49, 122, 78)
HSLhsl(144, 43%, 34%)
HSVhsv(144, 60%, 48%)
CMYKcmyk(59.8%, 0%, 36.1%, 52.2%)
CIE-LABlab(45.80, -33.52, 17.48)
CIE-LCHlch(45.80, 37.80, 152.46°)
OKLaboklab(52.12% -0.091 0.0439)
OKLCHoklch(52.12% 0.101 154.2)
XYZxyz(9.6005, 15.1212, 9.6190)
Luminance0.1512 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317A4E #7A315D
analogous
#387A31 #317A4E #317A72
triadic
#317A4E #4E317A #7A4E31
tetradic
#317A4E #31387A #7A315D #7A7231
square
#317A4E #31387A #7A315D #7A7231
split-complementary
#317A4E #72317A #7A3138
monochromatic
#0E2316 #1F4E32 #317A4E #43A66A #64C189

Accessibility & contrast

On white

5.22
#317A4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#317A4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317A4E
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317A4E#FFFFFF#000000##FFFFFF
##317A4E1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A714B
Deuteranopia (green-blind)
#706A51
Tritanopia (blue-blind)
#19796F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #317a4e;
/* rgb */ color: rgb(49, 122, 78);
/* oklch */ color: oklch(52.1% 0.101 154.2);
Tailwind
colors: {
  custom: {
    50: '#70a180',
    500: '#317a4e',
    950: '#000000',
  },
}
SCSS
$custom: #317a4e;
$custom-light: #70a180;
$custom-dark: #000000;
JSON
{
  "hex": "#317a4e",
  "rgb": {
    "r": 49,
    "g": 122,
    "b": 78
  },
  "hsl": {
    "h": 143.836,
    "s": 42.69,
    "l": 33.529
  },
  "oklch": {
    "l": 0.52116,
    "c": 0.10108,
    "h": 154.2
  },
  "luminance": 0.15122
}

Semantic roles & 50–950 ramp

primary
#317A4E
secondary
#A85E8B
accent
#55A1D2
background
#F7FAF7
surface
#EDF3EE
border
#C8CDC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #317A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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