#317E20#317E20

#317E20 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.5% C 0.149 H 140.4°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#317E20
RGBrgb(49, 126, 32)
HSLhsl(109, 59%, 31%)
HSVhsv(109, 75%, 49%)
CMYKcmyk(61.1%, 0%, 74.6%, 50.6%)
CIE-LABlab(46.55, -41.82, 41.81)
CIE-LCHlch(46.55, 59.13, 135.00°)
OKLaboklab(52.54% -0.1146 0.0947)
OKLCHoklch(52.54% 0.149 140.4)
XYZxyz(8.9878, 15.6782, 3.9188)
Luminance0.1568 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317E20 #6D207E
analogous
#607E20 #317E20 #207E3E
triadic
#317E20 #20317E #7E2031
tetradic
#317E20 #20607E #6D207E #7E3E20
square
#317E20 #20607E #6D207E #7E3E20
split-complementary
#317E20 #3E207E #7E2060
monochromatic
#0B1C07 #1E4D14 #317E20 #44AF2C #61D048

Accessibility & contrast

On white

5.08
#317E20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#317E20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317E20
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317E20#FFFFFF#000000##FFFFFF
##317E201.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817210
Deuteranopia (green-blind)
#786C29
Tritanopia (blue-blind)
#277A6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #317e20;
/* rgb */ color: rgb(49, 126, 32);
/* oklch */ color: oklch(52.5% 0.149 140.4);
Tailwind
colors: {
  custom: {
    50: '#73a462',
    500: '#317e20',
    950: '#000000',
  },
}
SCSS
$custom: #317e20;
$custom-light: #73a462;
$custom-dark: #000000;
JSON
{
  "hex": "#317e20",
  "rgb": {
    "r": 49,
    "g": 126,
    "b": 32
  },
  "hsl": {
    "h": 109.149,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52538,
    "c": 0.14868,
    "h": 140.4
  },
  "luminance": 0.15679
}

Semantic roles & 50–950 ramp

primary
#317E20
secondary
#9E49B1
accent
#45E3C6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #317E20

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

Preview Lab → · Contrast checker → · Palette generator →

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