#317C1E#317C1E

#317C1E is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.0% C 0.147 H 140.1°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#317C1E
RGBrgb(49, 124, 30)
HSLhsl(108, 61%, 30%)
HSVhsv(108, 76%, 49%)
CMYKcmyk(60.5%, 0%, 75.8%, 51.4%)
CIE-LABlab(45.85, -41.21, 41.89)
CIE-LCHlch(45.85, 58.76, 134.53°)
OKLaboklab(51.96% -0.1131 0.0946)
OKLCHoklch(51.96% 0.147 140.1)
XYZxyz(8.7082, 15.1612, 3.6956)
Luminance0.1516 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317C1E #691E7C
analogous
#607C1E #317C1E #1E7C3A
triadic
#317C1E #1E317C #7C1E31
tetradic
#317C1E #1E607C #691E7C #7C3A1E
square
#317C1E #1E607C #691E7C #7C3A1E
split-complementary
#317C1E #3A1E7C #7C1E60
monochromatic
#0A1906 #1E4B12 #317C1E #44AD2A #60D143

Accessibility & contrast

On white

5.21
#317C1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#317C1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317C1E
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317C1E#FFFFFF#000000##FFFFFF
##317C1E1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80700C
Deuteranopia (green-blind)
#766A28
Tritanopia (blue-blind)
#28786A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #317c1e;
/* rgb */ color: rgb(49, 124, 30);
/* oklch */ color: oklch(52.0% 0.147 140.1);
Tailwind
colors: {
  custom: {
    50: '#73a360',
    500: '#317c1e',
    950: '#000000',
  },
}
SCSS
$custom: #317c1e;
$custom-light: #73a360;
$custom-dark: #000000;
JSON
{
  "hex": "#317c1e",
  "rgb": {
    "r": 49,
    "g": 124,
    "b": 30
  },
  "hsl": {
    "h": 107.872,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51959,
    "c": 0.14744,
    "h": 140.1
  },
  "luminance": 0.15162
}

Semantic roles & 50–950 ramp

primary
#317C1E
secondary
#9A46AF
accent
#44E4C4
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #317C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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