#212701#212701

#212701 is a dark, muted yellow. Relative luminance 0.018; OKLCH L 25.8% C 0.059 H 118.3°. Best body text is #FFFFFF at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#212701
RGBrgb(33, 39, 1)
HSLhsl(69, 95%, 8%)
HSVhsv(69, 97%, 15%)
CMYKcmyk(15.4%, 0%, 97.4%, 84.7%)
CIE-LABlab(14.27, -9.13, 20.31)
CIE-LCHlch(14.27, 22.27, 114.22°)
OKLaboklab(25.78% -0.0278 0.0517)
OKLCHoklch(25.78% 0.059 118.3)
XYZxyz(1.3582, 1.7766, 0.3001)
Luminance0.0178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212701 #070127
analogous
#271A01 #212701 #0E2701
triadic
#212701 #012127 #270121
tetradic
#212701 #01271A #070127 #27010E
square
#212701 #01271A #070127 #27010E
split-complementary
#212701 #010E27 #1A0127
monochromatic
#191E01 #191E01 #212701 #536303 #869E04

Accessibility & contrast

On white

15.49
#212701 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#212701 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212701
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212701#FFFFFF#000000##FFFFFF
##2127011.0015.491.3615.49
#FFFFFF15.491.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2400
Deuteranopia (green-blind)
#2A2403
Tritanopia (blue-blind)
#242420
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #212701;
/* rgb */ color: rgb(33, 39, 1);
/* oklch */ color: oklch(25.8% 0.059 118.3);
Tailwind
colors: {
  custom: {
    50: '#5d6147',
    500: '#212701',
    950: '#000000',
  },
}
SCSS
$custom: #212701;
$custom-light: #5d6147;
$custom-dark: #000000;
JSON
{
  "hex": "#212701",
  "rgb": {
    "r": 33,
    "g": 39,
    "b": 1
  },
  "hsl": {
    "h": 69.474,
    "s": 95,
    "l": 7.843
  },
  "oklch": {
    "l": 0.25783,
    "c": 0.0587,
    "h": 118.3
  },
  "luminance": 0.01777
}

Semantic roles & 50–950 ramp

primary
#212701
secondary
#24166E
accent
#29FF4B
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#040500
muted
#797977

Preview Lab

Preview with #212701

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

Preview Lab → · Contrast checker → · Palette generator →

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