#317548#317548

#317548 is a mid, moderate green. Relative luminance 0.138; OKLCH L 50.6% C 0.100 H 152.3°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#317548
RGBrgb(49, 117, 72)
HSLhsl(140, 41%, 33%)
HSVhsv(140, 58%, 46%)
CMYKcmyk(58.1%, 0%, 38.5%, 54.1%)
CIE-LABlab(44.01, -32.48, 18.53)
CIE-LCHlch(44.01, 37.39, 150.29°)
OKLaboklab(50.61% -0.0881 0.0463)
OKLCHoklch(50.61% 0.1 152.3)
XYZxyz(8.7970, 13.8426, 8.3379)
Luminance0.1384 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317548 #75315E
analogous
#3C7531 #317548 #31756A
triadic
#317548 #483175 #754831
tetradic
#317548 #313C75 #75315E #756A31
square
#317548 #313C75 #75315E #756A31
split-complementary
#317548 #6A3175 #75313C
monochromatic
#0D1F13 #1F4A2D #317548 #43A063 #63BE82

Accessibility & contrast

On white

5.57
#317548 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#317548 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317548
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317548#FFFFFF#000000##FFFFFF
##3175481.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756C45
Deuteranopia (green-blind)
#6C654B
Tritanopia (blue-blind)
#1E736A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #317548;
/* rgb */ color: rgb(49, 117, 72);
/* oklch */ color: oklch(50.6% 0.100 152.3);
Tailwind
colors: {
  custom: {
    50: '#6f9d7b',
    500: '#317548',
    950: '#000000',
  },
}
SCSS
$custom: #317548;
$custom-light: #6f9d7b;
$custom-dark: #000000;
JSON
{
  "hex": "#317548",
  "rgb": {
    "r": 49,
    "g": 117,
    "b": 72
  },
  "hsl": {
    "h": 140.294,
    "s": 40.964,
    "l": 32.549
  },
  "oklch": {
    "l": 0.50609,
    "c": 0.09955,
    "h": 152.3
  },
  "luminance": 0.13843
}

Semantic roles & 50–950 ramp

primary
#317548
secondary
#A55D8D
accent
#57A8D1
background
#F7F9F7
surface
#EDF2EE
border
#C8CCC9
text
#080E09
muted
#7B7E7B

Preview Lab

Preview with #317548

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

Preview Lab → · Contrast checker → · Palette generator →

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