#317E1F#317E1F

#317E1F is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.5% C 0.149 H 140.3°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#317E1F
RGBrgb(49, 126, 31)
HSLhsl(109, 61%, 31%)
HSVhsv(109, 75%, 49%)
CMYKcmyk(61.1%, 0%, 75.4%, 50.6%)
CIE-LABlab(46.54, -41.90, 42.20)
CIE-LCHlch(46.54, 59.46, 134.80°)
OKLaboklab(52.53% -0.1149 0.0954)
OKLCHoklch(52.53% 0.149 140.3)
XYZxyz(8.9744, 15.6728, 3.8483)
Luminance0.1567 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317E1F #6C1F7E
analogous
#607E1F #317E1F #1F7E3C
triadic
#317E1F #1F317E #7E1F31
tetradic
#317E1F #1F607E #6C1F7E #7E3C1F
square
#317E1F #1F607E #6C1F7E #7E3C1F
split-complementary
#317E1F #3C1F7E #7E1F60
monochromatic
#0B1C07 #1E4D13 #317E1F #44AF2B #60D146

Accessibility & contrast

On white

5.08
#317E1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#317E1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317E1F
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317E1F#FFFFFF#000000##FFFFFF
##317E1F1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82720E
Deuteranopia (green-blind)
#786C29
Tritanopia (blue-blind)
#277A6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #317e1f;
/* rgb */ color: rgb(49, 126, 31);
/* oklch */ color: oklch(52.5% 0.149 140.3);
Tailwind
colors: {
  custom: {
    50: '#73a461',
    500: '#317e1f',
    950: '#000000',
  },
}
SCSS
$custom: #317e1f;
$custom-light: #73a461;
$custom-dark: #000000;
JSON
{
  "hex": "#317e1f",
  "rgb": {
    "r": 49,
    "g": 126,
    "b": 31
  },
  "hsl": {
    "h": 108.632,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52529,
    "c": 0.14932,
    "h": 140.3
  },
  "luminance": 0.15674
}

Semantic roles & 50–950 ramp

primary
#317E1F
secondary
#9D48B1
accent
#44E4C5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #317E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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