#317D20#317D20

#317D20 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.3% C 0.147 H 140.4°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#317D20
RGBrgb(49, 125, 32)
HSLhsl(109, 59%, 31%)
HSVhsv(109, 74%, 49%)
CMYKcmyk(60.8%, 0%, 74.4%, 51%)
CIE-LABlab(46.21, -41.43, 41.46)
CIE-LCHlch(46.21, 58.61, 134.98°)
OKLaboklab(52.26% -0.1135 0.094)
OKLCHoklch(52.26% 0.147 140.4)
XYZxyz(8.8605, 15.4237, 3.8764)
Luminance0.1542 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317D20 #6C207D
analogous
#5F7D20 #317D20 #207D3D
triadic
#317D20 #20317D #7D2031
tetradic
#317D20 #205F7D #6C207D #7D3D20
square
#317D20 #205F7D #6C207D #7D3D20
split-complementary
#317D20 #3D207D #7D205F
monochromatic
#0B1C07 #1E4C14 #317D20 #44AE2C #60D047

Accessibility & contrast

On white

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

On black

4.08
#317D20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##317D20#FFFFFF#000000##FFFFFF
##317D201.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807110
Deuteranopia (green-blind)
#776B29
Tritanopia (blue-blind)
#27796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #317d20;
/* rgb */ color: rgb(49, 125, 32);
/* oklch */ color: oklch(52.3% 0.147 140.4);
Tailwind
colors: {
  custom: {
    50: '#73a362',
    500: '#317d20',
    950: '#000000',
  },
}
SCSS
$custom: #317d20;
$custom-light: #73a362;
$custom-dark: #000000;
JSON
{
  "hex": "#317d20",
  "rgb": {
    "r": 49,
    "g": 125,
    "b": 32
  },
  "hsl": {
    "h": 109.032,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52256,
    "c": 0.14742,
    "h": 140.4
  },
  "luminance": 0.15424
}

Semantic roles & 50–950 ramp

primary
#317D20
secondary
#9D49B0
accent
#45E2C6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #317D20

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

Preview Lab → · Contrast checker → · Palette generator →

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