#317A17#317A17

#317A17 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.3% C 0.149 H 139.2°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#317A17
RGBrgb(49, 122, 23)
HSLhsl(104, 68%, 28%)
HSVhsv(104, 81%, 48%)
CMYKcmyk(59.8%, 0%, 81.1%, 52.2%)
CIE-LABlab(45.13, -40.94, 43.72)
CIE-LCHlch(45.13, 59.89, 133.12°)
OKLaboklab(51.35% -0.1128 0.0974)
OKLCHoklch(51.35% 0.149 139.2)
XYZxyz(8.3805, 14.6332, 3.1933)
Luminance0.1463 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317A17 #60177A
analogous
#627A17 #317A17 #177A2E
triadic
#317A17 #17317A #7A1731
tetradic
#317A17 #17627A #60177A #7A2E17
square
#317A17 #17627A #60177A #7A2E17
split-complementary
#317A17 #2E177A #7A1762
monochromatic
#0A1A05 #1C470D #317A17 #46AD21 #5ED933

Accessibility & contrast

On white

5.35
#317A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#317A17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317A17
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317A17#FFFFFF#000000##FFFFFF
##317A171.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6E00
Deuteranopia (green-blind)
#756922
Tritanopia (blue-blind)
#297668
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #317a17;
/* rgb */ color: rgb(49, 122, 23);
/* oklch */ color: oklch(51.3% 0.149 139.2);
Tailwind
colors: {
  custom: {
    50: '#73a15d',
    500: '#317a17',
    950: '#000000',
  },
}
SCSS
$custom: #317a17;
$custom-light: #73a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#317a17",
  "rgb": {
    "r": 49,
    "g": 122,
    "b": 23
  },
  "hsl": {
    "h": 104.242,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51345,
    "c": 0.149,
    "h": 139.2
  },
  "luminance": 0.14634
}

Semantic roles & 50–950 ramp

primary
#317A17
secondary
#913EAF
accent
#3DEBBD
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #317A17

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

Preview Lab → · Contrast checker → · Palette generator →

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