#317145#317145

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

Color values

HEX#317145
RGBrgb(49, 113, 69)
HSLhsl(139, 40%, 32%)
HSVhsv(139, 57%, 44%)
CMYKcmyk(56.6%, 0%, 38.9%, 55.7%)
CIE-LABlab(42.60, -31.25, 18.39)
CIE-LCHlch(42.60, 36.26, 149.52°)
OKLaboklab(49.44% -0.0848 0.046)
OKLCHoklch(49.44% 0.096 151.5)
XYZxyz(8.2453, 12.8922, 7.6830)
Luminance0.1289 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317145 #71315D
analogous
#3D7131 #317145 #317165
triadic
#317145 #453171 #714531
tetradic
#317145 #313D71 #71315D #716531
square
#317145 #313D71 #71315D #716531
split-complementary
#317145 #653171 #71313D
monochromatic
#0C1C11 #1E462B #317145 #449C5F #62BB7D

Accessibility & contrast

On white

5.87
#317145 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#317145 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317145
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317145#FFFFFF#000000##FFFFFF
##3171451.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716842
Deuteranopia (green-blind)
#686248
Tritanopia (blue-blind)
#216F66
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #317145;
/* rgb */ color: rgb(49, 113, 69);
/* oklch */ color: oklch(49.4% 0.096 151.5);
Tailwind
colors: {
  custom: {
    50: '#6f9a79',
    500: '#317145',
    950: '#000000',
  },
}
SCSS
$custom: #317145;
$custom-light: #6f9a79;
$custom-dark: #000000;
JSON
{
  "hex": "#317145",
  "rgb": {
    "r": 49,
    "g": 113,
    "b": 69
  },
  "hsl": {
    "h": 138.75,
    "s": 39.506,
    "l": 31.765
  },
  "oklch": {
    "l": 0.49439,
    "c": 0.09644,
    "h": 151.5
  },
  "luminance": 0.12893
}

Semantic roles & 50–950 ramp

primary
#317145
secondary
#A25C8C
accent
#58AACF
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#080E09
muted
#7B7E7B

Preview Lab

Preview with #317145

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

Preview Lab → · Contrast checker → · Palette generator →

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