#317E13#317E13

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

Color values

HEX#317E13
RGBrgb(49, 126, 19)
HSLhsl(103, 74%, 28%)
HSVhsv(103, 85%, 49%)
CMYKcmyk(61.1%, 0%, 84.9%, 50.6%)
CIE-LABlab(46.47, -42.70, 46.22)
CIE-LCHlch(46.47, 62.93, 132.74°)
OKLaboklab(52.45% -0.1177 0.102)
OKLCHoklch(52.45% 0.156 139.1)
XYZxyz(8.8447, 15.6209, 3.1650)
Luminance0.1562 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317E13 #60137E
analogous
#667E13 #317E13 #137E2B
triadic
#317E13 #13317E #7E1331
tetradic
#317E13 #13667E #60137E #7E2B13
square
#317E13 #13667E #60137E #7E2B13
split-complementary
#317E13 #2B137E #7E1366
monochromatic
#0A1B04 #1C490B #317E13 #46B31B #5EDF2C

Accessibility & contrast

On white

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

On black

4.12
#317E13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##317E13#FFFFFF#000000##FFFFFF
##317E131.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#786C21
Tritanopia (blue-blind)
#28796B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #317e13;
/* rgb */ color: rgb(49, 126, 19);
/* oklch */ color: oklch(52.4% 0.156 139.1);
Tailwind
colors: {
  custom: {
    50: '#73a45c',
    500: '#317e13',
    950: '#000000',
  },
}
SCSS
$custom: #317e13;
$custom-light: #73a45c;
$custom-dark: #000000;
JSON
{
  "hex": "#317e13",
  "rgb": {
    "r": 49,
    "g": 126,
    "b": 19
  },
  "hsl": {
    "h": 103.178,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5245,
    "c": 0.15577,
    "h": 139.1
  },
  "luminance": 0.15622
}

Semantic roles & 50–950 ramp

primary
#317E13
secondary
#9139B4
accent
#37F0BD
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #317E13

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

Preview Lab → · Contrast checker → · Palette generator →

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