#317D1A#317D1A

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

Color values

HEX#317D1A
RGBrgb(49, 125, 26)
HSLhsl(106, 66%, 30%)
HSVhsv(106, 79%, 49%)
CMYKcmyk(60.8%, 0%, 79.2%, 51%)
CIE-LABlab(46.17, -41.89, 43.69)
CIE-LCHlch(46.17, 60.53, 133.80°)
OKLaboklab(52.21% -0.1152 0.0978)
OKLCHoklch(52.21% 0.151 139.7)
XYZxyz(8.7863, 15.3940, 3.4854)
Luminance0.1540 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317D1A #661A7D
analogous
#627D1A #317D1A #1A7D35
triadic
#317D1A #1A317D #7D1A31
tetradic
#317D1A #1A627D #661A7D #7D351A
square
#317D1A #1A627D #661A7D #7D351A
split-complementary
#317D1A #351A7D #7D1A62
monochromatic
#0A1905 #1D4A0F #317D1A #45B025 #5FD63B

Accessibility & contrast

On white

5.15
#317D1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #317D1A
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317D1A#FFFFFF#000000##FFFFFF
##317D1A1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817103
Deuteranopia (green-blind)
#776B25
Tritanopia (blue-blind)
#28796A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #317d1a;
/* rgb */ color: rgb(49, 125, 26);
/* oklch */ color: oklch(52.2% 0.151 139.7);
Tailwind
colors: {
  custom: {
    50: '#73a35f',
    500: '#317d1a',
    950: '#000000',
  },
}
SCSS
$custom: #317d1a;
$custom-light: #73a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#317d1a",
  "rgb": {
    "r": 49,
    "g": 125,
    "b": 26
  },
  "hsl": {
    "h": 106.061,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52211,
    "c": 0.15107,
    "h": 139.7
  },
  "luminance": 0.15395
}

Semantic roles & 50–950 ramp

primary
#317D1A
secondary
#9742B1
accent
#3FE9C1
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #317D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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