#317337#317337

#317337 is a mid, moderate green. Relative luminance 0.132; OKLCH L 49.7% C 0.114 H 145.3°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#317337
RGBrgb(49, 115, 55)
HSLhsl(125, 40%, 32%)
HSVhsv(125, 57%, 45%)
CMYKcmyk(57.4%, 0%, 52.2%, 54.9%)
CIE-LABlab(43.05, -34.61, 26.84)
CIE-LCHlch(43.05, 43.80, 142.20°)
OKLaboklab(49.73% -0.0938 0.0649)
OKLCHoklch(49.73% 0.114 145.3)
XYZxyz(8.0865, 13.1896, 5.7334)
Luminance0.1319 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317337 #73316D
analogous
#4C7331 #317337 #317358
triadic
#317337 #373173 #733731
tetradic
#317337 #314C73 #73316D #735831
square
#317337 #314C73 #73316D #735831
split-complementary
#317337 #583173 #73314C
monochromatic
#0C1D0E #1F4822 #317337 #439E4C #62BC6A

Accessibility & contrast

On white

5.77
#317337 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#317337 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317337
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317337#FFFFFF#000000##FFFFFF
##3173371.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756932
Deuteranopia (green-blind)
#6C633B
Tritanopia (blue-blind)
#257065
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #317337;
/* rgb */ color: rgb(49, 115, 55);
/* oklch */ color: oklch(49.7% 0.114 145.3);
Tailwind
colors: {
  custom: {
    50: '#709c6f',
    500: '#317337',
    950: '#000000',
  },
}
SCSS
$custom: #317337;
$custom-light: #709c6f;
$custom-dark: #000000;
JSON
{
  "hex": "#317337",
  "rgb": {
    "r": 49,
    "g": 115,
    "b": 55
  },
  "hsl": {
    "h": 125.455,
    "s": 40.244,
    "l": 32.157
  },
  "oklch": {
    "l": 0.4973,
    "c": 0.1141,
    "h": 145.3
  },
  "luminance": 0.1319
}

Semantic roles & 50–950 ramp

primary
#317337
secondary
#A45C9D
accent
#58C5D0
background
#F7F9F6
surface
#EDF2EC
border
#C8CCC7
text
#080E07
muted
#7B7E7A

Preview Lab

Preview with #317337

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

Preview Lab → · Contrast checker → · Palette generator →

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