#313D2F#313D2F

#313D2F is a dark, muted green. Relative luminance 0.042; OKLCH L 34.5% C 0.029 H 141.1°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#313D2F
RGBrgb(49, 61, 47)
HSLhsl(111, 13%, 21%)
HSVhsv(111, 23%, 24%)
CMYKcmyk(19.7%, 0%, 23%, 76.1%)
CIE-LABlab(24.31, -8.22, 7.03)
CIE-LCHlch(24.31, 10.82, 139.44°)
OKLaboklab(34.45% -0.0224 0.0181)
OKLCHoklch(34.45% 0.029 141.1)
XYZxyz(3.4483, 4.1956, 3.3169)
Luminance0.0420 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313D2F #3B2F3D
analogous
#383D2F #313D2F #2F3D34
triadic
#313D2F #2F313D #3D2F31
tetradic
#313D2F #2F383D #3B2F3D #3D342F
square
#313D2F #2F383D #3B2F3D #3D342F
split-complementary
#313D2F #342F3D #3D2F38
monochromatic
#0E110D #151A14 #313D2F #4D604A #698264

Accessibility & contrast

On white

11.42
#313D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#313D2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313D2F
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313D2F#FFFFFF#000000##FFFFFF
##313D2F1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3B2E
Deuteranopia (green-blind)
#3C3930
Tritanopia (blue-blind)
#303C39
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #313d2f;
/* rgb */ color: rgb(49, 61, 47);
/* oklch */ color: oklch(34.5% 0.029 141.1);
Tailwind
colors: {
  custom: {
    50: '#697267',
    500: '#313d2f',
    950: '#000000',
  },
}
SCSS
$custom: #313d2f;
$custom-light: #697267;
$custom-dark: #000000;
JSON
{
  "hex": "#313d2f",
  "rgb": {
    "r": 49,
    "g": 61,
    "b": 47
  },
  "hsl": {
    "h": 111.429,
    "s": 12.963,
    "l": 21.176
  },
  "oklch": {
    "l": 0.34453,
    "c": 0.02874,
    "h": 141.1
  },
  "luminance": 0.04196
}

Semantic roles & 50–950 ramp

primary
#313D2F
secondary
#6A5B6D
accent
#72B6AC
background
#F6F6F6
surface
#EBECEB
border
#C6C7C6
text
#060806
muted
#7A7B7A

Preview Lab

Preview with #313D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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