#313613#313613

#313613 is a dark, muted yellow. Relative luminance 0.033; OKLCH L 31.9% C 0.055 H 116.4°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#313613
RGBrgb(49, 54, 19)
HSLhsl(69, 48%, 14%)
HSVhsv(69, 65%, 21%)
CMYKcmyk(9.3%, 0%, 64.8%, 78.8%)
CIE-LABlab(21.35, -8.37, 20.93)
CIE-LCHlch(21.35, 22.54, 111.80°)
OKLaboklab(31.91% -0.0242 0.0489)
OKLCHoklch(31.91% 0.055 116.4)
XYZxyz(2.7034, 3.3383, 1.1179)
Luminance0.0334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313613 #181336
analogous
#362A13 #313613 #203613
triadic
#313613 #133136 #361331
tetradic
#313613 #13362A #181336 #361320
square
#313613 #13362A #181336 #361320
split-complementary
#313613 #132036 #2A1336
monochromatic
#151708 #151708 #313613 #5A6323 #839133

Accessibility & contrast

On white

12.59
#313613 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#313613 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313613
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313613#FFFFFF#000000##FFFFFF
##3136131.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A330F
Deuteranopia (green-blind)
#393415
Tritanopia (blue-blind)
#34332E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #313613;
/* rgb */ color: rgb(49, 54, 19);
/* oklch */ color: oklch(31.9% 0.055 116.4);
Tailwind
colors: {
  custom: {
    50: '#6a6c52',
    500: '#313613',
    950: '#000000',
  },
}
SCSS
$custom: #313613;
$custom-light: #6a6c52;
$custom-dark: #000000;
JSON
{
  "hex": "#313613",
  "rgb": {
    "r": 49,
    "g": 54,
    "b": 19
  },
  "hsl": {
    "h": 68.571,
    "s": 47.945,
    "l": 14.314
  },
  "oklch": {
    "l": 0.31909,
    "c": 0.05452,
    "h": 116.4
  },
  "luminance": 0.03338
}

Semantic roles & 50–950 ramp

primary
#313613
secondary
#3F376E
accent
#50D864
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #313613

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

Preview Lab → · Contrast checker → · Palette generator →

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