#317D13#317D13

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

Color values

HEX#317D13
RGBrgb(49, 125, 19)
HSLhsl(103, 74%, 28%)
HSVhsv(103, 85%, 49%)
CMYKcmyk(60.8%, 0%, 84.8%, 51%)
CIE-LABlab(46.13, -42.32, 45.91)
CIE-LCHlch(46.13, 62.44, 132.68°)
OKLaboklab(52.17% -0.1167 0.1014)
OKLCHoklch(52.17% 0.155 139)
XYZxyz(8.7174, 15.3664, 3.1226)
Luminance0.1537 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317D13 #5F137D
analogous
#667D13 #317D13 #137D2A
triadic
#317D13 #13317D #7D1331
tetradic
#317D13 #13667D #5F137D #7D2A13
square
#317D13 #13667D #5F137D #7D2A13
split-complementary
#317D13 #2A137D #7D1366
monochromatic
#0A1B04 #1C480B #317D13 #46B21B #5EDF2C

Accessibility & contrast

On white

5.16
#317D13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#317D13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317D13
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317D13#FFFFFF#000000##FFFFFF
##317D131.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#786B20
Tritanopia (blue-blind)
#28786A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #317d13;
/* rgb */ color: rgb(49, 125, 19);
/* oklch */ color: oklch(52.2% 0.155 139.0);
Tailwind
colors: {
  custom: {
    50: '#73a35c',
    500: '#317d13',
    950: '#000000',
  },
}
SCSS
$custom: #317d13;
$custom-light: #73a35c;
$custom-dark: #000000;
JSON
{
  "hex": "#317d13",
  "rgb": {
    "r": 49,
    "g": 125,
    "b": 19
  },
  "hsl": {
    "h": 103.019,
    "s": 73.611,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52168,
    "c": 0.15458,
    "h": 139
  },
  "luminance": 0.15367
}

Semantic roles & 50–950 ramp

primary
#317D13
secondary
#9039B3
accent
#38F0BC
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #317D13

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

Preview Lab → · Contrast checker → · Palette generator →

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