#313F2D#313F2D

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

Color values

HEX#313F2D
RGBrgb(49, 63, 45)
HSLhsl(107, 17%, 21%)
HSVhsv(107, 29%, 25%)
CMYKcmyk(22.2%, 0%, 28.6%, 75.3%)
CIE-LABlab(24.94, -9.86, 9.22)
CIE-LCHlch(24.94, 13.50, 136.90°)
OKLaboklab(34.95% -0.0268 0.0235)
OKLCHoklch(34.95% 0.036 138.8)
XYZxyz(3.5177, 4.3974, 3.1456)
Luminance0.0440 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313F2D #3B2D3F
analogous
#3A3F2D #313F2D #2D3F32
triadic
#313F2D #2D313F #3F2D31
tetradic
#313F2D #2D3A3F #3B2D3F #3F322D
square
#313F2D #2D3A3F #3B2D3F #3F322D
split-complementary
#313F2D #322D3F #3F2D3A
monochromatic
#0E120D #151B13 #313F2D #4D6346 #698660

Accessibility & contrast

On white

11.17
#313F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #313F2D
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313F2D#FFFFFF#000000##FFFFFF
##313F2D1.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403C2C
Deuteranopia (green-blind)
#3E3B2E
Tritanopia (blue-blind)
#303E3A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #313f2d;
/* rgb */ color: rgb(49, 63, 45);
/* oklch */ color: oklch(34.9% 0.036 138.8);
Tailwind
colors: {
  custom: {
    50: '#697466',
    500: '#313f2d',
    950: '#000000',
  },
}
SCSS
$custom: #313f2d;
$custom-light: #697466;
$custom-dark: #000000;
JSON
{
  "hex": "#313f2d",
  "rgb": {
    "r": 49,
    "g": 63,
    "b": 45
  },
  "hsl": {
    "h": 106.667,
    "s": 16.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.34945,
    "c": 0.03561,
    "h": 138.8
  },
  "luminance": 0.04397
}

Semantic roles & 50–950 ramp

primary
#313F2D
secondary
#6A5870
accent
#6EB9A9
background
#F6F7F6
surface
#EBEDEB
border
#C6C8C6
text
#060805
muted
#7A7B7A

Preview Lab

Preview with #313F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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