#313713#313713

#313713 is a dark, muted yellow-green. Relative luminance 0.034; OKLCH L 32.2% C 0.056 H 117.6°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#313713
RGBrgb(49, 55, 19)
HSLhsl(70, 49%, 15%)
HSVhsv(70, 65%, 22%)
CMYKcmyk(10.9%, 0%, 65.5%, 78.4%)
CIE-LABlab(21.70, -8.99, 21.33)
CIE-LCHlch(21.70, 23.14, 112.85°)
OKLaboklab(32.19% -0.0259 0.0497)
OKLCHoklch(32.19% 0.056 117.6)
XYZxyz(2.7504, 3.4324, 1.1336)
Luminance0.0343 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313713 #191337
analogous
#372B13 #313713 #1F3713
triadic
#313713 #133137 #371331
tetradic
#313713 #13372B #191337 #37131F
square
#313713 #13372B #191337 #37131F
split-complementary
#313713 #131F37 #2B1337
monochromatic
#141708 #141708 #313713 #5A6423 #829232

Accessibility & contrast

On white

12.45
#313713 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #313713
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313713#FFFFFF#000000##FFFFFF
##3137131.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B340F
Deuteranopia (green-blind)
#3A3415
Tritanopia (blue-blind)
#34342F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #313713;
/* rgb */ color: rgb(49, 55, 19);
/* oklch */ color: oklch(32.2% 0.056 117.6);
Tailwind
colors: {
  custom: {
    50: '#6a6d52',
    500: '#313713',
    950: '#000000',
  },
}
SCSS
$custom: #313713;
$custom-light: #6a6d52;
$custom-dark: #000000;
JSON
{
  "hex": "#313713",
  "rgb": {
    "r": 49,
    "g": 55,
    "b": 19
  },
  "hsl": {
    "h": 70,
    "s": 48.649,
    "l": 14.51
  },
  "oklch": {
    "l": 0.32188,
    "c": 0.05607,
    "h": 117.6
  },
  "luminance": 0.03432
}

Semantic roles & 50–950 ramp

primary
#313713
secondary
#40376F
accent
#50D866
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #313713

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

Preview Lab → · Contrast checker → · Palette generator →

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