#313D2C#313D2C

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

Color values

HEX#313D2C
RGBrgb(49, 61, 44)
HSLhsl(102, 16%, 21%)
HSVhsv(102, 28%, 24%)
CMYKcmyk(19.7%, 0%, 27.9%, 76.1%)
CIE-LABlab(24.23, -8.83, 8.90)
CIE-LCHlch(24.23, 12.54, 134.79°)
OKLaboklab(34.37% -0.0239 0.0227)
OKLCHoklch(34.37% 0.033 136.6)
XYZxyz(3.3899, 4.1722, 3.0091)
Luminance0.0417 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313D2C #382C3D
analogous
#393D2C #313D2C #2C3D2F
triadic
#313D2C #2C313D #3D2C31
tetradic
#313D2C #2C393D #382C3D #3D2F2C
square
#313D2C #2C393D #382C3D #3D2F2C
split-complementary
#313D2C #2F2C3D #3D2C39
monochromatic
#0E120D #141912 #313D2C #4E6146 #6A845F

Accessibility & contrast

On white

11.45
#313D2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#313D2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313D2C
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313D2C#FFFFFF#000000##FFFFFF
##313D2C1.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3A2B
Deuteranopia (green-blind)
#3C392D
Tritanopia (blue-blind)
#313C38
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #313d2c;
/* rgb */ color: rgb(49, 61, 44);
/* oklch */ color: oklch(34.4% 0.033 136.6);
Tailwind
colors: {
  custom: {
    50: '#697265',
    500: '#313d2c',
    950: '#000000',
  },
}
SCSS
$custom: #313d2c;
$custom-light: #697265;
$custom-dark: #000000;
JSON
{
  "hex": "#313d2c",
  "rgb": {
    "r": 49,
    "g": 61,
    "b": 44
  },
  "hsl": {
    "h": 102.353,
    "s": 16.19,
    "l": 20.588
  },
  "oklch": {
    "l": 0.34368,
    "c": 0.03296,
    "h": 136.6
  },
  "luminance": 0.04172
}

Semantic roles & 50–950 ramp

primary
#313D2C
secondary
#67576E
accent
#6FB9A3
background
#F6F6F6
surface
#EBECEB
border
#C6C7C6
text
#060805
muted
#7A7B7A

Preview Lab

Preview with #313D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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