#317148#317148

#317148 is a mid, moderate green. Relative luminance 0.129; OKLCH L 49.5% C 0.093 H 153.2°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#317148
RGBrgb(49, 113, 72)
HSLhsl(142, 40%, 32%)
HSVhsv(142, 57%, 44%)
CMYKcmyk(56.6%, 0%, 36.3%, 55.7%)
CIE-LABlab(42.66, -30.65, 16.72)
CIE-LCHlch(42.66, 34.91, 151.38°)
OKLaboklab(49.51% -0.0833 0.042)
OKLCHoklch(49.51% 0.093 153.2)
XYZxyz(8.3408, 12.9304, 8.1859)
Luminance0.1293 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317148 #71315A
analogous
#3A7131 #317148 #317168
triadic
#317148 #483171 #714831
tetradic
#317148 #313A71 #71315A #716831
square
#317148 #313A71 #71315A #716831
split-complementary
#317148 #683171 #71313A
monochromatic
#0C1C12 #1E462D #317148 #449C63 #62BB82

Accessibility & contrast

On white

5.86
#317148 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#317148 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317148
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317148#FFFFFF#000000##FFFFFF
##3171481.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716845
Deuteranopia (green-blind)
#68624B
Tritanopia (blue-blind)
#207066
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #317148;
/* rgb */ color: rgb(49, 113, 72);
/* oklch */ color: oklch(49.5% 0.093 153.2);
Tailwind
colors: {
  custom: {
    50: '#6f9a7b',
    500: '#317148',
    950: '#000000',
  },
}
SCSS
$custom: #317148;
$custom-light: #6f9a7b;
$custom-dark: #000000;
JSON
{
  "hex": "#317148",
  "rgb": {
    "r": 49,
    "g": 113,
    "b": 72
  },
  "hsl": {
    "h": 141.563,
    "s": 39.506,
    "l": 31.765
  },
  "oklch": {
    "l": 0.49505,
    "c": 0.09329,
    "h": 153.2
  },
  "luminance": 0.12931
}

Semantic roles & 50–950 ramp

primary
#317148
secondary
#A25C89
accent
#58A5CF
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#080E09
muted
#7B7E7B

Preview Lab

Preview with #317148

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

Preview Lab → · Contrast checker → · Palette generator →

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