#317F13#317F13

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

Color values

HEX#317F13
RGBrgb(49, 127, 19)
HSLhsl(103, 74%, 29%)
HSVhsv(103, 85%, 50%)
CMYKcmyk(61.4%, 0%, 85%, 50.2%)
CIE-LABlab(46.81, -43.08, 46.53)
CIE-LCHlch(46.81, 63.41, 132.79°)
OKLaboklab(52.73% -0.1187 0.1027)
OKLCHoklch(52.73% 0.157 139.1)
XYZxyz(8.9732, 15.8779, 3.2078)
Luminance0.1588 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317F13 #61137F
analogous
#677F13 #317F13 #137F2B
triadic
#317F13 #13317F #7F1331
tetradic
#317F13 #13677F #61137F #7F2B13
square
#317F13 #13677F #61137F #7F2B13
split-complementary
#317F13 #2B137F #7F1367
monochromatic
#0A1B04 #1C4A0B #317F13 #46B41B #5EE02D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##317F13#FFFFFF#000000##FFFFFF
##317F131.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: #317f13;
/* rgb */ color: rgb(49, 127, 19);
/* oklch */ color: oklch(52.7% 0.157 139.1);
Tailwind
colors: {
  custom: {
    50: '#74a55c',
    500: '#317f13',
    950: '#000000',
  },
}
SCSS
$custom: #317f13;
$custom-light: #74a55c;
$custom-dark: #000000;
JSON
{
  "hex": "#317f13",
  "rgb": {
    "r": 49,
    "g": 127,
    "b": 19
  },
  "hsl": {
    "h": 103.333,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52732,
    "c": 0.15696,
    "h": 139.1
  },
  "luminance": 0.15879
}

Semantic roles & 50–950 ramp

primary
#317F13
secondary
#9239B4
accent
#37F1BD
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #317F13

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

Preview Lab → · Contrast checker → · Palette generator →

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