#313E2E#313E2E

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

Color values

HEX#313E2E
RGBrgb(49, 62, 46)
HSLhsl(109, 15%, 21%)
HSVhsv(109, 26%, 24%)
CMYKcmyk(21%, 0%, 25.8%, 75.7%)
CIE-LABlab(24.62, -9.04, 8.13)
CIE-LCHlch(24.62, 12.16, 138.04°)
OKLaboklab(34.7% -0.0246 0.0208)
OKLCHoklch(34.7% 0.032 139.8)
XYZxyz(3.4823, 4.2954, 3.2299)
Luminance0.0430 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313E2E #3B2E3E
analogous
#393E2E #313E2E #2E3E33
triadic
#313E2E #2E313E #3E2E31
tetradic
#313E2E #2E393E #3B2E3E #3E332E
square
#313E2E #2E393E #3B2E3E #3E332E
split-complementary
#313E2E #332E3E #3E2E39
monochromatic
#0E120D #151B14 #313E2E #4D6148 #698462

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##313E2E#FFFFFF#000000##FFFFFF
##313E2E1.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)
#3F3B2D
Deuteranopia (green-blind)
#3D3A2F
Tritanopia (blue-blind)
#303D3A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #313e2e;
/* rgb */ color: rgb(49, 62, 46);
/* oklch */ color: oklch(34.7% 0.032 139.8);
Tailwind
colors: {
  custom: {
    50: '#697366',
    500: '#313e2e',
    950: '#000000',
  },
}
SCSS
$custom: #313e2e;
$custom-light: #697366;
$custom-dark: #000000;
JSON
{
  "hex": "#313e2e",
  "rgb": {
    "r": 49,
    "g": 62,
    "b": 46
  },
  "hsl": {
    "h": 108.75,
    "s": 14.815,
    "l": 21.176
  },
  "oklch": {
    "l": 0.34698,
    "c": 0.03218,
    "h": 139.8
  },
  "luminance": 0.04295
}

Semantic roles & 50–950 ramp

primary
#313E2E
secondary
#6A5A6E
accent
#70B8AA
background
#F6F6F6
surface
#EBECEB
border
#C6C7C6
text
#060806
muted
#7A7B7A

Preview Lab

Preview with #313E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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