#31372E#31372E

#31372E is a dark, near-neutral green. Relative luminance 0.036; OKLCH L 32.8% C 0.018 H 135.1°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#31372E
RGBrgb(49, 55, 46)
HSLhsl(100, 9%, 20%)
HSVhsv(100, 16%, 22%)
CMYKcmyk(10.9%, 0%, 16.4%, 78.4%)
CIE-LABlab(22.24, -4.63, 4.79)
CIE-LCHlch(22.24, 6.66, 134.06°)
OKLaboklab(32.8% -0.0124 0.0124)
OKLCHoklch(32.8% 0.018 135.1)
XYZxyz(3.1259, 3.5826, 3.1111)
Luminance0.0358 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31372E #342E37
analogous
#36372E #31372E #2E3730
triadic
#31372E #2E3137 #372E31
tetradic
#31372E #2E3637 #342E37 #37302E
square
#31372E #2E3637 #342E37 #37302E
split-complementary
#31372E #302E37 #372E36
monochromatic
#0F110E #131612 #31372E #4F584A #6C7A66

Accessibility & contrast

On white

12.23
#31372E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#31372E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31372E
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31372E#FFFFFF#000000##FFFFFF
##31372E1.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38362E
Deuteranopia (green-blind)
#37352E
Tritanopia (blue-blind)
#313634
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #31372e;
/* rgb */ color: rgb(49, 55, 46);
/* oklch */ color: oklch(32.8% 0.018 135.1);
Tailwind
colors: {
  custom: {
    50: '#696d66',
    500: '#31372e',
    950: '#000000',
  },
}
SCSS
$custom: #31372e;
$custom-light: #696d66;
$custom-dark: #000000;
JSON
{
  "hex": "#31372e",
  "rgb": {
    "r": 49,
    "g": 55,
    "b": 46
  },
  "hsl": {
    "h": 100,
    "s": 8.911,
    "l": 19.804
  },
  "oklch": {
    "l": 0.32798,
    "c": 0.01756,
    "h": 135.1
  },
  "luminance": 0.03583
}

Semantic roles & 50–950 ramp

primary
#31372E
secondary
#625A66
accent
#76B29E
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060706
muted
#7A7A7A

Preview Lab

Preview with #31372E

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

Preview Lab → · Contrast checker → · Palette generator →

#31372E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva