#313F2C#313F2C

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

Color values

HEX#313F2C
RGBrgb(49, 63, 44)
HSLhsl(104, 18%, 21%)
HSVhsv(104, 30%, 25%)
CMYKcmyk(22.2%, 0%, 30.2%, 75.3%)
CIE-LABlab(24.92, -10.06, 9.84)
CIE-LCHlch(24.92, 14.07, 135.62°)
OKLaboklab(34.92% -0.0273 0.025)
OKLCHoklch(34.92% 0.037 137.6)
XYZxyz(3.4986, 4.3898, 3.0454)
Luminance0.0439 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313F2C #3A2C3F
analogous
#3A3F2C #313F2C #2C3F30
triadic
#313F2C #2C313F #3F2C31
tetradic
#313F2C #2C3A3F #3A2C3F #3F302C
square
#313F2C #2C3A3F #3A2C3F #3F302C
split-complementary
#313F2C #302C3F #3F2C3A
monochromatic
#0E120D #151B13 #313F2C #4D6345 #69875E

Accessibility & contrast

On white

11.18
#313F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #313F2C
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313F2C#FFFFFF#000000##FFFFFF
##313F2C1.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #313f2c;
/* rgb */ color: rgb(49, 63, 44);
/* oklch */ color: oklch(34.9% 0.037 137.6);
Tailwind
colors: {
  custom: {
    50: '#697465',
    500: '#313f2c',
    950: '#000000',
  },
}
SCSS
$custom: #313f2c;
$custom-light: #697465;
$custom-dark: #000000;
JSON
{
  "hex": "#313f2c",
  "rgb": {
    "r": 49,
    "g": 63,
    "b": 44
  },
  "hsl": {
    "h": 104.211,
    "s": 17.757,
    "l": 20.98
  },
  "oklch": {
    "l": 0.34918,
    "c": 0.03701,
    "h": 137.6
  },
  "luminance": 0.0439
}

Semantic roles & 50–950 ramp

primary
#313F2C
secondary
#695770
accent
#6DBAA6
background
#F6F7F6
surface
#EBEDEB
border
#C6C8C6
text
#060805
muted
#7A7B7A

Preview Lab

Preview with #313F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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