#315641#315641

#315641 is a dark, muted green. Relative luminance 0.077; OKLCH L 41.9% C 0.056 H 158.0°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#315641
RGBrgb(49, 86, 65)
HSLhsl(146, 27%, 26%)
HSVhsv(146, 43%, 34%)
CMYKcmyk(43%, 0%, 24.4%, 66.3%)
CIE-LABlab(33.33, -18.66, 8.14)
CIE-LCHlch(33.33, 20.36, 156.44°)
OKLaboklab(41.86% -0.0515 0.0209)
OKLCHoklch(41.86% 0.056 158)
XYZxyz(5.5482, 7.6898, 6.1919)
Luminance0.0769 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315641 #563146
analogous
#345631 #315641 #315654
triadic
#315641 #413156 #564131
tetradic
#315641 #313456 #563146 #565431
square
#315641 #313456 #563146 #565431
split-complementary
#315641 #543156 #563134
monochromatic
#0B130F #1B2F24 #315641 #477D5E #5EA37C

Accessibility & contrast

On white

8.27
#315641 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#315641 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315641
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315641#FFFFFF#000000##FFFFFF
##3156411.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555140
Deuteranopia (green-blind)
#504D42
Tritanopia (blue-blind)
#295650
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #315641;
/* rgb */ color: rgb(49, 86, 65);
/* oklch */ color: oklch(41.9% 0.056 158.0);
Tailwind
colors: {
  custom: {
    50: '#6b8675',
    500: '#315641',
    950: '#000000',
  },
}
SCSS
$custom: #315641;
$custom-light: #6b8675;
$custom-dark: #000000;
JSON
{
  "hex": "#315641",
  "rgb": {
    "r": 49,
    "g": 86,
    "b": 65
  },
  "hsl": {
    "h": 145.946,
    "s": 27.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.4186,
    "c": 0.0556,
    "h": 158
  },
  "luminance": 0.0769
}

Semantic roles & 50–950 ramp

primary
#315641
secondary
#875C74
accent
#649AC4
background
#F6F8F7
surface
#EBEFED
border
#C6CAC8
text
#070B08
muted
#7A7C7B

Preview Lab

Preview with #315641

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

Preview Lab → · Contrast checker → · Palette generator →

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