#317D2C#317D2C

#317D2C is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.4% C 0.138 H 142.3°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#317D2C
RGBrgb(49, 125, 44)
HSLhsl(116, 48%, 33%)
HSVhsv(116, 65%, 49%)
CMYKcmyk(60.8%, 0%, 64.8%, 51%)
CIE-LABlab(46.31, -40.24, 36.31)
CIE-LCHlch(46.31, 54.20, 137.94°)
OKLaboklab(52.38% -0.1096 0.0847)
OKLCHoklch(52.38% 0.138 142.3)
XYZxyz(9.0544, 15.5012, 4.8973)
Luminance0.1550 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317D2C #782C7D
analogous
#597D2C #317D2C #2C7D4F
triadic
#317D2C #2C317D #7D2C31
tetradic
#317D2C #2C597D #782C7D #7D4F2C
square
#317D2C #2C597D #782C7D #7D4F2C
split-complementary
#317D2C #4F2C7D #7D2C59
monochromatic
#0E220C #1F501C #317D2C #43AA3C #64C65D

Accessibility & contrast

On white

5.12
#317D2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#317D2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317D2C
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317D2C#FFFFFF#000000##FFFFFF
##317D2C1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807223
Deuteranopia (green-blind)
#766B33
Tritanopia (blue-blind)
#25796C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #317d2c;
/* rgb */ color: rgb(49, 125, 44);
/* oklch */ color: oklch(52.4% 0.138 142.3);
Tailwind
colors: {
  custom: {
    50: '#72a369',
    500: '#317d2c',
    950: '#000000',
  },
}
SCSS
$custom: #317d2c;
$custom-light: #72a369;
$custom-dark: #000000;
JSON
{
  "hex": "#317d2c",
  "rgb": {
    "r": 49,
    "g": 125,
    "b": 44
  },
  "hsl": {
    "h": 116.296,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52376,
    "c": 0.13848,
    "h": 142.3
  },
  "luminance": 0.15502
}

Semantic roles & 50–950 ramp

primary
#317D2C
secondary
#A759AC
accent
#50D8CF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #317D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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