#317142#317142

#317142 is a mid, moderate green. Relative luminance 0.129; OKLCH L 49.4% C 0.100 H 150.0°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#317142
RGBrgb(49, 113, 66)
HSLhsl(136, 40%, 32%)
HSVhsv(136, 57%, 44%)
CMYKcmyk(56.6%, 0%, 41.6%, 55.7%)
CIE-LABlab(42.55, -31.83, 20.05)
CIE-LCHlch(42.55, 37.61, 147.79°)
OKLaboklab(49.38% -0.0863 0.0498)
OKLCHoklch(49.38% 0.1 150)
XYZxyz(8.1546, 12.8559, 7.2049)
Luminance0.1286 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317142 #713160
analogous
#407131 #317142 #317162
triadic
#317142 #423171 #714231
tetradic
#317142 #314071 #713160 #716231
square
#317142 #314071 #713160 #716231
split-complementary
#317142 #623171 #713140
monochromatic
#0C1C10 #1E4629 #317142 #449C5B #62BB79

Accessibility & contrast

On white

5.88
#317142 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#317142 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317142
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317142#FFFFFF#000000##FFFFFF
##3171421.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72683F
Deuteranopia (green-blind)
#696245
Tritanopia (blue-blind)
#226F65
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #317142;
/* rgb */ color: rgb(49, 113, 66);
/* oklch */ color: oklch(49.4% 0.100 150.0);
Tailwind
colors: {
  custom: {
    50: '#6f9a77',
    500: '#317142',
    950: '#000000',
  },
}
SCSS
$custom: #317142;
$custom-light: #6f9a77;
$custom-dark: #000000;
JSON
{
  "hex": "#317142",
  "rgb": {
    "r": 49,
    "g": 113,
    "b": 66
  },
  "hsl": {
    "h": 135.938,
    "s": 39.506,
    "l": 31.765
  },
  "oklch": {
    "l": 0.49376,
    "c": 0.09961,
    "h": 150
  },
  "luminance": 0.12857
}

Semantic roles & 50–950 ramp

primary
#317142
secondary
#A25C8F
accent
#58B0CF
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#080E08
muted
#7B7E7B

Preview Lab

Preview with #317142

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

Preview Lab → · Contrast checker → · Palette generator →

#317142 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva