#313B2F#313B2F

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

Color values

HEX#313B2F
RGBrgb(49, 59, 47)
HSLhsl(110, 11%, 21%)
HSVhsv(110, 20%, 23%)
CMYKcmyk(16.9%, 0%, 20.3%, 76.9%)
CIE-LABlab(23.63, -6.97, 6.08)
CIE-LCHlch(23.63, 9.25, 138.91°)
OKLaboklab(33.91% -0.0189 0.0157)
OKLCHoklch(33.91% 0.025 140.4)
XYZxyz(3.3436, 3.9861, 3.2820)
Luminance0.0399 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313B2F #392F3B
analogous
#373B2F #313B2F #2F3B33
triadic
#313B2F #2F313B #3B2F31
tetradic
#313B2F #2F373B #392F3B #3B332F
square
#313B2F #2F373B #392F3B #3B332F
split-complementary
#313B2F #332F3B #3B2F37
monochromatic
#0E110E #151914 #313B2F #4D5D4A #6A7F65

Accessibility & contrast

On white

11.68
#313B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #313B2F
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313B2F#FFFFFF#000000##FFFFFF
##313B2F1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C392E
Deuteranopia (green-blind)
#3A3830
Tritanopia (blue-blind)
#303A38
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #313b2f;
/* rgb */ color: rgb(49, 59, 47);
/* oklch */ color: oklch(33.9% 0.025 140.4);
Tailwind
colors: {
  custom: {
    50: '#697167',
    500: '#313b2f',
    950: '#000000',
  },
}
SCSS
$custom: #313b2f;
$custom-light: #697167;
$custom-dark: #000000;
JSON
{
  "hex": "#313b2f",
  "rgb": {
    "r": 49,
    "g": 59,
    "b": 47
  },
  "hsl": {
    "h": 110,
    "s": 11.321,
    "l": 20.784
  },
  "oklch": {
    "l": 0.33908,
    "c": 0.02456,
    "h": 140.4
  },
  "luminance": 0.03986
}

Semantic roles & 50–950 ramp

primary
#313B2F
secondary
#685B6B
accent
#74B4A9
background
#F6F6F6
surface
#EBECEB
border
#C6C7C6
text
#060706
muted
#7A7A7A

Preview Lab

Preview with #313B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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