#317F14#317F14

#317F14 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.7% C 0.157 H 139.2°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#317F14
RGBrgb(49, 127, 20)
HSLhsl(104, 73%, 29%)
HSVhsv(104, 84%, 50%)
CMYKcmyk(61.4%, 0%, 84.3%, 50.2%)
CIE-LABlab(46.82, -43.03, 46.24)
CIE-LCHlch(46.82, 63.16, 132.94°)
OKLaboklab(52.74% -0.1185 0.1022)
OKLCHoklch(52.74% 0.157 139.2)
XYZxyz(8.9819, 15.8814, 3.2538)
Luminance0.1588 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317F14 #62147F
analogous
#677F14 #317F14 #147F2D
triadic
#317F14 #14317F #7F1431
tetradic
#317F14 #14677F #62147F #7F2D14
square
#317F14 #14677F #62147F #7F2D14
split-complementary
#317F14 #2D147F #7F1467
monochromatic
#0A1A04 #1D4A0C #317F14 #45B41C #5FDE2F

Accessibility & contrast

On white

5.03
#317F14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#317F14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317F14
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317F14#FFFFFF#000000##FFFFFF
##317F141.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#796D21
Tritanopia (blue-blind)
#287A6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #317f14;
/* rgb */ color: rgb(49, 127, 20);
/* oklch */ color: oklch(52.7% 0.157 139.2);
Tailwind
colors: {
  custom: {
    50: '#74a55c',
    500: '#317f14',
    950: '#000000',
  },
}
SCSS
$custom: #317f14;
$custom-light: #74a55c;
$custom-dark: #000000;
JSON
{
  "hex": "#317f14",
  "rgb": {
    "r": 49,
    "g": 127,
    "b": 20
  },
  "hsl": {
    "h": 103.738,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52737,
    "c": 0.15653,
    "h": 139.2
  },
  "luminance": 0.15882
}

Semantic roles & 50–950 ramp

primary
#317F14
secondary
#933BB4
accent
#38EFBE
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #317F14

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

Preview Lab → · Contrast checker → · Palette generator →

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