#317C11#317C11

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

Color values

HEX#317C11
RGBrgb(49, 124, 17)
HSLhsl(102, 76%, 28%)
HSVhsv(102, 86%, 49%)
CMYKcmyk(60.5%, 0%, 86.3%, 51.4%)
CIE-LABlab(45.78, -42.05, 46.15)
CIE-LCHlch(45.78, 62.43, 132.34°)
OKLaboklab(51.88% -0.1161 0.1016)
OKLCHoklch(51.88% 0.154 138.8)
XYZxyz(8.5751, 15.1080, 2.9945)
Luminance0.1511 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317C11 #5C117C
analogous
#677C11 #317C11 #117C26
triadic
#317C11 #11317C #7C1131
tetradic
#317C11 #11677C #5C117C #7C2611
square
#317C11 #11677C #5C117C #7C2611
split-complementary
#317C11 #26117C #7C1167
monochromatic
#0B1B04 #1C460A #317C11 #46B218 #5EE126

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##317C11#FFFFFF#000000##FFFFFF
##317C111.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)
#776A1F
Tritanopia (blue-blind)
#297769
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #317c11;
/* rgb */ color: rgb(49, 124, 17);
/* oklch */ color: oklch(51.9% 0.154 138.8);
Tailwind
colors: {
  custom: {
    50: '#73a35b',
    500: '#317c11',
    950: '#000000',
  },
}
SCSS
$custom: #317c11;
$custom-light: #73a35b;
$custom-dark: #000000;
JSON
{
  "hex": "#317c11",
  "rgb": {
    "r": 49,
    "g": 124,
    "b": 17
  },
  "hsl": {
    "h": 102.056,
    "s": 75.887,
    "l": 27.647
  },
  "oklch": {
    "l": 0.51876,
    "c": 0.15423,
    "h": 138.8
  },
  "luminance": 0.15109
}

Semantic roles & 50–950 ramp

primary
#317C11
secondary
#8D37B2
accent
#35F2BA
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #317C11

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

Preview Lab → · Contrast checker → · Palette generator →

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