#317D34#317D34

#317D34 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.5% C 0.131 H 144.1°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#317D34
RGBrgb(49, 125, 52)
HSLhsl(122, 44%, 34%)
HSVhsv(122, 61%, 49%)
CMYKcmyk(60.8%, 0%, 58.4%, 51%)
CIE-LABlab(46.40, -39.24, 32.48)
CIE-LCHlch(46.40, 50.94, 140.38°)
OKLaboklab(52.48% -0.1065 0.0772)
OKLCHoklch(52.48% 0.131 144.1)
XYZxyz(9.2195, 15.5673, 5.7671)
Luminance0.1557 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317D34 #7D317A
analogous
#547D31 #317D34 #317D5A
triadic
#317D34 #34317D #7D3431
tetradic
#317D34 #31547D #7D317A #7D5A31
square
#317D34 #31547D #7D317A #7D5A31
split-complementary
#317D34 #5A317D #7D3154
monochromatic
#0F250F #205122 #317D34 #42A946 #66C369

Accessibility & contrast

On white

5.11
#317D34 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#317D34 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317D34
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317D34#FFFFFF#000000##FFFFFF
##317D341.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F722D
Deuteranopia (green-blind)
#766B3A
Tritanopia (blue-blind)
#237A6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #317d34;
/* rgb */ color: rgb(49, 125, 52);
/* oklch */ color: oklch(52.5% 0.131 144.1);
Tailwind
colors: {
  custom: {
    50: '#72a36e',
    500: '#317d34',
    950: '#000000',
  },
}
SCSS
$custom: #317d34;
$custom-light: #72a36e;
$custom-dark: #000000;
JSON
{
  "hex": "#317d34",
  "rgb": {
    "r": 49,
    "g": 125,
    "b": 52
  },
  "hsl": {
    "h": 122.368,
    "s": 43.678,
    "l": 34.118
  },
  "oklch": {
    "l": 0.52477,
    "c": 0.13148,
    "h": 144.1
  },
  "luminance": 0.15568
}

Semantic roles & 50–950 ramp

primary
#317D34
secondary
#AA60A7
accent
#54CED3
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #317D34

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

Preview Lab → · Contrast checker → · Palette generator →

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