#313E2B#313E2B

#313E2B is a dark, muted green. Relative luminance 0.043; OKLCH L 34.6% C 0.036 H 136.0°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#313E2B
RGBrgb(49, 62, 43)
HSLhsl(101, 18%, 21%)
HSVhsv(101, 31%, 24%)
CMYKcmyk(21%, 0%, 30.6%, 75.7%)
CIE-LABlab(24.55, -9.64, 9.99)
CIE-LCHlch(24.55, 13.89, 133.99°)
OKLaboklab(34.62% -0.0262 0.0253)
OKLCHoklch(34.62% 0.036 136)
XYZxyz(3.4252, 4.2726, 2.9293)
Luminance0.0427 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313E2B #382B3E
analogous
#3A3E2B #313E2B #2B3E2E
triadic
#313E2B #2B313E #3E2B31
tetradic
#313E2B #2B3A3E #382B3E #3E2E2B
square
#313E2B #2B3A3E #382B3E #3E2E2B
split-complementary
#313E2B #2E2B3E #3E2B3A
monochromatic
#0E120D #141A12 #313E2B #4E6244 #6A865D

Accessibility & contrast

On white

11.32
#313E2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#313E2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313E2B
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313E2B#FFFFFF#000000##FFFFFF
##313E2B1.0011.321.8511.32
#FFFFFF11.321.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #313e2b;
/* rgb */ color: rgb(49, 62, 43);
/* oklch */ color: oklch(34.6% 0.036 136.0);
Tailwind
colors: {
  custom: {
    50: '#697364',
    500: '#313e2b',
    950: '#000000',
  },
}
SCSS
$custom: #313e2b;
$custom-light: #697364;
$custom-dark: #000000;
JSON
{
  "hex": "#313e2b",
  "rgb": {
    "r": 49,
    "g": 62,
    "b": 43
  },
  "hsl": {
    "h": 101.053,
    "s": 18.095,
    "l": 20.588
  },
  "oklch": {
    "l": 0.34616,
    "c": 0.0364,
    "h": 136
  },
  "luminance": 0.04273
}

Semantic roles & 50–950 ramp

primary
#313E2B
secondary
#67566F
accent
#6DBBA2
background
#F6F6F5
surface
#EBECEA
border
#C6C7C6
text
#060805
muted
#7A7B79

Preview Lab

Preview with #313E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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