#317E2D#317E2D

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

Color values

HEX#317E2D
RGBrgb(49, 126, 45)
HSLhsl(117, 47%, 34%)
HSVhsv(117, 64%, 49%)
CMYKcmyk(61.1%, 0%, 64.3%, 50.6%)
CIE-LABlab(46.66, -40.52, 36.23)
CIE-LCHlch(46.66, 54.35, 138.20°)
OKLaboklab(52.67% -0.1103 0.0846)
OKLCHoklch(52.67% 0.139 142.5)
XYZxyz(9.2006, 15.7633, 5.0399)
Luminance0.1576 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317E2D #7A2D7E
analogous
#597E2D #317E2D #2D7E51
triadic
#317E2D #2D317E #7E2D31
tetradic
#317E2D #2D597E #7A2D7E #7E512D
square
#317E2D #2D597E #7A2D7E #7E512D
split-complementary
#317E2D #512D7E #7E2D59
monochromatic
#0E240D #1F511D #317E2D #43AB3D #64C65F

Accessibility & contrast

On white

5.06
#317E2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#317E2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317E2D
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317E2D#FFFFFF#000000##FFFFFF
##317E2D1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817324
Deuteranopia (green-blind)
#776C34
Tritanopia (blue-blind)
#247A6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #317e2d;
/* rgb */ color: rgb(49, 126, 45);
/* oklch */ color: oklch(52.7% 0.139 142.5);
Tailwind
colors: {
  custom: {
    50: '#72a469',
    500: '#317e2d',
    950: '#000000',
  },
}
SCSS
$custom: #317e2d;
$custom-light: #72a469;
$custom-dark: #000000;
JSON
{
  "hex": "#317e2d",
  "rgb": {
    "r": 49,
    "g": 126,
    "b": 45
  },
  "hsl": {
    "h": 117.037,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.52667,
    "c": 0.139,
    "h": 142.5
  },
  "luminance": 0.15764
}

Semantic roles & 50–950 ramp

primary
#317E2D
secondary
#A85AAC
accent
#51D7D0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #317E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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