#313D2B#313D2B

#313D2B is a dark, muted green. Relative luminance 0.042; OKLCH L 34.3% C 0.034 H 135.4°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#313D2B
RGBrgb(49, 61, 43)
HSLhsl(100, 17%, 20%)
HSVhsv(100, 30%, 24%)
CMYKcmyk(19.7%, 0%, 29.5%, 76.1%)
CIE-LABlab(24.21, -9.03, 9.52)
CIE-LCHlch(24.21, 13.12, 133.49°)
OKLaboklab(34.34% -0.0245 0.0242)
OKLCHoklch(34.34% 0.034 135.4)
XYZxyz(3.3713, 4.1648, 2.9113)
Luminance0.0416 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313D2B #372B3D
analogous
#3A3D2B #313D2B #2B3D2E
triadic
#313D2B #2B313D #3D2B31
tetradic
#313D2B #2B3A3D #372B3D #3D2E2B
square
#313D2B #2B3A3D #372B3D #3D2E2B
split-complementary
#313D2B #2E2B3D #3D2B3A
monochromatic
#0E120D #141912 #313D2B #4E6144 #6B855E

Accessibility & contrast

On white

11.46
#313D2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #313D2B
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313D2B#FFFFFF#000000##FFFFFF
##313D2B1.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #313d2b;
/* rgb */ color: rgb(49, 61, 43);
/* oklch */ color: oklch(34.3% 0.034 135.4);
Tailwind
colors: {
  custom: {
    50: '#697264',
    500: '#313d2b',
    950: '#000000',
  },
}
SCSS
$custom: #313d2b;
$custom-light: #697264;
$custom-dark: #000000;
JSON
{
  "hex": "#313d2b",
  "rgb": {
    "r": 49,
    "g": 61,
    "b": 43
  },
  "hsl": {
    "h": 100,
    "s": 17.308,
    "l": 20.392
  },
  "oklch": {
    "l": 0.34341,
    "c": 0.03439,
    "h": 135.4
  },
  "luminance": 0.04165
}

Semantic roles & 50–950 ramp

primary
#313D2B
secondary
#66566E
accent
#6EBAA1
background
#F6F6F5
surface
#EBECEA
border
#C6C7C6
text
#060805
muted
#7A7B79

Preview Lab

Preview with #313D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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