#317F3D#317F3D

#317F3D is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.2% C 0.126 H 146.4°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#317F3D
RGBrgb(49, 127, 61)
HSLhsl(129, 44%, 35%)
HSVhsv(129, 61%, 50%)
CMYKcmyk(61.4%, 0%, 52%, 50.2%)
CIE-LABlab(47.19, -38.75, 28.74)
CIE-LCHlch(47.19, 48.24, 143.43°)
OKLaboklab(53.17% -0.1048 0.0695)
OKLCHoklch(53.17% 0.126 146.4)
XYZxyz(9.6977, 16.1677, 7.0236)
Luminance0.1617 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317F3D #7F3173
analogous
#4C7F31 #317F3D #317F64
triadic
#317F3D #3D317F #7F3D31
tetradic
#317F3D #314C7F #7F3173 #7F6431
square
#317F3D #314C7F #7F3173 #7F6431
split-complementary
#317F3D #64317F #7F314C
monochromatic
#0F2713 #205328 #317F3D #42AB52 #66C475

Accessibility & contrast

On white

4.96
#317F3D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#317F3D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317F3D
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317F3D#FFFFFF#000000##FFFFFF
##317F3D1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817437
Deuteranopia (green-blind)
#776D42
Tritanopia (blue-blind)
#1F7C70
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #317f3d;
/* rgb */ color: rgb(49, 127, 61);
/* oklch */ color: oklch(53.2% 0.126 146.4);
Tailwind
colors: {
  custom: {
    50: '#72a574',
    500: '#317f3d',
    950: '#000000',
  },
}
SCSS
$custom: #317f3d;
$custom-light: #72a574;
$custom-dark: #000000;
JSON
{
  "hex": "#317f3d",
  "rgb": {
    "r": 49,
    "g": 127,
    "b": 61
  },
  "hsl": {
    "h": 129.231,
    "s": 44.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.53168,
    "c": 0.12579,
    "h": 146.4
  },
  "luminance": 0.16169
}

Semantic roles & 50–950 ramp

primary
#317F3D
secondary
#AB60A0
accent
#54C0D4
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #317F3D

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

Preview Lab → · Contrast checker → · Palette generator →

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