#317A20#317A20

#317A20 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.4% C 0.144 H 140.2°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#317A20
RGBrgb(49, 122, 32)
HSLhsl(109, 58%, 30%)
HSVhsv(109, 74%, 48%)
CMYKcmyk(59.8%, 0%, 73.8%, 52.2%)
CIE-LABlab(45.19, -40.26, 40.41)
CIE-LCHlch(45.19, 57.04, 134.89°)
OKLaboklab(51.41% -0.1104 0.0918)
OKLCHoklch(51.41% 0.144 140.2)
XYZxyz(8.4865, 14.6756, 3.7517)
Luminance0.1468 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317A20 #69207A
analogous
#5E7A20 #317A20 #207A3C
triadic
#317A20 #20317A #7A2031
tetradic
#317A20 #205E7A #69207A #7A3C20
square
#317A20 #205E7A #69207A #7A3C20
split-complementary
#317A20 #3C207A #7A205E
monochromatic
#0A1907 #1E4A13 #317A20 #44AA2D #60CE46

Accessibility & contrast

On white

5.34
#317A20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#317A20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317A20
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317A20#FFFFFF#000000##FFFFFF
##317A201.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F11
Deuteranopia (green-blind)
#746929
Tritanopia (blue-blind)
#287668
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #317a20;
/* rgb */ color: rgb(49, 122, 32);
/* oklch */ color: oklch(51.4% 0.144 140.2);
Tailwind
colors: {
  custom: {
    50: '#72a161',
    500: '#317a20',
    950: '#000000',
  },
}
SCSS
$custom: #317a20;
$custom-light: #72a161;
$custom-dark: #000000;
JSON
{
  "hex": "#317a20",
  "rgb": {
    "r": 49,
    "g": 122,
    "b": 32
  },
  "hsl": {
    "h": 108.667,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51412,
    "c": 0.14357,
    "h": 140.2
  },
  "luminance": 0.14676
}

Semantic roles & 50–950 ramp

primary
#317A20
secondary
#9A49AD
accent
#46E2C4
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #317A20

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

Preview Lab → · Contrast checker → · Palette generator →

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