#313E37#313E37

#313E37 is a dark, muted green. Relative luminance 0.044; OKLCH L 35.0% C 0.021 H 161.6°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#313E37
RGBrgb(49, 62, 55)
HSLhsl(148, 12%, 22%)
HSVhsv(148, 21%, 24%)
CMYKcmyk(21%, 0%, 11.3%, 75.7%)
CIE-LABlab(24.87, -7.04, 2.55)
CIE-LCHlch(24.87, 7.49, 160.09°)
OKLaboklab(34.98% -0.0199 0.0066)
OKLCHoklch(34.98% 0.021 161.6)
XYZxyz(3.6787, 4.3740, 4.2641)
Luminance0.0437 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313E37 #3E3138
analogous
#323E31 #313E37 #313E3E
triadic
#313E37 #37313E #3E3731
tetradic
#313E37 #31323E #3E3138 #3E3E31
square
#313E37 #31323E #3E3138 #3E3E31
split-complementary
#313E37 #3E313E #3E3132
monochromatic
#0E110F #161C19 #313E37 #4C6055 #678274

Accessibility & contrast

On white

11.20
#313E37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #313E37
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313E37#FFFFFF#000000##FFFFFF
##313E371.0011.201.8711.20
#FFFFFF11.201.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3C37
Deuteranopia (green-blind)
#3B3A37
Tritanopia (blue-blind)
#2F3E3C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #313e37;
/* rgb */ color: rgb(49, 62, 55);
/* oklch */ color: oklch(35.0% 0.021 161.6);
Tailwind
colors: {
  custom: {
    50: '#69736d',
    500: '#313e37',
    950: '#000000',
  },
}
SCSS
$custom: #313e37;
$custom-light: #69736d;
$custom-dark: #000000;
JSON
{
  "hex": "#313e37",
  "rgb": {
    "r": 49,
    "g": 62,
    "b": 55
  },
  "hsl": {
    "h": 147.692,
    "s": 11.712,
    "l": 21.765
  },
  "oklch": {
    "l": 0.34975,
    "c": 0.02093,
    "h": 161.6
  },
  "luminance": 0.04374
}

Semantic roles & 50–950 ramp

primary
#313E37
secondary
#6E5D66
accent
#7396B5
background
#F6F6F6
surface
#EBECEB
border
#C6C7C6
text
#060807
muted
#7A7B7A

Preview Lab

Preview with #313E37

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

Preview Lab → · Contrast checker → · Palette generator →

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