#31372D#31372D

#31372D is a dark, near-neutral yellow-green. Relative luminance 0.036; OKLCH L 32.8% C 0.019 H 132.8°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#31372D
RGBrgb(49, 55, 45)
HSLhsl(96, 10%, 20%)
HSVhsv(96, 18%, 22%)
CMYKcmyk(10.9%, 0%, 18.2%, 78.4%)
CIE-LABlab(22.21, -4.85, 5.42)
CIE-LCHlch(22.21, 7.27, 131.81°)
OKLaboklab(32.77% -0.013 0.014)
OKLCHoklch(32.77% 0.019 132.8)
XYZxyz(3.1064, 3.5748, 3.0085)
Luminance0.0357 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31372D #332D37
analogous
#36372D #31372D #2D372E
triadic
#31372D #2D3137 #372D31
tetradic
#31372D #2D3637 #332D37 #372E2D
square
#31372D #2D3637 #332D37 #372E2D
split-complementary
#31372D #2E2D37 #372D36
monochromatic
#0F110E #131511 #31372D #4F5949 #6D7A64

Accessibility & contrast

On white

12.24
#31372D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #31372D
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31372D#FFFFFF#000000##FFFFFF
##31372D1.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38352C
Deuteranopia (green-blind)
#37352D
Tritanopia (blue-blind)
#313634
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #31372d;
/* rgb */ color: rgb(49, 55, 45);
/* oklch */ color: oklch(32.8% 0.019 132.8);
Tailwind
colors: {
  custom: {
    50: '#696d65',
    500: '#31372d',
    950: '#000000',
  },
}
SCSS
$custom: #31372d;
$custom-light: #696d65;
$custom-dark: #000000;
JSON
{
  "hex": "#31372d",
  "rgb": {
    "r": 49,
    "g": 55,
    "b": 45
  },
  "hsl": {
    "h": 96,
    "s": 10,
    "l": 19.608
  },
  "oklch": {
    "l": 0.32766,
    "c": 0.01908,
    "h": 132.8
  },
  "luminance": 0.03575
}

Semantic roles & 50–950 ramp

primary
#31372D
secondary
#615967
accent
#75B39A
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060705
muted
#7A7A7A

Preview Lab

Preview with #31372D

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

Preview Lab → · Contrast checker → · Palette generator →

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