#317E32#317E32

#317E32 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.7% C 0.135 H 143.6°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#317E32
RGBrgb(49, 126, 50)
HSLhsl(121, 44%, 34%)
HSVhsv(121, 61%, 49%)
CMYKcmyk(61.1%, 0%, 60.3%, 50.6%)
CIE-LABlab(46.72, -39.91, 33.86)
CIE-LCHlch(46.72, 52.33, 139.69°)
OKLaboklab(52.73% -0.1084 0.08)
OKLCHoklch(52.73% 0.135 143.6)
XYZxyz(9.3027, 15.8041, 5.5773)
Luminance0.1580 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317E32 #7E317D
analogous
#577E31 #317E32 #317E59
triadic
#317E32 #32317E #7E3231
tetradic
#317E32 #31577E #7E317D #7E5931
square
#317E32 #31577E #7E317D #7E5931
split-complementary
#317E32 #59317E #7E3157
monochromatic
#0F260F #205221 #317E32 #42AA43 #66C367

Accessibility & contrast

On white

5.05
#317E32 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#317E32 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317E32
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317E32#FFFFFF#000000##FFFFFF
##317E321.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81732A
Deuteranopia (green-blind)
#776C38
Tritanopia (blue-blind)
#237B6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #317e32;
/* rgb */ color: rgb(49, 126, 50);
/* oklch */ color: oklch(52.7% 0.135 143.6);
Tailwind
colors: {
  custom: {
    50: '#72a46c',
    500: '#317e32',
    950: '#000000',
  },
}
SCSS
$custom: #317e32;
$custom-light: #72a46c;
$custom-dark: #000000;
JSON
{
  "hex": "#317e32",
  "rgb": {
    "r": 49,
    "g": 126,
    "b": 50
  },
  "hsl": {
    "h": 120.779,
    "s": 44,
    "l": 34.314
  },
  "oklch": {
    "l": 0.52729,
    "c": 0.13469,
    "h": 143.6
  },
  "luminance": 0.15805
}

Semantic roles & 50–950 ramp

primary
#317E32
secondary
#AB60AA
accent
#54D2D4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #317E32

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

Preview Lab → · Contrast checker → · Palette generator →

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