#31473A#31473A

#31473A is a dark, muted green. Relative luminance 0.055; OKLCH L 37.5% C 0.035 H 158.2°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#31473A
RGBrgb(49, 71, 58)
HSLhsl(145, 18%, 24%)
HSVhsv(145, 31%, 28%)
CMYKcmyk(31%, 0%, 18.3%, 72.2%)
CIE-LABlab(28.02, -11.81, 5.09)
CIE-LCHlch(28.02, 12.86, 156.68°)
OKLaboklab(37.52% -0.0329 0.0131)
OKLCHoklch(37.52% 0.035 158.2)
XYZxyz(4.2833, 5.4647, 4.8313)
Luminance0.0546 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31473A #47313E
analogous
#334731 #31473A #314745
triadic
#31473A #3A3147 #473A31
tetradic
#31473A #313347 #47313E #474531
square
#31473A #313347 #47313E #474531
split-complementary
#31473A #453147 #473133
monochromatic
#0C120F #18231C #31473A #4A6B58 #638F75

Accessibility & contrast

On white

10.03
#31473A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#31473A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31473A
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31473A#FFFFFF#000000##FFFFFF
##31473A1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474439
Deuteranopia (green-blind)
#43413B
Tritanopia (blue-blind)
#2D4743
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #31473a;
/* rgb */ color: rgb(49, 71, 58);
/* oklch */ color: oklch(37.5% 0.035 158.2);
Tailwind
colors: {
  custom: {
    50: '#697a70',
    500: '#31473a',
    950: '#000000',
  },
}
SCSS
$custom: #31473a;
$custom-light: #697a70;
$custom-dark: #000000;
JSON
{
  "hex": "#31473a",
  "rgb": {
    "r": 49,
    "g": 71,
    "b": 58
  },
  "hsl": {
    "h": 144.545,
    "s": 18.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.37521,
    "c": 0.03542,
    "h": 158.2
  },
  "luminance": 0.05465
}

Semantic roles & 50–950 ramp

primary
#31473A
secondary
#775C6C
accent
#6D9BBB
background
#F6F7F6
surface
#EBEDEC
border
#C6C8C7
text
#060907
muted
#7A7B7A

Preview Lab

Preview with #31473A

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

Preview Lab → · Contrast checker → · Palette generator →

#31473A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva