#313D30#313D30

#313D30 is a dark, muted green. Relative luminance 0.042; OKLCH L 34.5% C 0.027 H 142.9°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#313D30
RGBrgb(49, 61, 48)
HSLhsl(115, 12%, 21%)
HSVhsv(115, 21%, 24%)
CMYKcmyk(19.7%, 0%, 21.3%, 76.1%)
CIE-LABlab(24.33, -8.00, 6.41)
CIE-LCHlch(24.33, 10.26, 141.31°)
OKLaboklab(34.48% -0.0218 0.0165)
OKLCHoklch(34.48% 0.027 142.9)
XYZxyz(3.4687, 4.2038, 3.4244)
Luminance0.0420 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313D30 #3C303D
analogous
#383D30 #313D30 #303D36
triadic
#313D30 #30313D #3D3031
tetradic
#313D30 #30383D #3C303D #3D3630
square
#313D30 #30383D #3C303D #3D3630
split-complementary
#313D30 #36303D #3D3038
monochromatic
#0E110D #151B15 #313D30 #4D5F4B #688266

Accessibility & contrast

On white

11.41
#313D30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#313D30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313D30
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313D30#FFFFFF#000000##FFFFFF
##313D301.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3B2F
Deuteranopia (green-blind)
#3C3931
Tritanopia (blue-blind)
#303C39
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #313d30;
/* rgb */ color: rgb(49, 61, 48);
/* oklch */ color: oklch(34.5% 0.027 142.9);
Tailwind
colors: {
  custom: {
    50: '#697268',
    500: '#313d30',
    950: '#000000',
  },
}
SCSS
$custom: #313d30;
$custom-light: #697268;
$custom-dark: #000000;
JSON
{
  "hex": "#313d30",
  "rgb": {
    "r": 49,
    "g": 61,
    "b": 48
  },
  "hsl": {
    "h": 115.385,
    "s": 11.927,
    "l": 21.373
  },
  "oklch": {
    "l": 0.34482,
    "c": 0.02736,
    "h": 142.9
  },
  "luminance": 0.04204
}

Semantic roles & 50–950 ramp

primary
#313D30
secondary
#6B5C6D
accent
#73B5B0
background
#F6F6F6
surface
#EBECEB
border
#C6C7C6
text
#060806
muted
#7A7B7A

Preview Lab

Preview with #313D30

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

Preview Lab → · Contrast checker → · Palette generator →

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