#313F2F#313F2F

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

Color values

HEX#313F2F
RGBrgb(49, 63, 47)
HSLhsl(113, 15%, 22%)
HSVhsv(113, 25%, 25%)
CMYKcmyk(22.2%, 0%, 25.4%, 75.3%)
CIE-LABlab(24.99, -9.45, 7.99)
CIE-LCHlch(24.99, 12.37, 139.78°)
OKLaboklab(35% -0.0257 0.0204)
OKLCHoklch(35% 0.033 141.6)
XYZxyz(3.5571, 4.4131, 3.3532)
Luminance0.0441 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313F2F #3D2F3F
analogous
#393F2F #313F2F #2F3F35
triadic
#313F2F #2F313F #3F2F31
tetradic
#313F2F #2F393F #3D2F3F #3F352F
square
#313F2F #2F393F #3D2F3F #3F352F
split-complementary
#313F2F #352F3F #3F2F39
monochromatic
#0E120D #161C15 #313F2F #4C6249 #688563

Accessibility & contrast

On white

11.15
#313F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#313F2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313F2F
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313F2F#FFFFFF#000000##FFFFFF
##313F2F1.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403C2E
Deuteranopia (green-blind)
#3E3B30
Tritanopia (blue-blind)
#303E3B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #313f2f;
/* rgb */ color: rgb(49, 63, 47);
/* oklch */ color: oklch(35.0% 0.033 141.6);
Tailwind
colors: {
  custom: {
    50: '#697467',
    500: '#313f2f',
    950: '#000000',
  },
}
SCSS
$custom: #313f2f;
$custom-light: #697467;
$custom-dark: #000000;
JSON
{
  "hex": "#313f2f",
  "rgb": {
    "r": 49,
    "g": 63,
    "b": 47
  },
  "hsl": {
    "h": 112.5,
    "s": 14.545,
    "l": 21.569
  },
  "oklch": {
    "l": 0.35,
    "c": 0.03285,
    "h": 141.6
  },
  "luminance": 0.04413
}

Semantic roles & 50–950 ramp

primary
#313F2F
secondary
#6D5B6F
accent
#70B7AE
background
#F6F7F6
surface
#EBEDEB
border
#C6C8C6
text
#060806
muted
#7A7B7A

Preview Lab

Preview with #313F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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