#317E1D#317E1D

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

Color values

HEX#317E1D
RGBrgb(49, 126, 29)
HSLhsl(108, 63%, 30%)
HSVhsv(108, 77%, 49%)
CMYKcmyk(61.1%, 0%, 77%, 50.6%)
CIE-LABlab(46.53, -42.06, 42.95)
CIE-LCHlch(46.53, 60.11, 134.40°)
OKLaboklab(52.51% -0.1154 0.0967)
OKLCHoklch(52.51% 0.151 140)
XYZxyz(8.9488, 15.6626, 3.7138)
Luminance0.1566 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317E1D #6A1D7E
analogous
#617E1D #317E1D #1D7E39
triadic
#317E1D #1D317E #7E1D31
tetradic
#317E1D #1D617E #6A1D7E #7E391D
square
#317E1D #1D617E #6A1D7E #7E391D
split-complementary
#317E1D #391D7E #7E1D61
monochromatic
#0A1B06 #1E4C12 #317E1D #44B028 #60D342

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##317E1D#FFFFFF#000000##FFFFFF
##317E1D1.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)
#827209
Deuteranopia (green-blind)
#786C27
Tritanopia (blue-blind)
#277A6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #317e1d;
/* rgb */ color: rgb(49, 126, 29);
/* oklch */ color: oklch(52.5% 0.151 140.0);
Tailwind
colors: {
  custom: {
    50: '#73a460',
    500: '#317e1d',
    950: '#000000',
  },
}
SCSS
$custom: #317e1d;
$custom-light: #73a460;
$custom-dark: #000000;
JSON
{
  "hex": "#317e1d",
  "rgb": {
    "r": 49,
    "g": 126,
    "b": 29
  },
  "hsl": {
    "h": 107.629,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52514,
    "c": 0.15056,
    "h": 140
  },
  "luminance": 0.15663
}

Semantic roles & 50–950 ramp

primary
#317E1D
secondary
#9B45B1
accent
#42E6C4
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #317E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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