#313A2F#313A2F

#313A2F is a dark, muted green. Relative luminance 0.039; OKLCH L 33.6% C 0.022 H 140.0°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#313A2F
RGBrgb(49, 58, 47)
HSLhsl(109, 10%, 21%)
HSVhsv(109, 19%, 23%)
CMYKcmyk(15.5%, 0%, 19%, 77.3%)
CIE-LABlab(23.29, -6.34, 5.60)
CIE-LCHlch(23.29, 8.46, 138.55°)
OKLaboklab(33.64% -0.0172 0.0144)
OKLCHoklch(33.64% 0.022 140)
XYZxyz(3.2927, 3.8843, 3.2650)
Luminance0.0388 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313A2F #382F3A
analogous
#363A2F #313A2F #2F3A32
triadic
#313A2F #2F313A #3A2F31
tetradic
#313A2F #2F363A #382F3A #3A322F
square
#313A2F #2F363A #382F3A #3A322F
split-complementary
#313A2F #322F3A #3A2F36
monochromatic
#0E110E #141814 #313A2F #4E5C4A #6A7E66

Accessibility & contrast

On white

11.82
#313A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#313A2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313A2F
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313A2F#FFFFFF#000000##FFFFFF
##313A2F1.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B382E
Deuteranopia (green-blind)
#393730
Tritanopia (blue-blind)
#313937
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #313a2f;
/* rgb */ color: rgb(49, 58, 47);
/* oklch */ color: oklch(33.6% 0.022 140.0);
Tailwind
colors: {
  custom: {
    50: '#697067',
    500: '#313a2f',
    950: '#000000',
  },
}
SCSS
$custom: #313a2f;
$custom-light: #697067;
$custom-dark: #000000;
JSON
{
  "hex": "#313a2f",
  "rgb": {
    "r": 49,
    "g": 58,
    "b": 47
  },
  "hsl": {
    "h": 109.091,
    "s": 10.476,
    "l": 20.588
  },
  "oklch": {
    "l": 0.33637,
    "c": 0.02246,
    "h": 140
  },
  "luminance": 0.03884
}

Semantic roles & 50–950 ramp

primary
#313A2F
secondary
#675B6A
accent
#74B3A8
background
#F6F6F6
surface
#EBECEB
border
#C6C7C6
text
#060706
muted
#7A7A7A

Preview Lab

Preview with #313A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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