#313F2B#313F2B

#313F2B is a dark, muted green. Relative luminance 0.044; OKLCH L 34.9% C 0.038 H 136.5°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#313F2B
RGBrgb(49, 63, 43)
HSLhsl(102, 19%, 21%)
HSVhsv(102, 32%, 25%)
CMYKcmyk(22.2%, 0%, 31.7%, 75.3%)
CIE-LABlab(24.90, -10.25, 10.46)
CIE-LCHlch(24.90, 14.64, 134.42°)
OKLaboklab(34.89% -0.0278 0.0264)
OKLCHoklch(34.89% 0.038 136.5)
XYZxyz(3.4801, 4.3823, 2.9476)
Luminance0.0438 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313F2B #392B3F
analogous
#3B3F2B #313F2B #2B3F2F
triadic
#313F2B #2B313F #3F2B31
tetradic
#313F2B #2B3B3F #392B3F #3F2F2B
square
#313F2B #2B3B3F #392B3F #3F2F2B
split-complementary
#313F2B #2F2B3F #3F2B3B
monochromatic
#0E120C #151B12 #313F2B #4D6344 #6A885D

Accessibility & contrast

On white

11.19
#313F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #313F2B
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313F2B#FFFFFF#000000##FFFFFF
##313F2B1.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403C2A
Deuteranopia (green-blind)
#3E3B2C
Tritanopia (blue-blind)
#313E3A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #313f2b;
/* rgb */ color: rgb(49, 63, 43);
/* oklch */ color: oklch(34.9% 0.038 136.5);
Tailwind
colors: {
  custom: {
    50: '#697464',
    500: '#313f2b',
    950: '#000000',
  },
}
SCSS
$custom: #313f2b;
$custom-light: #697464;
$custom-dark: #000000;
JSON
{
  "hex": "#313f2b",
  "rgb": {
    "r": 49,
    "g": 63,
    "b": 43
  },
  "hsl": {
    "h": 102,
    "s": 18.868,
    "l": 20.784
  },
  "oklch": {
    "l": 0.34892,
    "c": 0.03839,
    "h": 136.5
  },
  "luminance": 0.04382
}

Semantic roles & 50–950 ramp

primary
#313F2B
secondary
#685670
accent
#6CBCA4
background
#F6F7F6
surface
#EBEDEB
border
#C6C8C6
text
#060805
muted
#7A7B7A

Preview Lab

Preview with #313F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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