#31382D#31382D

#31382D is a dark, muted yellow-green. Relative luminance 0.037; OKLCH L 33.0% C 0.021 H 134.1°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#31382D
RGBrgb(49, 56, 45)
HSLhsl(98, 11%, 20%)
HSVhsv(98, 20%, 22%)
CMYKcmyk(12.5%, 0%, 19.6%, 78%)
CIE-LABlab(22.55, -5.49, 5.90)
CIE-LCHlch(22.55, 8.06, 132.95°)
OKLaboklab(33.04% -0.0147 0.0152)
OKLCHoklch(33.04% 0.021 134.1)
XYZxyz(3.1544, 3.6707, 3.0245)
Luminance0.0367 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31382D #342D38
analogous
#37382D #31382D #2D382F
triadic
#31382D #2D3138 #382D31
tetradic
#31382D #2D3738 #342D38 #382F2D
square
#31382D #2D3738 #342D38 #382F2D
split-complementary
#31382D #2F2D38 #382D37
monochromatic
#0F110E #131612 #31382D #4F5A48 #6C7C64

Accessibility & contrast

On white

12.11
#31382D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#31382D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31382D
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31382D#FFFFFF#000000##FFFFFF
##31382D1.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39362C
Deuteranopia (green-blind)
#38362D
Tritanopia (blue-blind)
#313735
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #31382d;
/* rgb */ color: rgb(49, 56, 45);
/* oklch */ color: oklch(33.0% 0.021 134.1);
Tailwind
colors: {
  custom: {
    50: '#696e65',
    500: '#31382d',
    950: '#000000',
  },
}
SCSS
$custom: #31382d;
$custom-light: #696e65;
$custom-dark: #000000;
JSON
{
  "hex": "#31382d",
  "rgb": {
    "r": 49,
    "g": 56,
    "b": 45
  },
  "hsl": {
    "h": 98.182,
    "s": 10.891,
    "l": 19.804
  },
  "oklch": {
    "l": 0.33036,
    "c": 0.02117,
    "h": 134.1
  },
  "luminance": 0.03671
}

Semantic roles & 50–950 ramp

primary
#31382D
secondary
#625968
accent
#74B49D
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060705
muted
#7A7A7A

Preview Lab

Preview with #31382D

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

Preview Lab → · Contrast checker → · Palette generator →

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