#313A2D#313A2D

#313A2D is a dark, muted green. Relative luminance 0.039; OKLCH L 33.6% C 0.025 H 136.1°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#313A2D
RGBrgb(49, 58, 45)
HSLhsl(102, 13%, 20%)
HSVhsv(102, 22%, 23%)
CMYKcmyk(15.5%, 0%, 22.4%, 77.3%)
CIE-LABlab(23.23, -6.76, 6.85)
CIE-LCHlch(23.23, 9.63, 134.62°)
OKLaboklab(33.58% -0.0183 0.0176)
OKLCHoklch(33.58% 0.025 136.1)
XYZxyz(3.2532, 3.8685, 3.0574)
Luminance0.0387 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313A2D #362D3A
analogous
#373A2D #313A2D #2D3A2F
triadic
#313A2D #2D313A #3A2D31
tetradic
#313A2D #2D373A #362D3A #3A2F2D
square
#313A2D #2D373A #362D3A #3A2F2D
split-complementary
#313A2D #2F2D3A #3A2D37
monochromatic
#0F110D #141812 #313A2D #4E5C48 #6B7F62

Accessibility & contrast

On white

11.84
#313A2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#313A2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313A2D
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313A2D#FFFFFF#000000##FFFFFF
##313A2D1.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B382C
Deuteranopia (green-blind)
#3A372E
Tritanopia (blue-blind)
#313936
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #313a2d;
/* rgb */ color: rgb(49, 58, 45);
/* oklch */ color: oklch(33.6% 0.025 136.1);
Tailwind
colors: {
  custom: {
    50: '#697065',
    500: '#313a2d',
    950: '#000000',
  },
}
SCSS
$custom: #313a2d;
$custom-light: #697065;
$custom-dark: #000000;
JSON
{
  "hex": "#313a2d",
  "rgb": {
    "r": 49,
    "g": 58,
    "b": 45
  },
  "hsl": {
    "h": 101.538,
    "s": 12.621,
    "l": 20.196
  },
  "oklch": {
    "l": 0.33577,
    "c": 0.02535,
    "h": 136.1
  },
  "luminance": 0.03869
}

Semantic roles & 50–950 ramp

primary
#313A2D
secondary
#65596A
accent
#72B5A1
background
#F6F6F6
surface
#EBECEB
border
#C6C7C6
text
#060705
muted
#7A7A7A

Preview Lab

Preview with #313A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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