#317D1D#317D1D

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

Color values

HEX#317D1D
RGBrgb(49, 125, 29)
HSLhsl(108, 62%, 30%)
HSVhsv(108, 77%, 49%)
CMYKcmyk(60.8%, 0%, 76.8%, 51%)
CIE-LABlab(46.19, -41.67, 42.61)
CIE-LCHlch(46.19, 59.60, 134.36°)
OKLaboklab(52.23% -0.1144 0.096)
OKLCHoklch(52.23% 0.149 140)
XYZxyz(8.8216, 15.4081, 3.6713)
Luminance0.1541 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317D1D #691D7D
analogous
#617D1D #317D1D #1D7D39
triadic
#317D1D #1D317D #7D1D31
tetradic
#317D1D #1D617D #691D7D #7D391D
square
#317D1D #1D617D #691D7D #7D391D
split-complementary
#317D1D #391D7D #7D1D61
monochromatic
#0A1A06 #1E4B11 #317D1D #44AF29 #60D341

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##317D1D#FFFFFF#000000##FFFFFF
##317D1D1.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)
#81710A
Deuteranopia (green-blind)
#776B27
Tritanopia (blue-blind)
#27796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #317d1d;
/* rgb */ color: rgb(49, 125, 29);
/* oklch */ color: oklch(52.2% 0.149 140.0);
Tailwind
colors: {
  custom: {
    50: '#73a360',
    500: '#317d1d',
    950: '#000000',
  },
}
SCSS
$custom: #317d1d;
$custom-light: #73a360;
$custom-dark: #000000;
JSON
{
  "hex": "#317d1d",
  "rgb": {
    "r": 49,
    "g": 125,
    "b": 29
  },
  "hsl": {
    "h": 107.5,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52232,
    "c": 0.14931,
    "h": 140
  },
  "luminance": 0.15409
}

Semantic roles & 50–950 ramp

primary
#317D1D
secondary
#9A45B1
accent
#42E5C3
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #317D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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