#316F40#316F40

#316F40 is a mid, moderate green. Relative luminance 0.124; OKLCH L 48.8% C 0.099 H 149.4°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#316F40
RGBrgb(49, 111, 64)
HSLhsl(135, 39%, 31%)
HSVhsv(135, 56%, 44%)
CMYKcmyk(55.9%, 0%, 42.3%, 56.5%)
CIE-LABlab(41.83, -31.29, 20.26)
CIE-LCHlch(41.83, 37.27, 147.08°)
OKLaboklab(48.78% -0.0848 0.0502)
OKLCHoklch(48.78% 0.099 149.4)
XYZxyz(7.8759, 12.3913, 6.8262)
Luminance0.1239 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316F40 #6F3160
analogous
#416F31 #316F40 #316F5F
triadic
#316F40 #40316F #6F4031
tetradic
#316F40 #31416F #6F3160 #6F5F31
square
#316F40 #31416F #6F3160 #6F5F31
split-complementary
#316F40 #5F316F #6F3141
monochromatic
#0C1A0F #1E4528 #316F40 #449958 #61B976

Accessibility & contrast

On white

6.04
#316F40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#316F40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316F40
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316F40#FFFFFF#000000##FFFFFF
##316F401.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70663D
Deuteranopia (green-blind)
#676043
Tritanopia (blue-blind)
#236D63
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #316f40;
/* rgb */ color: rgb(49, 111, 64);
/* oklch */ color: oklch(48.8% 0.099 149.4);
Tailwind
colors: {
  custom: {
    50: '#6f9975',
    500: '#316f40',
    950: '#000000',
  },
}
SCSS
$custom: #316f40;
$custom-light: #6f9975;
$custom-dark: #000000;
JSON
{
  "hex": "#316f40",
  "rgb": {
    "r": 49,
    "g": 111,
    "b": 64
  },
  "hsl": {
    "h": 134.516,
    "s": 38.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.4878,
    "c": 0.09859,
    "h": 149.4
  },
  "luminance": 0.12392
}

Semantic roles & 50–950 ramp

primary
#316F40
secondary
#A05C90
accent
#59B2CF
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#080E08
muted
#7B7E7B

Preview Lab

Preview with #316F40

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

Preview Lab → · Contrast checker → · Palette generator →

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