#31391D#31391D

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

Color values

HEX#31391D
RGBrgb(49, 57, 29)
HSLhsl(77, 33%, 17%)
HSVhsv(77, 49%, 22%)
CMYKcmyk(14%, 0%, 49.1%, 77.6%)
CIE-LABlab(22.54, -8.97, 16.32)
CIE-LCHlch(22.54, 18.62, 118.79°)
OKLaboklab(32.91% -0.0248 0.0397)
OKLCHoklch(32.91% 0.047 122)
XYZxyz(2.9515, 3.6679, 1.7146)
Luminance0.0367 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31391D #251D39
analogous
#39331D #31391D #23391D
triadic
#31391D #1D3139 #391D31
tetradic
#31391D #1D3933 #251D39 #391D23
square
#31391D #1D3933 #251D39 #391D23
split-complementary
#31391D #1D2339 #331D39
monochromatic
#11140A #11140A #31391D #546232 #778A46

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31391D#FFFFFF#000000##FFFFFF
##31391D1.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)
#3C361B
Deuteranopia (green-blind)
#3B361E
Tritanopia (blue-blind)
#333632
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #31391d;
/* rgb */ color: rgb(49, 57, 29);
/* oklch */ color: oklch(32.9% 0.047 122.0);
Tailwind
colors: {
  custom: {
    50: '#696f59',
    500: '#31391d',
    950: '#000000',
  },
}
SCSS
$custom: #31391d;
$custom-light: #696f59;
$custom-dark: #000000;
JSON
{
  "hex": "#31391d",
  "rgb": {
    "r": 49,
    "g": 57,
    "b": 29
  },
  "hsl": {
    "h": 77.143,
    "s": 32.558,
    "l": 16.863
  },
  "oklch": {
    "l": 0.32912,
    "c": 0.04679,
    "h": 122
  },
  "luminance": 0.03668
}

Semantic roles & 50–950 ramp

primary
#31391D
secondary
#50456D
accent
#5FC97D
background
#F6F6F5
surface
#EBECE9
border
#C6C7C5
text
#060703
muted
#7A7A78

Preview Lab

Preview with #31391D

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

Preview Lab → · Contrast checker → · Palette generator →

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