#317D1F#317D1F

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

Color values

HEX#317D1F
RGBrgb(49, 125, 31)
HSLhsl(109, 60%, 31%)
HSVhsv(109, 75%, 49%)
CMYKcmyk(60.8%, 0%, 75.2%, 51%)
CIE-LABlab(46.20, -41.51, 41.85)
CIE-LCHlch(46.20, 58.95, 134.77°)
OKLaboklab(52.25% -0.1138 0.0947)
OKLCHoklch(52.25% 0.148 140.2)
XYZxyz(8.8472, 15.4183, 3.8059)
Luminance0.1542 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317D1F #6B1F7D
analogous
#607D1F #317D1F #1F7D3C
triadic
#317D1F #1F317D #7D1F31
tetradic
#317D1F #1F607D #6B1F7D #7D3C1F
square
#317D1F #1F607D #6B1F7D #7D3C1F
split-complementary
#317D1F #3C1F7D #7D1F60
monochromatic
#0B1B07 #1E4C13 #317D1F #44AE2B #60D145

Accessibility & contrast

On white

5.14
#317D1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#317D1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317D1F
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317D1F#FFFFFF#000000##FFFFFF
##317D1F1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81710E
Deuteranopia (green-blind)
#776B29
Tritanopia (blue-blind)
#27796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #317d1f;
/* rgb */ color: rgb(49, 125, 31);
/* oklch */ color: oklch(52.2% 0.148 140.2);
Tailwind
colors: {
  custom: {
    50: '#73a361',
    500: '#317d1f',
    950: '#000000',
  },
}
SCSS
$custom: #317d1f;
$custom-light: #73a361;
$custom-dark: #000000;
JSON
{
  "hex": "#317d1f",
  "rgb": {
    "r": 49,
    "g": 125,
    "b": 31
  },
  "hsl": {
    "h": 108.511,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52248,
    "c": 0.14806,
    "h": 140.2
  },
  "luminance": 0.15419
}

Semantic roles & 50–950 ramp

primary
#317D1F
secondary
#9C48B0
accent
#44E3C5
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #317D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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