#317C17#317C17

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

Color values

HEX#317C17
RGBrgb(49, 124, 23)
HSLhsl(105, 69%, 29%)
HSVhsv(105, 81%, 49%)
CMYKcmyk(60.5%, 0%, 81.5%, 51.4%)
CIE-LABlab(45.81, -41.71, 44.37)
CIE-LCHlch(45.81, 60.89, 133.23°)
OKLaboklab(51.91% -0.1148 0.0987)
OKLCHoklch(51.91% 0.151 139.3)
XYZxyz(8.6286, 15.1294, 3.2760)
Luminance0.1513 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317C17 #62177C
analogous
#647C17 #317C17 #177C30
triadic
#317C17 #17317C #7C1731
tetradic
#317C17 #17647C #62177C #7C3017
square
#317C17 #17647C #62177C #7C3017
split-complementary
#317C17 #30177C #7C1764
monochromatic
#0A1A05 #1D480D #317C17 #45B021 #5FD934

Accessibility & contrast

On white

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

On black

4.03
#317C17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##317C17#FFFFFF#000000##FFFFFF
##317C171.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#766A23
Tritanopia (blue-blind)
#287869
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #317c17;
/* rgb */ color: rgb(49, 124, 23);
/* oklch */ color: oklch(51.9% 0.151 139.3);
Tailwind
colors: {
  custom: {
    50: '#73a35d',
    500: '#317c17',
    950: '#000000',
  },
}
SCSS
$custom: #317c17;
$custom-light: #73a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#317c17",
  "rgb": {
    "r": 49,
    "g": 124,
    "b": 23
  },
  "hsl": {
    "h": 104.554,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51909,
    "c": 0.15145,
    "h": 139.3
  },
  "luminance": 0.1513
}

Semantic roles & 50–950 ramp

primary
#317C17
secondary
#933EB1
accent
#3CECBE
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #317C17

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

Preview Lab → · Contrast checker → · Palette generator →

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