#313E2F#313E2F

#313E2F is a dark, muted green. Relative luminance 0.043; OKLCH L 34.7% C 0.031 H 141.3°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#313E2F
RGBrgb(49, 62, 47)
HSLhsl(112, 14%, 21%)
HSVhsv(112, 24%, 24%)
CMYKcmyk(21%, 0%, 24.2%, 75.7%)
CIE-LABlab(24.65, -8.83, 7.51)
CIE-LCHlch(24.65, 11.60, 139.63°)
OKLaboklab(34.73% -0.024 0.0192)
OKLCHoklch(34.73% 0.031 141.3)
XYZxyz(3.5022, 4.3034, 3.3349)
Luminance0.0430 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313E2F #3C2F3E
analogous
#393E2F #313E2F #2F3E35
triadic
#313E2F #2F313E #3E2F31
tetradic
#313E2F #2F393E #3C2F3E #3E352F
square
#313E2F #2F393E #3C2F3E #3E352F
split-complementary
#313E2F #352F3E #3E2F39
monochromatic
#0E110D #151B15 #313E2F #4D6149 #688464

Accessibility & contrast

On white

11.29
#313E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#313E2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313E2F
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313E2F#FFFFFF#000000##FFFFFF
##313E2F1.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3B2E
Deuteranopia (green-blind)
#3D3A30
Tritanopia (blue-blind)
#303D3A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #313e2f;
/* rgb */ color: rgb(49, 62, 47);
/* oklch */ color: oklch(34.7% 0.031 141.3);
Tailwind
colors: {
  custom: {
    50: '#697367',
    500: '#313e2f',
    950: '#000000',
  },
}
SCSS
$custom: #313e2f;
$custom-light: #697367;
$custom-dark: #000000;
JSON
{
  "hex": "#313e2f",
  "rgb": {
    "r": 49,
    "g": 62,
    "b": 47
  },
  "hsl": {
    "h": 112,
    "s": 13.761,
    "l": 21.373
  },
  "oklch": {
    "l": 0.34726,
    "c": 0.0308,
    "h": 141.3
  },
  "luminance": 0.04303
}

Semantic roles & 50–950 ramp

primary
#313E2F
secondary
#6B5B6E
accent
#71B7AD
background
#F6F6F6
surface
#EBECEB
border
#C6C7C6
text
#060806
muted
#7A7B7A

Preview Lab

Preview with #313E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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