#313615#313615

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

Color values

HEX#313615
RGBrgb(49, 54, 21)
HSLhsl(69, 44%, 15%)
HSVhsv(69, 61%, 21%)
CMYKcmyk(9.3%, 0%, 61.1%, 78.8%)
CIE-LABlab(21.38, -8.15, 19.79)
CIE-LCHlch(21.38, 21.40, 112.38°)
OKLaboklab(31.94% -0.0233 0.0466)
OKLCHoklch(31.94% 0.052 116.6)
XYZxyz(2.7212, 3.3455, 1.2117)
Luminance0.0335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313615 #1A1536
analogous
#362B15 #313615 #213615
triadic
#313615 #153136 #361531
tetradic
#313615 #15362B #1A1536 #361521
square
#313615 #15362B #1A1536 #361521
split-complementary
#313615 #152136 #2B1536
monochromatic
#141609 #141609 #313615 #596226 #818E37

Accessibility & contrast

On white

12.58
#313615 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #313615
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313615#FFFFFF#000000##FFFFFF
##3136151.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3312
Deuteranopia (green-blind)
#393417
Tritanopia (blue-blind)
#34332F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #313615;
/* rgb */ color: rgb(49, 54, 21);
/* oklch */ color: oklch(31.9% 0.052 116.6);
Tailwind
colors: {
  custom: {
    50: '#6a6c53',
    500: '#313615',
    950: '#000000',
  },
}
SCSS
$custom: #313615;
$custom-light: #6a6c53;
$custom-dark: #000000;
JSON
{
  "hex": "#313615",
  "rgb": {
    "r": 49,
    "g": 54,
    "b": 21
  },
  "hsl": {
    "h": 69.091,
    "s": 44,
    "l": 14.706
  },
  "oklch": {
    "l": 0.31939,
    "c": 0.05215,
    "h": 116.6
  },
  "luminance": 0.03345
}

Semantic roles & 50–950 ramp

primary
#313615
secondary
#413A6D
accent
#54D467
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #313615

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

Preview Lab → · Contrast checker → · Palette generator →

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