#313111#313111

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

Color values

HEX#313111
RGBrgb(49, 49, 17)
HSLhsl(60, 48%, 13%)
HSVhsv(60, 65%, 19%)
CMYKcmyk(0%, 0%, 65.3%, 80.8%)
CIE-LABlab(19.60, -5.42, 20.09)
CIE-LCHlch(19.60, 20.80, 105.09°)
OKLaboklab(30.5% -0.0161 0.0468)
OKLCHoklch(30.5% 0.049 109)
XYZxyz(2.4662, 2.8901, 0.9581)
Luminance0.0289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313111 #111131
analogous
#312111 #313111 #213111
triadic
#313111 #113131 #311131
tetradic
#313111 #113121 #111131 #311121
square
#313111 #113121 #111131 #311121
split-complementary
#313111 #112131 #211131
monochromatic
#171708 #171708 #313111 #5E5E21 #8C8C31

Accessibility & contrast

On white

13.31
#313111 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #313111
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313111#FFFFFF#000000##FFFFFF
##3131111.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #313111;
/* rgb */ color: rgb(49, 49, 17);
/* oklch */ color: oklch(30.5% 0.049 109.0);
Tailwind
colors: {
  custom: {
    50: '#6a6850',
    500: '#313111',
    950: '#000000',
  },
}
SCSS
$custom: #313111;
$custom-light: #6a6850;
$custom-dark: #000000;
JSON
{
  "hex": "#313111",
  "rgb": {
    "r": 49,
    "g": 49,
    "b": 17
  },
  "hsl": {
    "h": 60,
    "s": 48.485,
    "l": 12.941
  },
  "oklch": {
    "l": 0.30501,
    "c": 0.04947,
    "h": 109
  },
  "luminance": 0.0289
}

Semantic roles & 50–950 ramp

primary
#313111
secondary
#34346A
accent
#50D850
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #313111

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

Preview Lab → · Contrast checker → · Palette generator →

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