#313F2A#313F2A

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

Color values

HEX#313F2A
RGBrgb(49, 63, 42)
HSLhsl(100, 20%, 21%)
HSVhsv(100, 33%, 25%)
CMYKcmyk(22.2%, 0%, 33.3%, 75.3%)
CIE-LABlab(24.87, -10.44, 11.08)
CIE-LCHlch(24.87, 15.22, 133.31°)
OKLaboklab(34.87% -0.0284 0.0279)
OKLCHoklch(34.87% 0.04 135.5)
XYZxyz(3.4620, 4.3751, 2.8521)
Luminance0.0437 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313F2A #382A3F
analogous
#3B3F2A #313F2A #2A3F2D
triadic
#313F2A #2A313F #3F2A31
tetradic
#313F2A #2A3B3F #382A3F #3F2D2A
square
#313F2A #2A3B3F #382A3F #3F2D2A
split-complementary
#313F2A #2D2A3F #3F2A3B
monochromatic
#0E120C #141A12 #313F2A #4E6442 #6A885B

Accessibility & contrast

On white

11.20
#313F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #313F2A
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313F2A#FFFFFF#000000##FFFFFF
##313F2A1.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413C29
Deuteranopia (green-blind)
#3E3B2B
Tritanopia (blue-blind)
#313D39
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #313f2a;
/* rgb */ color: rgb(49, 63, 42);
/* oklch */ color: oklch(34.9% 0.040 135.5);
Tailwind
colors: {
  custom: {
    50: '#697463',
    500: '#313f2a',
    950: '#000000',
  },
}
SCSS
$custom: #313f2a;
$custom-light: #697463;
$custom-dark: #000000;
JSON
{
  "hex": "#313f2a",
  "rgb": {
    "r": 49,
    "g": 63,
    "b": 42
  },
  "hsl": {
    "h": 100,
    "s": 20,
    "l": 20.588
  },
  "oklch": {
    "l": 0.34867,
    "c": 0.0398,
    "h": 135.5
  },
  "luminance": 0.04375
}

Semantic roles & 50–950 ramp

primary
#313F2A
secondary
#675570
accent
#6BBDA1
background
#F6F7F5
surface
#EBEDEA
border
#C6C8C6
text
#060805
muted
#7A7B79

Preview Lab

Preview with #313F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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