#317D1C#317D1C

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

Color values

HEX#317D1C
RGBrgb(49, 125, 28)
HSLhsl(107, 63%, 30%)
HSVhsv(107, 78%, 49%)
CMYKcmyk(60.8%, 0%, 77.6%, 51%)
CIE-LABlab(46.18, -41.75, 42.98)
CIE-LCHlch(46.18, 59.91, 134.17°)
OKLaboklab(52.23% -0.1146 0.0966)
OKLCHoklch(52.23% 0.15 139.9)
XYZxyz(8.8094, 15.4033, 3.6073)
Luminance0.1540 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317D1C #681C7D
analogous
#627D1C #317D1C #1C7D37
triadic
#317D1C #1C317D #7D1C31
tetradic
#317D1C #1C627D #681C7D #7D371C
square
#317D1C #1C627D #681C7D #7D371C
split-complementary
#317D1C #371C7D #7D1C62
monochromatic
#0A1906 #1D4B11 #317D1C #45AF27 #60D43F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##317D1C#FFFFFF#000000##FFFFFF
##317D1C1.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)
#817107
Deuteranopia (green-blind)
#776B26
Tritanopia (blue-blind)
#27796A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #317d1c;
/* rgb */ color: rgb(49, 125, 28);
/* oklch */ color: oklch(52.2% 0.150 139.9);
Tailwind
colors: {
  custom: {
    50: '#73a360',
    500: '#317d1c',
    950: '#000000',
  },
}
SCSS
$custom: #317d1c;
$custom-light: #73a360;
$custom-dark: #000000;
JSON
{
  "hex": "#317d1c",
  "rgb": {
    "r": 49,
    "g": 125,
    "b": 28
  },
  "hsl": {
    "h": 107.01,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.52225,
    "c": 0.14991,
    "h": 139.9
  },
  "luminance": 0.15404
}

Semantic roles & 50–950 ramp

primary
#317D1C
secondary
#9944B1
accent
#41E6C3
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #317D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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