#317D2A#317D2A

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

Color values

HEX#317D2A
RGBrgb(49, 125, 42)
HSLhsl(115, 50%, 33%)
HSVhsv(115, 66%, 49%)
CMYKcmyk(60.8%, 0%, 66.4%, 51%)
CIE-LABlab(46.29, -40.46, 37.23)
CIE-LCHlch(46.29, 54.98, 137.39°)
OKLaboklab(52.35% -0.1103 0.0864)
OKLCHoklch(52.35% 0.14 141.9)
XYZxyz(9.0177, 15.4866, 4.7040)
Luminance0.1549 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317D2A #762A7D
analogous
#5A7D2A #317D2A #2A7D4D
triadic
#317D2A #2A317D #7D2A31
tetradic
#317D2A #2A5A7D #762A7D #7D4D2A
square
#317D2A #2A5A7D #762A7D #7D4D2A
split-complementary
#317D2A #4D2A7D #7D2A5A
monochromatic
#0D210B #1F4F1B #317D2A #43AB39 #63C85A

Accessibility & contrast

On white

5.13
#317D2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #317D2A
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317D2A#FFFFFF#000000##FFFFFF
##317D2A1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #317d2a;
/* rgb */ color: rgb(49, 125, 42);
/* oklch */ color: oklch(52.4% 0.140 141.9);
Tailwind
colors: {
  custom: {
    50: '#72a367',
    500: '#317d2a',
    950: '#000000',
  },
}
SCSS
$custom: #317d2a;
$custom-light: #72a367;
$custom-dark: #000000;
JSON
{
  "hex": "#317d2a",
  "rgb": {
    "r": 49,
    "g": 125,
    "b": 42
  },
  "hsl": {
    "h": 114.94,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52353,
    "c": 0.1401,
    "h": 141.9
  },
  "luminance": 0.15487
}

Semantic roles & 50–950 ramp

primary
#317D2A
secondary
#A656AD
accent
#4FD9CE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #317D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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