#313E30#313E30

#313E30 is a dark, muted green. Relative luminance 0.043; OKLCH L 34.8% C 0.029 H 143.1°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#313E30
RGBrgb(49, 62, 48)
HSLhsl(116, 13%, 22%)
HSVhsv(116, 23%, 24%)
CMYKcmyk(21%, 0%, 22.6%, 75.7%)
CIE-LABlab(24.68, -8.62, 6.89)
CIE-LCHlch(24.68, 11.04, 141.37°)
OKLaboklab(34.76% -0.0235 0.0177)
OKLCHoklch(34.76% 0.029 143.1)
XYZxyz(3.5226, 4.3115, 3.4423)
Luminance0.0431 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313E30 #3D303E
analogous
#383E30 #313E30 #303E36
triadic
#313E30 #30313E #3E3031
tetradic
#313E30 #30383E #3D303E #3E3630
square
#313E30 #30383E #3D303E #3E3630
split-complementary
#313E30 #36303E #3E3038
monochromatic
#0E110D #161C15 #313E30 #4C604B #688365

Accessibility & contrast

On white

11.28
#313E30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#313E30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313E30
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313E30#FFFFFF#000000##FFFFFF
##313E301.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3B2F
Deuteranopia (green-blind)
#3D3A31
Tritanopia (blue-blind)
#303D3A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #313e30;
/* rgb */ color: rgb(49, 62, 48);
/* oklch */ color: oklch(34.8% 0.029 143.1);
Tailwind
colors: {
  custom: {
    50: '#697368',
    500: '#313e30',
    950: '#000000',
  },
}
SCSS
$custom: #313e30;
$custom-light: #697368;
$custom-dark: #000000;
JSON
{
  "hex": "#313e30",
  "rgb": {
    "r": 49,
    "g": 62,
    "b": 48
  },
  "hsl": {
    "h": 115.714,
    "s": 12.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.34755,
    "c": 0.02943,
    "h": 143.1
  },
  "luminance": 0.04312
}

Semantic roles & 50–950 ramp

primary
#313E30
secondary
#6D5C6E
accent
#72B6B1
background
#F6F6F6
surface
#EBECEB
border
#C6C7C6
text
#060806
muted
#7A7B7A

Preview Lab

Preview with #313E30

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

Preview Lab → · Contrast checker → · Palette generator →

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