#317D17#317D17

#317D17 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.153 H 139.4°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#317D17
RGBrgb(49, 125, 23)
HSLhsl(105, 69%, 29%)
HSVhsv(105, 82%, 49%)
CMYKcmyk(60.8%, 0%, 81.6%, 51%)
CIE-LABlab(46.15, -42.09, 44.69)
CIE-LCHlch(46.15, 61.39, 133.29°)
OKLaboklab(52.19% -0.1159 0.0994)
OKLCHoklch(52.19% 0.153 139.4)
XYZxyz(8.7545, 15.3813, 3.3180)
Luminance0.1538 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317D17 #63177D
analogous
#647D17 #317D17 #177D30
triadic
#317D17 #17317D #7D1731
tetradic
#317D17 #17647D #63177D #7D3017
square
#317D17 #17647D #63177D #7D3017
split-complementary
#317D17 #30177D #7D1764
monochromatic
#0A1A05 #1D490D #317D17 #45B121 #5FDA35

Accessibility & contrast

On white

5.15
#317D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#317D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317D17
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317D17#FFFFFF#000000##FFFFFF
##317D171.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#776B23
Tritanopia (blue-blind)
#28796A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #317d17;
/* rgb */ color: rgb(49, 125, 23);
/* oklch */ color: oklch(52.2% 0.153 139.4);
Tailwind
colors: {
  custom: {
    50: '#73a35d',
    500: '#317d17',
    950: '#000000',
  },
}
SCSS
$custom: #317d17;
$custom-light: #73a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#317d17",
  "rgb": {
    "r": 49,
    "g": 125,
    "b": 23
  },
  "hsl": {
    "h": 104.706,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52191,
    "c": 0.15267,
    "h": 139.4
  },
  "luminance": 0.15382
}

Semantic roles & 50–950 ramp

primary
#317D17
secondary
#943EB2
accent
#3CECBF
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #317D17

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

Preview Lab → · Contrast checker → · Palette generator →

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