#313E35#313E35

#313E35 is a dark, muted green. Relative luminance 0.044; OKLCH L 34.9% C 0.023 H 154.8°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#313E35
RGBrgb(49, 62, 53)
HSLhsl(138, 12%, 22%)
HSVhsv(138, 21%, 24%)
CMYKcmyk(21%, 0%, 14.5%, 75.7%)
CIE-LABlab(24.81, -7.51, 3.79)
CIE-LCHlch(24.81, 8.41, 153.23°)
OKLaboklab(34.91% -0.0209 0.0098)
OKLCHoklch(34.91% 0.023 154.8)
XYZxyz(3.6317, 4.3552, 4.0168)
Luminance0.0435 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313E35 #3E313A
analogous
#343E31 #313E35 #313E3C
triadic
#313E35 #35313E #3E3531
tetradic
#313E35 #31343E #3E313A #3E3C31
square
#313E35 #31343E #3E313A #3E3C31
split-complementary
#313E35 #3C313E #3E3134
monochromatic
#0E110F #161C18 #313E35 #4C6052 #67826F

Accessibility & contrast

On white

11.22
#313E35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#313E35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313E35
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313E35#FFFFFF#000000##FFFFFF
##313E351.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3C35
Deuteranopia (green-blind)
#3C3A35
Tritanopia (blue-blind)
#2F3E3B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #313e35;
/* rgb */ color: rgb(49, 62, 53);
/* oklch */ color: oklch(34.9% 0.023 154.8);
Tailwind
colors: {
  custom: {
    50: '#69736c',
    500: '#313e35',
    950: '#000000',
  },
}
SCSS
$custom: #313e35;
$custom-light: #69736c;
$custom-dark: #000000;
JSON
{
  "hex": "#313e35",
  "rgb": {
    "r": 49,
    "g": 62,
    "b": 53
  },
  "hsl": {
    "h": 138.462,
    "s": 11.712,
    "l": 21.765
  },
  "oklch": {
    "l": 0.34909,
    "c": 0.02309,
    "h": 154.8
  },
  "luminance": 0.04355
}

Semantic roles & 50–950 ramp

primary
#313E35
secondary
#6E5D69
accent
#73A0B5
background
#F6F6F6
surface
#EBECEB
border
#C6C7C6
text
#060806
muted
#7A7B7A

Preview Lab

Preview with #313E35

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

Preview Lab → · Contrast checker → · Palette generator →

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