#317A1E#317A1E

#317A1E is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.4% C 0.145 H 140.0°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#317A1E
RGBrgb(49, 122, 30)
HSLhsl(108, 61%, 30%)
HSVhsv(108, 75%, 48%)
CMYKcmyk(59.8%, 0%, 75.4%, 52.2%)
CIE-LABlab(45.17, -40.43, 41.20)
CIE-LCHlch(45.17, 57.72, 134.46°)
OKLaboklab(51.4% -0.111 0.0932)
OKLCHoklch(51.4% 0.145 140)
XYZxyz(8.4601, 14.6650, 3.6129)
Luminance0.1467 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317A1E #671E7A
analogous
#5F7A1E #317A1E #1E7A39
triadic
#317A1E #1E317A #7A1E31
tetradic
#317A1E #1E5F7A #671E7A #7A391E
square
#317A1E #1E5F7A #671E7A #7A391E
split-complementary
#317A1E #391E7A #7A1E5F
monochromatic
#0A1906 #1D4912 #317A1E #45AB2A #5FD042

Accessibility & contrast

On white

5.34
#317A1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #317A1E
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317A1E#FFFFFF#000000##FFFFFF
##317A1E1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F0D
Deuteranopia (green-blind)
#746927
Tritanopia (blue-blind)
#287668
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #317a1e;
/* rgb */ color: rgb(49, 122, 30);
/* oklch */ color: oklch(51.4% 0.145 140.0);
Tailwind
colors: {
  custom: {
    50: '#72a160',
    500: '#317a1e',
    950: '#000000',
  },
}
SCSS
$custom: #317a1e;
$custom-light: #72a160;
$custom-dark: #000000;
JSON
{
  "hex": "#317a1e",
  "rgb": {
    "r": 49,
    "g": 122,
    "b": 30
  },
  "hsl": {
    "h": 107.609,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51395,
    "c": 0.1449,
    "h": 140
  },
  "luminance": 0.14666
}

Semantic roles & 50–950 ramp

primary
#317A1E
secondary
#9846AE
accent
#44E4C3
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #317A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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