#313221#313221

#313221 is a dark, muted yellow. Relative luminance 0.030; OKLCH L 31.1% C 0.029 H 110.8°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#313221
RGBrgb(49, 50, 33)
HSLhsl(64, 20%, 16%)
HSVhsv(64, 34%, 20%)
CMYKcmyk(2%, 0%, 34%, 80.4%)
CIE-LABlab(20.22, -3.90, 10.71)
CIE-LCHlch(20.22, 11.40, 110.02°)
OKLaboklab(31.09% -0.0102 0.0268)
OKLCHoklch(31.09% 0.029 110.8)
XYZxyz(2.6817, 3.0440, 1.8848)
Luminance0.0304 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313221 #222132
analogous
#322B21 #313221 #293221
triadic
#313221 #213132 #322131
tetradic
#313221 #21322B #222132 #322129
square
#313221 #21322B #222132 #322129
split-complementary
#313221 #212932 #2B2132
monochromatic
#12120C #12120C #313221 #555739 #797C52

Accessibility & contrast

On white

13.05
#313221 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#313221 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313221
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313221#FFFFFF#000000##FFFFFF
##3132211.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353020
Deuteranopia (green-blind)
#353122
Tritanopia (blue-blind)
#33302E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #313221;
/* rgb */ color: rgb(49, 50, 33);
/* oklch */ color: oklch(31.1% 0.029 110.8);
Tailwind
colors: {
  custom: {
    50: '#69695c',
    500: '#313221',
    950: '#000000',
  },
}
SCSS
$custom: #313221;
$custom-light: #69695c;
$custom-dark: #000000;
JSON
{
  "hex": "#313221",
  "rgb": {
    "r": 49,
    "g": 50,
    "b": 33
  },
  "hsl": {
    "h": 63.529,
    "s": 20.482,
    "l": 16.275
  },
  "oklch": {
    "l": 0.31085,
    "c": 0.02871,
    "h": 110.8
  },
  "luminance": 0.03044
}

Semantic roles & 50–950 ramp

primary
#313221
secondary
#4C4B64
accent
#6BBD70
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060604
muted
#7A7A79

Preview Lab

Preview with #313221

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

Preview Lab → · Contrast checker → · Palette generator →

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