#212001#212001

#212001 is a very dark, muted yellow. Relative luminance 0.014; OKLCH L 23.7% C 0.049 H 107.9°. Best body text is #FFFFFF at 16.51:1 contrast (WCAG AA passes).

Color values

HEX#212001
RGBrgb(33, 32, 1)
HSLhsl(58, 94%, 7%)
HSVhsv(58, 97%, 13%)
CMYKcmyk(0%, 3%, 97%, 87.1%)
CIE-LABlab(11.68, -4.55, 16.84)
CIE-LCHlch(11.68, 17.44, 105.11°)
OKLaboklab(23.71% -0.0152 0.0471)
OKLCHoklch(23.71% 0.049 107.9)
XYZxyz(1.1492, 1.3586, 0.2304)
Luminance0.0136 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212001 #010221
analogous
#211001 #212001 #122101
triadic
#212001 #012120 #200121
tetradic
#212001 #012110 #010221 #210112
square
#212001 #012110 #010221 #210112
split-complementary
#212001 #011221 #100121
monochromatic
#1E1D01 #1E1D01 #212001 #5C5A03 #989305

Accessibility & contrast

On white

16.51
#212001 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#212001 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212001
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212001#FFFFFF#000000##FFFFFF
##2120011.0016.511.2716.51
#FFFFFF16.511.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#241E00
Deuteranopia (green-blind)
#241F02
Tritanopia (blue-blind)
#241D1A
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #212001;
/* rgb */ color: rgb(33, 32, 1);
/* oklch */ color: oklch(23.7% 0.049 107.9);
Tailwind
colors: {
  custom: {
    50: '#5c5b47',
    500: '#212001',
    950: '#000000',
  },
}
SCSS
$custom: #212001;
$custom-light: #5c5b47;
$custom-dark: #000000;
JSON
{
  "hex": "#212001",
  "rgb": {
    "r": 33,
    "g": 32,
    "b": 1
  },
  "hsl": {
    "h": 58.125,
    "s": 94.118,
    "l": 6.667
  },
  "oklch": {
    "l": 0.23706,
    "c": 0.04947,
    "h": 107.9
  },
  "luminance": 0.01359
}

Semantic roles & 50–950 ramp

primary
#212001
secondary
#151868
accent
#2FFF29
background
#F5F5F3
surface
#E9E9E5
border
#C5C5C1
text
#040400
muted
#797977

Preview Lab

Preview with #212001

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

Preview Lab → · Contrast checker → · Palette generator →

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