#313E2D#313E2D

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

Color values

HEX#313E2D
RGBrgb(49, 62, 45)
HSLhsl(106, 16%, 21%)
HSVhsv(106, 27%, 24%)
CMYKcmyk(21%, 0%, 27.4%, 75.7%)
CIE-LABlab(24.60, -9.25, 8.75)
CIE-LCHlch(24.60, 12.73, 136.58°)
OKLaboklab(34.67% -0.0251 0.0223)
OKLCHoklch(34.67% 0.034 138.4)
XYZxyz(3.4628, 4.2876, 3.1273)
Luminance0.0429 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313E2D #3A2D3E
analogous
#393E2D #313E2D #2D3E31
triadic
#313E2D #2D313E #3E2D31
tetradic
#313E2D #2D393E #3A2D3E #3E312D
square
#313E2D #2D393E #3A2D3E #3E312D
split-complementary
#313E2D #312D3E #3E2D39
monochromatic
#0E120D #151B13 #313E2D #4D6147 #698560

Accessibility & contrast

On white

11.30
#313E2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #313E2D
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313E2D#FFFFFF#000000##FFFFFF
##313E2D1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3B2C
Deuteranopia (green-blind)
#3D3A2E
Tritanopia (blue-blind)
#313D39
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #313e2d;
/* rgb */ color: rgb(49, 62, 45);
/* oklch */ color: oklch(34.7% 0.034 138.4);
Tailwind
colors: {
  custom: {
    50: '#697366',
    500: '#313e2d',
    950: '#000000',
  },
}
SCSS
$custom: #313e2d;
$custom-light: #697366;
$custom-dark: #000000;
JSON
{
  "hex": "#313e2d",
  "rgb": {
    "r": 49,
    "g": 62,
    "b": 45
  },
  "hsl": {
    "h": 105.882,
    "s": 15.888,
    "l": 20.98
  },
  "oklch": {
    "l": 0.3467,
    "c": 0.03358,
    "h": 138.4
  },
  "luminance": 0.04288
}

Semantic roles & 50–950 ramp

primary
#313E2D
secondary
#69586E
accent
#6FB9A7
background
#F6F6F6
surface
#EBECEB
border
#C6C7C6
text
#060805
muted
#7A7B7A

Preview Lab

Preview with #313E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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