#317D14#317D14

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

Color values

HEX#317D14
RGBrgb(49, 125, 20)
HSLhsl(103, 72%, 28%)
HSVhsv(103, 84%, 49%)
CMYKcmyk(60.8%, 0%, 84%, 51%)
CIE-LABlab(46.14, -42.27, 45.62)
CIE-LCHlch(46.14, 62.19, 132.82°)
OKLaboklab(52.17% -0.1165 0.1009)
OKLCHoklch(52.17% 0.154 139.1)
XYZxyz(8.7261, 15.3699, 3.1685)
Luminance0.1537 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317D14 #60147D
analogous
#657D14 #317D14 #147D2C
triadic
#317D14 #14317D #7D1431
tetradic
#317D14 #14657D #60147D #7D2C14
square
#317D14 #14657D #60147D #7D2C14
split-complementary
#317D14 #2C147D #7D1465
monochromatic
#0A1A04 #1C480C #317D14 #46B21C #5EDE2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##317D14#FFFFFF#000000##FFFFFF
##317D141.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #317d14;
/* rgb */ color: rgb(49, 125, 20);
/* oklch */ color: oklch(52.2% 0.154 139.1);
Tailwind
colors: {
  custom: {
    50: '#73a35c',
    500: '#317d14',
    950: '#000000',
  },
}
SCSS
$custom: #317d14;
$custom-light: #73a35c;
$custom-dark: #000000;
JSON
{
  "hex": "#317d14",
  "rgb": {
    "r": 49,
    "g": 125,
    "b": 20
  },
  "hsl": {
    "h": 103.429,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52174,
    "c": 0.15413,
    "h": 139.1
  },
  "luminance": 0.15371
}

Semantic roles & 50–950 ramp

primary
#317D14
secondary
#913AB2
accent
#39EFBD
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #317D14

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

Preview Lab → · Contrast checker → · Palette generator →

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