#317A2D#317A2D

#317A2D is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.5% C 0.134 H 142.5°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#317A2D
RGBrgb(49, 122, 45)
HSLhsl(117, 46%, 33%)
HSVhsv(117, 63%, 48%)
CMYKcmyk(59.8%, 0%, 63.1%, 52.2%)
CIE-LABlab(45.30, -38.91, 34.69)
CIE-LCHlch(45.30, 52.13, 138.28°)
OKLaboklab(51.55% -0.1059 0.0813)
OKLCHoklch(51.55% 0.134 142.5)
XYZxyz(8.6994, 14.7607, 4.8728)
Luminance0.1476 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317A2D #762D7A
analogous
#577A2D #317A2D #2D7A4F
triadic
#317A2D #2D317A #7A2D31
tetradic
#317A2D #2D577A #762D7A #7A4F2D
square
#317A2D #2D577A #762D7A #7A4F2D
split-complementary
#317A2D #4F2D7A #7A2D57
monochromatic
#0D210C #1F4D1D #317A2D #43A73D #63C45E

Accessibility & contrast

On white

5.31
#317A2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#317A2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317A2D
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317A2D#FFFFFF#000000##FFFFFF
##317A2D1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F25
Deuteranopia (green-blind)
#736933
Tritanopia (blue-blind)
#257669
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #317a2d;
/* rgb */ color: rgb(49, 122, 45);
/* oklch */ color: oklch(51.5% 0.134 142.5);
Tailwind
colors: {
  custom: {
    50: '#71a169',
    500: '#317a2d',
    950: '#000000',
  },
}
SCSS
$custom: #317a2d;
$custom-light: #71a169;
$custom-dark: #000000;
JSON
{
  "hex": "#317a2d",
  "rgb": {
    "r": 49,
    "g": 122,
    "b": 45
  },
  "hsl": {
    "h": 116.883,
    "s": 46.108,
    "l": 32.745
  },
  "oklch": {
    "l": 0.51548,
    "c": 0.13354,
    "h": 142.5
  },
  "luminance": 0.14761
}

Semantic roles & 50–950 ramp

primary
#317A2D
secondary
#A659AA
accent
#52D6CF
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #317A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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