#317C14#317C14

#317C14 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#317C14
RGBrgb(49, 124, 20)
HSLhsl(103, 72%, 28%)
HSVhsv(103, 84%, 49%)
CMYKcmyk(60.5%, 0%, 83.9%, 51.4%)
CIE-LABlab(45.80, -41.89, 45.30)
CIE-LCHlch(45.80, 61.70, 132.76°)
OKLaboklab(51.89% -0.1155 0.1002)
OKLCHoklch(51.89% 0.153 139)
XYZxyz(8.6002, 15.1180, 3.1265)
Luminance0.1512 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317C14 #5F147C
analogous
#657C14 #317C14 #147C2B
triadic
#317C14 #14317C #7C1431
tetradic
#317C14 #14657C #5F147C #7C2B14
square
#317C14 #14657C #5F147C #7C2B14
split-complementary
#317C14 #2B147C #7C1465
monochromatic
#0A1A04 #1C470B #317C14 #46B11D #5EDD2D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##317C14#FFFFFF#000000##FFFFFF
##317C141.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)
#776A21
Tritanopia (blue-blind)
#297869
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #317c14;
/* rgb */ color: rgb(49, 124, 20);
/* oklch */ color: oklch(51.9% 0.153 139.0);
Tailwind
colors: {
  custom: {
    50: '#73a35c',
    500: '#317c14',
    950: '#000000',
  },
}
SCSS
$custom: #317c14;
$custom-light: #73a35c;
$custom-dark: #000000;
JSON
{
  "hex": "#317c14",
  "rgb": {
    "r": 49,
    "g": 124,
    "b": 20
  },
  "hsl": {
    "h": 103.269,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51891,
    "c": 0.15292,
    "h": 139
  },
  "luminance": 0.15119
}

Semantic roles & 50–950 ramp

primary
#317C14
secondary
#903AB2
accent
#39EFBC
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #317C14

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

Preview Lab → · Contrast checker → · Palette generator →

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