#317A2E#317A2E

#317A2E is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.6% C 0.133 H 142.7°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#317A2E
RGBrgb(49, 122, 46)
HSLhsl(118, 45%, 33%)
HSVhsv(118, 62%, 48%)
CMYKcmyk(59.8%, 0%, 62.3%, 52.2%)
CIE-LABlab(45.32, -38.79, 34.21)
CIE-LCHlch(45.32, 51.73, 138.59°)
OKLaboklab(51.56% -0.1056 0.0804)
OKLCHoklch(51.56% 0.133 142.7)
XYZxyz(8.7188, 14.7685, 4.9754)
Luminance0.1477 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317A2E #772E7A
analogous
#577A2E #317A2E #2E7A51
triadic
#317A2E #2E317A #7A2E31
tetradic
#317A2E #2E577A #772E7A #7A512E
square
#317A2E #2E577A #772E7A #7A512E
split-complementary
#317A2E #512E7A #7A2E57
monochromatic
#0D210C #1F4E1D #317A2E #43A63F #63C360

Accessibility & contrast

On white

5.31
#317A2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#317A2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317A2E
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317A2E#FFFFFF#000000##FFFFFF
##317A2E1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F26
Deuteranopia (green-blind)
#736934
Tritanopia (blue-blind)
#25766A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #317a2e;
/* rgb */ color: rgb(49, 122, 46);
/* oklch */ color: oklch(51.6% 0.133 142.7);
Tailwind
colors: {
  custom: {
    50: '#71a16a',
    500: '#317a2e',
    950: '#000000',
  },
}
SCSS
$custom: #317a2e;
$custom-light: #71a16a;
$custom-dark: #000000;
JSON
{
  "hex": "#317a2e",
  "rgb": {
    "r": 49,
    "g": 122,
    "b": 46
  },
  "hsl": {
    "h": 117.632,
    "s": 45.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5156,
    "c": 0.13267,
    "h": 142.7
  },
  "luminance": 0.14769
}

Semantic roles & 50–950 ramp

primary
#317A2E
secondary
#A65AAA
accent
#53D5D0
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #317A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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