#313B2E#313B2E

#313B2E is a dark, muted green. Relative luminance 0.040; OKLCH L 33.9% C 0.026 H 138.5°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#313B2E
RGBrgb(49, 59, 46)
HSLhsl(106, 12%, 21%)
HSVhsv(106, 22%, 23%)
CMYKcmyk(16.9%, 0%, 22%, 76.9%)
CIE-LABlab(23.60, -7.18, 6.70)
CIE-LCHlch(23.60, 9.82, 136.98°)
OKLaboklab(33.88% -0.0195 0.0172)
OKLCHoklch(33.88% 0.026 138.5)
XYZxyz(3.3236, 3.9781, 3.1770)
Luminance0.0398 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313B2E #382E3B
analogous
#373B2E #313B2E #2E3B31
triadic
#313B2E #2E313B #3B2E31
tetradic
#313B2E #2E373B #382E3B #3B312E
square
#313B2E #2E373B #382E3B #3B312E
split-complementary
#313B2E #312E3B #3B2E37
monochromatic
#0E110D #141913 #313B2E #4E5D49 #6A8064

Accessibility & contrast

On white

11.70
#313B2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#313B2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313B2E
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313B2E#FFFFFF#000000##FFFFFF
##313B2E1.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C392D
Deuteranopia (green-blind)
#3A382F
Tritanopia (blue-blind)
#313A37
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #313b2e;
/* rgb */ color: rgb(49, 59, 46);
/* oklch */ color: oklch(33.9% 0.026 138.5);
Tailwind
colors: {
  custom: {
    50: '#697166',
    500: '#313b2e',
    950: '#000000',
  },
}
SCSS
$custom: #313b2e;
$custom-light: #697166;
$custom-dark: #000000;
JSON
{
  "hex": "#313b2e",
  "rgb": {
    "r": 49,
    "g": 59,
    "b": 46
  },
  "hsl": {
    "h": 106.154,
    "s": 12.381,
    "l": 20.588
  },
  "oklch": {
    "l": 0.33878,
    "c": 0.02598,
    "h": 138.5
  },
  "luminance": 0.03978
}

Semantic roles & 50–950 ramp

primary
#313B2E
secondary
#675A6B
accent
#73B5A6
background
#F6F6F6
surface
#EBECEB
border
#C6C7C6
text
#060706
muted
#7A7A7A

Preview Lab

Preview with #313B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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