#317E17#317E17

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

Color values

HEX#317E17
RGBrgb(49, 126, 23)
HSLhsl(105, 69%, 29%)
HSVhsv(105, 82%, 49%)
CMYKcmyk(61.1%, 0%, 81.7%, 50.6%)
CIE-LABlab(46.49, -42.47, 45.01)
CIE-LCHlch(46.49, 61.89, 133.34°)
OKLaboklab(52.47% -0.1169 0.1001)
OKLCHoklch(52.47% 0.154 139.4)
XYZxyz(8.8818, 15.6357, 3.3604)
Luminance0.1564 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317E17 #64177E
analogous
#657E17 #317E17 #177E30
triadic
#317E17 #17317E #7E1731
tetradic
#317E17 #17657E #64177E #7E3017
square
#317E17 #17657E #64177E #7E3017
split-complementary
#317E17 #30177E #7E1765
monochromatic
#0A1A05 #1D4A0E #317E17 #45B220 #5FDA35

Accessibility & contrast

On white

5.09
#317E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#317E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317E17
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317E17#FFFFFF#000000##FFFFFF
##317E171.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#786C23
Tritanopia (blue-blind)
#287A6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #317e17;
/* rgb */ color: rgb(49, 126, 23);
/* oklch */ color: oklch(52.5% 0.154 139.4);
Tailwind
colors: {
  custom: {
    50: '#73a45d',
    500: '#317e17',
    950: '#000000',
  },
}
SCSS
$custom: #317e17;
$custom-light: #73a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#317e17",
  "rgb": {
    "r": 49,
    "g": 126,
    "b": 23
  },
  "hsl": {
    "h": 104.854,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52473,
    "c": 0.15389,
    "h": 139.4
  },
  "luminance": 0.15637
}

Semantic roles & 50–950 ramp

primary
#317E17
secondary
#953EB3
accent
#3CECBF
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #317E17

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

Preview Lab → · Contrast checker → · Palette generator →

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