#31473B#31473B

#31473B is a dark, muted green. Relative luminance 0.055; OKLCH L 37.6% C 0.034 H 160.3°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#31473B
RGBrgb(49, 71, 59)
HSLhsl(147, 18%, 24%)
HSVhsv(147, 31%, 28%)
CMYKcmyk(31%, 0%, 16.9%, 72.2%)
CIE-LABlab(28.05, -11.57, 4.48)
CIE-LCHlch(28.05, 12.41, 158.82°)
OKLaboklab(37.55% -0.0324 0.0116)
OKLCHoklch(37.55% 0.034 160.3)
XYZxyz(4.3090, 5.4750, 4.9666)
Luminance0.0548 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31473B #47313D
analogous
#324731 #31473B #314746
triadic
#31473B #3B3147 #473B31
tetradic
#31473B #313247 #47313D #474631
square
#31473B #313247 #47313D #474631
split-complementary
#31473B #463147 #473132
monochromatic
#0C120F #18231D #31473B #4A6B59 #638F77

Accessibility & contrast

On white

10.02
#31473B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#31473B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31473B
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31473B#FFFFFF#000000##FFFFFF
##31473B1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46443A
Deuteranopia (green-blind)
#43413C
Tritanopia (blue-blind)
#2D4744
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #31473b;
/* rgb */ color: rgb(49, 71, 59);
/* oklch */ color: oklch(37.6% 0.034 160.3);
Tailwind
colors: {
  custom: {
    50: '#697a70',
    500: '#31473b',
    950: '#000000',
  },
}
SCSS
$custom: #31473b;
$custom-light: #697a70;
$custom-dark: #000000;
JSON
{
  "hex": "#31473b",
  "rgb": {
    "r": 49,
    "g": 71,
    "b": 59
  },
  "hsl": {
    "h": 147.273,
    "s": 18.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.37552,
    "c": 0.03438,
    "h": 160.3
  },
  "luminance": 0.05475
}

Semantic roles & 50–950 ramp

primary
#31473B
secondary
#775C6B
accent
#6D97BB
background
#F6F7F6
surface
#EBEDEC
border
#C6C8C7
text
#060907
muted
#7A7B7A

Preview Lab

Preview with #31473B

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

Preview Lab → · Contrast checker → · Palette generator →

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