#313D2D#313D2D

#313D2D is a dark, muted green. Relative luminance 0.042; OKLCH L 34.4% C 0.032 H 137.9°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#313D2D
RGBrgb(49, 61, 45)
HSLhsl(105, 15%, 21%)
HSVhsv(105, 26%, 24%)
CMYKcmyk(19.7%, 0%, 26.2%, 76.1%)
CIE-LABlab(24.26, -8.63, 8.28)
CIE-LCHlch(24.26, 11.96, 136.20°)
OKLaboklab(34.39% -0.0234 0.0211)
OKLCHoklch(34.39% 0.032 137.9)
XYZxyz(3.4089, 4.1799, 3.1093)
Luminance0.0418 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313D2D #392D3D
analogous
#393D2D #313D2D #2D3D31
triadic
#313D2D #2D313D #3D2D31
tetradic
#313D2D #2D393D #392D3D #3D312D
square
#313D2D #2D393D #392D3D #3D312D
split-complementary
#313D2D #312D3D #3D2D39
monochromatic
#0E120D #151A13 #313D2D #4D6047 #6A8361

Accessibility & contrast

On white

11.44
#313D2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#313D2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313D2D
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313D2D#FFFFFF#000000##FFFFFF
##313D2D1.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3A2C
Deuteranopia (green-blind)
#3C392E
Tritanopia (blue-blind)
#313C39
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #313d2d;
/* rgb */ color: rgb(49, 61, 45);
/* oklch */ color: oklch(34.4% 0.032 137.9);
Tailwind
colors: {
  custom: {
    50: '#697266',
    500: '#313d2d',
    950: '#000000',
  },
}
SCSS
$custom: #313d2d;
$custom-light: #697266;
$custom-dark: #000000;
JSON
{
  "hex": "#313d2d",
  "rgb": {
    "r": 49,
    "g": 61,
    "b": 45
  },
  "hsl": {
    "h": 105,
    "s": 15.094,
    "l": 20.784
  },
  "oklch": {
    "l": 0.34395,
    "c": 0.03154,
    "h": 137.9
  },
  "luminance": 0.0418
}

Semantic roles & 50–950 ramp

primary
#313D2D
secondary
#68586D
accent
#70B8A6
background
#F6F6F6
surface
#EBECEB
border
#C6C7C6
text
#060805
muted
#7A7B7A

Preview Lab

Preview with #313D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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