#313B2D#313B2D

#313B2D is a dark, muted green. Relative luminance 0.040; OKLCH L 33.8% C 0.027 H 136.8°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#313B2D
RGBrgb(49, 59, 45)
HSLhsl(103, 13%, 20%)
HSVhsv(103, 24%, 23%)
CMYKcmyk(16.9%, 0%, 23.7%, 76.9%)
CIE-LABlab(23.57, -7.39, 7.33)
CIE-LCHlch(23.57, 10.41, 135.24°)
OKLaboklab(33.85% -0.02 0.0188)
OKLCHoklch(33.85% 0.027 136.8)
XYZxyz(3.3041, 3.9703, 3.0744)
Luminance0.0397 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313B2D #372D3B
analogous
#383B2D #313B2D #2D3B30
triadic
#313B2D #2D313B #3B2D31
tetradic
#313B2D #2D383B #372D3B #3B302D
square
#313B2D #2D383B #372D3B #3B302D
split-complementary
#313B2D #302D3B #3B2D38
monochromatic
#0E110D #141813 #313B2D #4E5E47 #6B8062

Accessibility & contrast

On white

11.71
#313B2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#313B2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313B2D
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313B2D#FFFFFF#000000##FFFFFF
##313B2D1.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #313b2d;
/* rgb */ color: rgb(49, 59, 45);
/* oklch */ color: oklch(33.8% 0.027 136.8);
Tailwind
colors: {
  custom: {
    50: '#697165',
    500: '#313b2d',
    950: '#000000',
  },
}
SCSS
$custom: #313b2d;
$custom-light: #697165;
$custom-dark: #000000;
JSON
{
  "hex": "#313b2d",
  "rgb": {
    "r": 49,
    "g": 59,
    "b": 45
  },
  "hsl": {
    "h": 102.857,
    "s": 13.462,
    "l": 20.392
  },
  "oklch": {
    "l": 0.33849,
    "c": 0.02742,
    "h": 136.8
  },
  "luminance": 0.0397
}

Semantic roles & 50–950 ramp

primary
#313B2D
secondary
#66596B
accent
#72B6A3
background
#F6F6F6
surface
#EBECEB
border
#C6C7C6
text
#060705
muted
#7A7A7A

Preview Lab

Preview with #313B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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