#316F4E#316F4E

#316F4E is a mid, moderate green. Relative luminance 0.126; OKLCH L 49.1% C 0.084 H 157.9°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#316F4E
RGBrgb(49, 111, 78)
HSLhsl(148, 39%, 31%)
HSVhsv(148, 56%, 44%)
CMYKcmyk(55.9%, 0%, 29.7%, 56.5%)
CIE-LABlab(42.11, -28.42, 12.45)
CIE-LCHlch(42.11, 31.02, 156.35°)
OKLaboklab(49.1% -0.0778 0.0317)
OKLCHoklch(49.1% 0.084 157.9)
XYZxyz(8.3255, 12.5712, 9.1940)
Luminance0.1257 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316F4E #6F3152
analogous
#336F31 #316F4E #316F6D
triadic
#316F4E #4E316F #6F4E31
tetradic
#316F4E #31336F #6F3152 #6F6D31
square
#316F4E #31336F #6F3152 #6F6D31
split-complementary
#316F4E #6D316F #6F3133
monochromatic
#0C1A12 #1E4530 #316F4E #44996C #61B98A

Accessibility & contrast

On white

5.98
#316F4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#316F4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316F4E
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316F4E#FFFFFF#000000##FFFFFF
##316F4E1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E674C
Deuteranopia (green-blind)
#656150
Tritanopia (blue-blind)
#1E6E66
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #316f4e;
/* rgb */ color: rgb(49, 111, 78);
/* oklch */ color: oklch(49.1% 0.084 157.9);
Tailwind
colors: {
  custom: {
    50: '#6e997f',
    500: '#316f4e',
    950: '#000000',
  },
}
SCSS
$custom: #316f4e;
$custom-light: #6e997f;
$custom-dark: #000000;
JSON
{
  "hex": "#316f4e",
  "rgb": {
    "r": 49,
    "g": 111,
    "b": 78
  },
  "hsl": {
    "h": 148.065,
    "s": 38.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.49099,
    "c": 0.08399,
    "h": 157.9
  },
  "luminance": 0.12572
}

Semantic roles & 50–950 ramp

primary
#316F4E
secondary
#A05C80
accent
#5998CF
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#080E0A
muted
#7B7E7C

Preview Lab

Preview with #316F4E

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

Preview Lab → · Contrast checker → · Palette generator →

#316F4E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva