#313C2E#313C2E

#313C2E is a dark, muted green. Relative luminance 0.041; OKLCH L 34.2% C 0.028 H 139.0°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#313C2E
RGBrgb(49, 60, 46)
HSLhsl(107, 13%, 21%)
HSVhsv(107, 23%, 24%)
CMYKcmyk(18.3%, 0%, 23.3%, 76.5%)
CIE-LABlab(23.94, -7.81, 7.18)
CIE-LCHlch(23.94, 10.61, 137.40°)
OKLaboklab(34.15% -0.0212 0.0184)
OKLCHoklch(34.15% 0.028 139)
XYZxyz(3.3755, 4.0819, 3.1943)
Luminance0.0408 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313C2E #392E3C
analogous
#383C2E #313C2E #2E3C32
triadic
#313C2E #2E313C #3C2E31
tetradic
#313C2E #2E383C #392E3C #3C322E
square
#313C2E #2E383C #392E3C #3C322E
split-complementary
#313C2E #322E3C #3C2E38
monochromatic
#0E110D #151913 #313C2E #4D5F49 #6A8163

Accessibility & contrast

On white

11.56
#313C2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#313C2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313C2E
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313C2E#FFFFFF#000000##FFFFFF
##313C2E1.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3A2D
Deuteranopia (green-blind)
#3B392F
Tritanopia (blue-blind)
#313B38
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #313c2e;
/* rgb */ color: rgb(49, 60, 46);
/* oklch */ color: oklch(34.2% 0.028 139.0);
Tailwind
colors: {
  custom: {
    50: '#697166',
    500: '#313c2e',
    950: '#000000',
  },
}
SCSS
$custom: #313c2e;
$custom-light: #697166;
$custom-dark: #000000;
JSON
{
  "hex": "#313c2e",
  "rgb": {
    "r": 49,
    "g": 60,
    "b": 46
  },
  "hsl": {
    "h": 107.143,
    "s": 13.208,
    "l": 20.784
  },
  "oklch": {
    "l": 0.34151,
    "c": 0.02806,
    "h": 139
  },
  "luminance": 0.04082
}

Semantic roles & 50–950 ramp

primary
#313C2E
secondary
#685A6C
accent
#72B6A7
background
#F6F6F6
surface
#EBECEB
border
#C6C7C6
text
#060706
muted
#7A7A7A

Preview Lab

Preview with #313C2E

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

Preview Lab → · Contrast checker → · Palette generator →

#313C2E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva