#317D1E#317D1E

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

Color values

HEX#317D1E
RGBrgb(49, 125, 30)
HSLhsl(108, 61%, 30%)
HSVhsv(108, 76%, 49%)
CMYKcmyk(60.8%, 0%, 76%, 51%)
CIE-LABlab(46.19, -41.59, 42.23)
CIE-LCHlch(46.19, 59.28, 134.56°)
OKLaboklab(52.24% -0.1141 0.0953)
OKLCHoklch(52.24% 0.149 140.1)
XYZxyz(8.8342, 15.4131, 3.7375)
Luminance0.1541 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317D1E #6A1E7D
analogous
#607D1E #317D1E #1E7D3A
triadic
#317D1E #1E317D #7D1E31
tetradic
#317D1E #1E607D #6A1E7D #7D3A1E
square
#317D1E #1E607D #6A1E7D #7D3A1E
split-complementary
#317D1E #3A1E7D #7D1E60
monochromatic
#0A1A06 #1E4C12 #317D1E #44AE2A #60D243

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #317d1e;
/* rgb */ color: rgb(49, 125, 30);
/* oklch */ color: oklch(52.2% 0.149 140.1);
Tailwind
colors: {
  custom: {
    50: '#73a361',
    500: '#317d1e',
    950: '#000000',
  },
}
SCSS
$custom: #317d1e;
$custom-light: #73a361;
$custom-dark: #000000;
JSON
{
  "hex": "#317d1e",
  "rgb": {
    "r": 49,
    "g": 125,
    "b": 30
  },
  "hsl": {
    "h": 108,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.5224,
    "c": 0.14869,
    "h": 140.1
  },
  "luminance": 0.15414
}

Semantic roles & 50–950 ramp

primary
#317D1E
secondary
#9B46B0
accent
#43E4C4
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #317D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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