#317C13#317C13

#317C13 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.9% C 0.153 H 139.0°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#317C13
RGBrgb(49, 124, 19)
HSLhsl(103, 73%, 28%)
HSVhsv(103, 85%, 49%)
CMYKcmyk(60.5%, 0%, 84.7%, 51.4%)
CIE-LABlab(45.79, -41.94, 45.59)
CIE-LCHlch(45.79, 61.95, 132.61°)
OKLaboklab(51.89% -0.1157 0.1007)
OKLCHoklch(51.89% 0.153 139)
XYZxyz(8.5915, 15.1145, 3.0806)
Luminance0.1512 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317C13 #5E137C
analogous
#657C13 #317C13 #137C29
triadic
#317C13 #13317C #7C1331
tetradic
#317C13 #13657C #5E137C #7C2913
square
#317C13 #13657C #5E137C #7C2913
split-complementary
#317C13 #29137C #7C1365
monochromatic
#0A1B04 #1C470B #317C13 #46B11B #5EDF2B

Accessibility & contrast

On white

5.22
#317C13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#317C13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317C13
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317C13#FFFFFF#000000##FFFFFF
##317C131.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#776A20
Tritanopia (blue-blind)
#297869
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #317c13;
/* rgb */ color: rgb(49, 124, 19);
/* oklch */ color: oklch(51.9% 0.153 139.0);
Tailwind
colors: {
  custom: {
    50: '#73a35b',
    500: '#317c13',
    950: '#000000',
  },
}
SCSS
$custom: #317c13;
$custom-light: #73a35b;
$custom-dark: #000000;
JSON
{
  "hex": "#317c13",
  "rgb": {
    "r": 49,
    "g": 124,
    "b": 19
  },
  "hsl": {
    "h": 102.857,
    "s": 73.427,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51886,
    "c": 0.15338,
    "h": 139
  },
  "luminance": 0.15115
}

Semantic roles & 50–950 ramp

primary
#317C13
secondary
#8F39B2
accent
#38F0BB
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #317C13

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

Preview Lab → · Contrast checker → · Palette generator →

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