#317A28#317A28

#317A28 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.5% C 0.138 H 141.5°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#317A28
RGBrgb(49, 122, 40)
HSLhsl(113, 51%, 32%)
HSVhsv(113, 67%, 48%)
CMYKcmyk(59.8%, 0%, 67.2%, 52.2%)
CIE-LABlab(45.25, -39.48, 37.00)
CIE-LCHlch(45.25, 54.11, 136.86°)
OKLaboklab(51.49% -0.1078 0.0857)
OKLCHoklch(51.49% 0.138 141.5)
XYZxyz(8.6087, 14.7245, 4.3955)
Luminance0.1472 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317A28 #71287A
analogous
#5A7A28 #317A28 #287A48
triadic
#317A28 #28317A #7A2831
tetradic
#317A28 #285A7A #71287A #7A4828
square
#317A28 #285A7A #71287A #7A4828
split-complementary
#317A28 #48287A #7A285A
monochromatic
#0C1E0A #1E4C19 #317A28 #44A837 #62C755

Accessibility & contrast

On white

5.32
#317A28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#317A28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317A28
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317A28#FFFFFF#000000##FFFFFF
##317A281.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F1E
Deuteranopia (green-blind)
#74692F
Tritanopia (blue-blind)
#267669
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #317a28;
/* rgb */ color: rgb(49, 122, 40);
/* oklch */ color: oklch(51.5% 0.138 141.5);
Tailwind
colors: {
  custom: {
    50: '#72a166',
    500: '#317a28',
    950: '#000000',
  },
}
SCSS
$custom: #317a28;
$custom-light: #72a166;
$custom-dark: #000000;
JSON
{
  "hex": "#317a28",
  "rgb": {
    "r": 49,
    "g": 122,
    "b": 40
  },
  "hsl": {
    "h": 113.415,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5149,
    "c": 0.13768,
    "h": 141.5
  },
  "luminance": 0.14725
}

Semantic roles & 50–950 ramp

primary
#317A28
secondary
#A252AC
accent
#4EDACB
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #317A28

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

Preview Lab → · Contrast checker → · Palette generator →

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