#317137#317137

#317137 is a mid, moderate green. Relative luminance 0.127; OKLCH L 49.2% C 0.111 H 145.4°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#317137
RGBrgb(49, 113, 55)
HSLhsl(126, 40%, 32%)
HSVhsv(126, 57%, 44%)
CMYKcmyk(56.6%, 0%, 51.3%, 55.7%)
CIE-LABlab(42.37, -33.73, 26.00)
CIE-LCHlch(42.37, 42.59, 142.38°)
OKLaboklab(49.17% -0.0915 0.063)
OKLCHoklch(49.17% 0.111 145.4)
XYZxyz(7.8609, 12.7384, 5.6582)
Luminance0.1274 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317137 #71316B
analogous
#4B7131 #317137 #317157
triadic
#317137 #373171 #713731
tetradic
#317137 #314B71 #71316B #715731
square
#317137 #314B71 #71316B #715731
split-complementary
#317137 #573171 #71314B
monochromatic
#0C1C0D #1E4622 #317137 #449C4C #62BB6A

Accessibility & contrast

On white

5.92
#317137 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#317137 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317137
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317137#FFFFFF#000000##FFFFFF
##3171371.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736832
Deuteranopia (green-blind)
#6A623B
Tritanopia (blue-blind)
#266E63
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #317137;
/* rgb */ color: rgb(49, 113, 55);
/* oklch */ color: oklch(49.2% 0.111 145.4);
Tailwind
colors: {
  custom: {
    50: '#6f9a6f',
    500: '#317137',
    950: '#000000',
  },
}
SCSS
$custom: #317137;
$custom-light: #6f9a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#317137",
  "rgb": {
    "r": 49,
    "g": 113,
    "b": 55
  },
  "hsl": {
    "h": 125.625,
    "s": 39.506,
    "l": 31.765
  },
  "oklch": {
    "l": 0.49171,
    "c": 0.11109,
    "h": 145.4
  },
  "luminance": 0.12739
}

Semantic roles & 50–950 ramp

primary
#317137
secondary
#A25C9B
accent
#58C4CF
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#080E07
muted
#7B7E7A

Preview Lab

Preview with #317137

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

Preview Lab → · Contrast checker → · Palette generator →

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