#313C2D#313C2D

#313C2D is a dark, muted green. Relative luminance 0.041; OKLCH L 34.1% C 0.029 H 137.4°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#313C2D
RGBrgb(49, 60, 45)
HSLhsl(104, 14%, 21%)
HSVhsv(104, 25%, 24%)
CMYKcmyk(18.3%, 0%, 25%, 76.5%)
CIE-LABlab(23.91, -8.01, 7.80)
CIE-LCHlch(23.91, 11.19, 135.76°)
OKLaboklab(34.12% -0.0217 0.02)
OKLCHoklch(34.12% 0.029 137.4)
XYZxyz(3.3560, 4.0741, 3.0917)
Luminance0.0407 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313C2D #382D3C
analogous
#383C2D #313C2D #2D3C30
triadic
#313C2D #2D313C #3C2D31
tetradic
#313C2D #2D383C #382D3C #3C302D
square
#313C2D #2D383C #382D3C #3C302D
split-complementary
#313C2D #302D3C #3C2D38
monochromatic
#0E110D #141913 #313C2D #4E5F47 #6A8261

Accessibility & contrast

On white

11.57
#313C2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#313C2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313C2D
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313C2D#FFFFFF#000000##FFFFFF
##313C2D1.0011.571.8111.57
#FFFFFF11.571.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #313c2d;
/* rgb */ color: rgb(49, 60, 45);
/* oklch */ color: oklch(34.1% 0.029 137.4);
Tailwind
colors: {
  custom: {
    50: '#697165',
    500: '#313c2d',
    950: '#000000',
  },
}
SCSS
$custom: #313c2d;
$custom-light: #697165;
$custom-dark: #000000;
JSON
{
  "hex": "#313c2d",
  "rgb": {
    "r": 49,
    "g": 60,
    "b": 45
  },
  "hsl": {
    "h": 104,
    "s": 14.286,
    "l": 20.588
  },
  "oklch": {
    "l": 0.34122,
    "c": 0.02948,
    "h": 137.4
  },
  "luminance": 0.04074
}

Semantic roles & 50–950 ramp

primary
#313C2D
secondary
#67596C
accent
#71B7A4
background
#F6F6F6
surface
#EBECEB
border
#C6C7C6
text
#060705
muted
#7A7A7A

Preview Lab

Preview with #313C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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