#313A35#313A35

#313A35 is a dark, near-neutral green. Relative luminance 0.039; OKLCH L 33.8% C 0.015 H 161.2°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#313A35
RGBrgb(49, 58, 53)
HSLhsl(147, 8%, 21%)
HSVhsv(147, 16%, 23%)
CMYKcmyk(15.5%, 0%, 8.6%, 77.3%)
CIE-LABlab(23.46, -4.98, 1.84)
CIE-LCHlch(23.46, 5.31, 159.69°)
OKLaboklab(33.83% -0.0141 0.0048)
OKLCHoklch(33.83% 0.015 161.2)
XYZxyz(3.4221, 3.9361, 3.9469)
Luminance0.0394 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313A35 #3A3136
analogous
#313A31 #313A35 #313A39
triadic
#313A35 #35313A #3A3531
tetradic
#313A35 #31313A #3A3136 #3A3931
square
#313A35 #31313A #3A3136 #3A3931
split-complementary
#313A35 #39313A #3A3131
monochromatic
#0E110F #151917 #313A35 #4D5B53 #697C72

Accessibility & contrast

On white

11.75
#313A35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #313A35
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313A35#FFFFFF#000000##FFFFFF
##313A351.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3935
Deuteranopia (green-blind)
#383735
Tritanopia (blue-blind)
#2F3A38
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #313a35;
/* rgb */ color: rgb(49, 58, 53);
/* oklch */ color: oklch(33.8% 0.015 161.2);
Tailwind
colors: {
  custom: {
    50: '#69706c',
    500: '#313a35',
    950: '#000000',
  },
}
SCSS
$custom: #313a35;
$custom-light: #69706c;
$custom-dark: #000000;
JSON
{
  "hex": "#313a35",
  "rgb": {
    "r": 49,
    "g": 58,
    "b": 53
  },
  "hsl": {
    "h": 146.667,
    "s": 8.411,
    "l": 20.98
  },
  "oklch": {
    "l": 0.33833,
    "c": 0.01487,
    "h": 161.2
  },
  "luminance": 0.03936
}

Semantic roles & 50–950 ramp

primary
#313A35
secondary
#695E64
accent
#7697B1
background
#F6F6F6
surface
#EBECEB
border
#C6C7C6
text
#060706
muted
#7A7A7A

Preview Lab

Preview with #313A35

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

Preview Lab → · Contrast checker → · Palette generator →

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