#313628#313628

#313628 is a dark, muted yellow-green. Relative luminance 0.034; OKLCH L 32.4% C 0.025 H 123.7°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#313628
RGBrgb(49, 54, 40)
HSLhsl(81, 15%, 18%)
HSVhsv(81, 26%, 21%)
CMYKcmyk(9.3%, 0%, 25.9%, 78.8%)
CIE-LABlab(21.74, -5.22, 8.11)
CIE-LCHlch(21.74, 9.65, 122.77°)
OKLaboklab(32.35% -0.0138 0.0207)
OKLCHoklch(32.35% 0.025 123.7)
XYZxyz(2.9687, 3.4445, 2.5155)
Luminance0.0345 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313628 #2D2836
analogous
#363428 #313628 #2A3628
triadic
#313628 #283136 #362831
tetradic
#313628 #283634 #2D2836 #36282A
square
#313628 #283634 #2D2836 #36282A
split-complementary
#313628 #282A36 #342836
monochromatic
#10120D #11130E #313628 #515942 #717C5C

Accessibility & contrast

On white

12.43
#313628 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#313628 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313628
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313628#FFFFFF#000000##FFFFFF
##3136281.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383427
Deuteranopia (green-blind)
#373429
Tritanopia (blue-blind)
#323532
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #313628;
/* rgb */ color: rgb(49, 54, 40);
/* oklch */ color: oklch(32.4% 0.025 123.7);
Tailwind
colors: {
  custom: {
    50: '#696d61',
    500: '#313628',
    950: '#000000',
  },
}
SCSS
$custom: #313628;
$custom-light: #696d61;
$custom-dark: #000000;
JSON
{
  "hex": "#313628",
  "rgb": {
    "r": 49,
    "g": 54,
    "b": 40
  },
  "hsl": {
    "h": 81.429,
    "s": 14.894,
    "l": 18.431
  },
  "oklch": {
    "l": 0.3235,
    "c": 0.02487,
    "h": 123.7
  },
  "luminance": 0.03445
}

Semantic roles & 50–950 ramp

primary
#313628
secondary
#5A5367
accent
#70B88A
background
#F6F6F5
surface
#EBEBEA
border
#C6C6C6
text
#060705
muted
#7A7A79

Preview Lab

Preview with #313628

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

Preview Lab → · Contrast checker → · Palette generator →

#313628 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva