#313113#313113

#313113 is a dark, muted yellow. Relative luminance 0.029; OKLCH L 30.5% C 0.047 H 108.9°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#313113
RGBrgb(49, 49, 19)
HSLhsl(60, 44%, 13%)
HSVhsv(60, 61%, 19%)
CMYKcmyk(0%, 0%, 61.2%, 80.8%)
CIE-LABlab(19.63, -5.21, 18.93)
CIE-LCHlch(19.63, 19.63, 105.38°)
OKLaboklab(30.53% -0.0152 0.0445)
OKLCHoklch(30.53% 0.047 108.9)
XYZxyz(2.4825, 2.8967, 1.0443)
Luminance0.0290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313113 #131331
analogous
#312213 #313113 #223113
triadic
#313113 #133131 #311331
tetradic
#313113 #133122 #131331 #311322
square
#313113 #133122 #131331 #311322
split-complementary
#313113 #132231 #221331
monochromatic
#161609 #161609 #313113 #5D5D24 #898935

Accessibility & contrast

On white

13.30
#313113 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#313113 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313113
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313113#FFFFFF#000000##FFFFFF
##3131131.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352F10
Deuteranopia (green-blind)
#353015
Tritanopia (blue-blind)
#352E2A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #313113;
/* rgb */ color: rgb(49, 49, 19);
/* oklch */ color: oklch(30.5% 0.047 108.9);
Tailwind
colors: {
  custom: {
    50: '#6a6851',
    500: '#313113',
    950: '#000000',
  },
}
SCSS
$custom: #313113;
$custom-light: #6a6851;
$custom-dark: #000000;
JSON
{
  "hex": "#313113",
  "rgb": {
    "r": 49,
    "g": 49,
    "b": 19
  },
  "hsl": {
    "h": 60,
    "s": 44.118,
    "l": 13.333
  },
  "oklch": {
    "l": 0.30531,
    "c": 0.04707,
    "h": 108.9
  },
  "luminance": 0.02897
}

Semantic roles & 50–950 ramp

primary
#313113
secondary
#373769
accent
#54D454
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #313113

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

Preview Lab → · Contrast checker → · Palette generator →

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