#317C15#317C15

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

Color values

HEX#317C15
RGBrgb(49, 124, 21)
HSLhsl(104, 71%, 28%)
HSVhsv(104, 83%, 49%)
CMYKcmyk(60.5%, 0%, 83.1%, 51.4%)
CIE-LABlab(45.80, -41.83, 45.00)
CIE-LCHlch(45.80, 61.44, 132.91°)
OKLaboklab(51.9% -0.1153 0.0998)
OKLCHoklch(51.9% 0.152 139.1)
XYZxyz(8.6093, 15.1217, 3.1744)
Luminance0.1512 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317C15 #60157C
analogous
#647C15 #317C15 #157C2C
triadic
#317C15 #15317C #7C1531
tetradic
#317C15 #15647C #60157C #7C2C15
square
#317C15 #15647C #60157C #7C2C15
split-complementary
#317C15 #2C157C #7C1564
monochromatic
#0A1A04 #1C480C #317C15 #46B01E #5EDC30

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##317C15#FFFFFF#000000##FFFFFF
##317C151.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: #317c15;
/* rgb */ color: rgb(49, 124, 21);
/* oklch */ color: oklch(51.9% 0.152 139.1);
Tailwind
colors: {
  custom: {
    50: '#73a35c',
    500: '#317c15',
    950: '#000000',
  },
}
SCSS
$custom: #317c15;
$custom-light: #73a35c;
$custom-dark: #000000;
JSON
{
  "hex": "#317c15",
  "rgb": {
    "r": 49,
    "g": 124,
    "b": 21
  },
  "hsl": {
    "h": 103.689,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51897,
    "c": 0.15245,
    "h": 139.1
  },
  "luminance": 0.15122
}

Semantic roles & 50–950 ramp

primary
#317C15
secondary
#913CB1
accent
#3AEEBD
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #317C15

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

Preview Lab → · Contrast checker → · Palette generator →

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