#212801#212801

#212801 is a dark, moderate yellow-green. Relative luminance 0.018; OKLCH L 26.1% C 0.060 H 119.4°. Best body text is #FFFFFF at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#212801
RGBrgb(33, 40, 1)
HSLhsl(71, 95%, 8%)
HSVhsv(71, 98%, 16%)
CMYKcmyk(17.5%, 0%, 97.5%, 84.3%)
CIE-LABlab(14.64, -9.76, 20.79)
CIE-LCHlch(14.64, 22.97, 115.14°)
OKLaboklab(26.08% -0.0295 0.0524)
OKLCHoklch(26.08% 0.06 119.4)
XYZxyz(1.3915, 1.8431, 0.3112)
Luminance0.0184 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212801 #080128
analogous
#281B01 #212801 #0D2801
triadic
#212801 #012128 #280121
tetradic
#212801 #01281B #080128 #28010D
square
#212801 #01281B #080128 #28010D
split-complementary
#212801 #010D28 #1B0128
monochromatic
#191E01 #191E01 #212801 #526402 #849F04

Accessibility & contrast

On white

15.34
#212801 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#212801 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212801
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212801#FFFFFF#000000##FFFFFF
##2128011.0015.341.3715.34
#FFFFFF15.341.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2500
Deuteranopia (green-blind)
#2B2503
Tritanopia (blue-blind)
#242521
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #212801;
/* rgb */ color: rgb(33, 40, 1);
/* oklch */ color: oklch(26.1% 0.060 119.4);
Tailwind
colors: {
  custom: {
    50: '#5d6147',
    500: '#212801',
    950: '#000000',
  },
}
SCSS
$custom: #212801;
$custom-light: #5d6147;
$custom-dark: #000000;
JSON
{
  "hex": "#212801",
  "rgb": {
    "r": 33,
    "g": 40,
    "b": 1
  },
  "hsl": {
    "h": 70.769,
    "s": 95.122,
    "l": 8.039
  },
  "oklch": {
    "l": 0.26083,
    "c": 0.0601,
    "h": 119.4
  },
  "luminance": 0.01843
}

Semantic roles & 50–950 ramp

primary
#212801
secondary
#26166F
accent
#29FF4F
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#040500
muted
#797977

Preview Lab

Preview with #212801

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

Preview Lab → · Contrast checker → · Palette generator →

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