#317A14#317A14

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

Color values

HEX#317A14
RGBrgb(49, 122, 20)
HSLhsl(103, 72%, 28%)
HSVhsv(103, 84%, 48%)
CMYKcmyk(59.8%, 0%, 83.6%, 52.2%)
CIE-LABlab(45.11, -41.12, 44.67)
CIE-LCHlch(45.11, 60.71, 132.63°)
OKLaboklab(51.33% -0.1134 0.0989)
OKLCHoklch(51.33% 0.151 138.9)
XYZxyz(8.3521, 14.6218, 3.0438)
Luminance0.1462 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317A14 #5D147A
analogous
#647A14 #317A14 #147A2A
triadic
#317A14 #14317A #7A1431
tetradic
#317A14 #14647A #5D147A #7A2A14
square
#317A14 #14647A #5D147A #7A2A14
split-complementary
#317A14 #2A147A #7A1464
monochromatic
#0B1A04 #1C450B #317A14 #46AF1D #5EDC2C

Accessibility & contrast

On white

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

On black

3.92
#317A14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##317A14#FFFFFF#000000##FFFFFF
##317A141.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #317a14;
/* rgb */ color: rgb(49, 122, 20);
/* oklch */ color: oklch(51.3% 0.150 138.9);
Tailwind
colors: {
  custom: {
    50: '#73a15c',
    500: '#317a14',
    950: '#000000',
  },
}
SCSS
$custom: #317a14;
$custom-light: #73a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#317a14",
  "rgb": {
    "r": 49,
    "g": 122,
    "b": 20
  },
  "hsl": {
    "h": 102.941,
    "s": 71.831,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51326,
    "c": 0.1505,
    "h": 138.9
  },
  "luminance": 0.14623
}

Semantic roles & 50–950 ramp

primary
#317A14
secondary
#8E3AB0
accent
#39EFBB
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #317A14

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

Preview Lab → · Contrast checker → · Palette generator →

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