#212C01#212C01

#212C01 is a dark, moderate yellow-green. Relative luminance 0.021; OKLCH L 27.3% C 0.066 H 123.3°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#212C01
RGBrgb(33, 44, 1)
HSLhsl(75, 96%, 9%)
HSVhsv(75, 98%, 17%)
CMYKcmyk(25%, 0%, 97.7%, 82.7%)
CIE-LABlab(16.14, -12.19, 22.70)
CIE-LCHlch(16.14, 25.77, 118.24°)
OKLaboklab(27.29% -0.0361 0.055)
OKLCHoklch(27.29% 0.066 123.3)
XYZxyz(1.5334, 2.1269, 0.3585)
Luminance0.0213 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212C01 #0C012C
analogous
#2C2201 #212C01 #0C2C01
triadic
#212C01 #01212C #2C0121
tetradic
#212C01 #012C22 #0C012C #2C010C
square
#212C01 #012C22 #0C012C #2C010C
split-complementary
#212C01 #010C2C #22012C
monochromatic
#161E01 #161E01 #212C01 #4E6802 #7BA404

Accessibility & contrast

On white

14.73
#212C01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#212C01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212C01
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212C01#FFFFFF#000000##FFFFFF
##212C011.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2800
Deuteranopia (green-blind)
#2E2804
Tritanopia (blue-blind)
#232924
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #212c01;
/* rgb */ color: rgb(33, 44, 1);
/* oklch */ color: oklch(27.3% 0.066 123.3);
Tailwind
colors: {
  custom: {
    50: '#5d6547',
    500: '#212c01',
    950: '#000000',
  },
}
SCSS
$custom: #212c01;
$custom-light: #5d6547;
$custom-dark: #000000;
JSON
{
  "hex": "#212c01",
  "rgb": {
    "r": 33,
    "g": 44,
    "b": 1
  },
  "hsl": {
    "h": 75.349,
    "s": 95.556,
    "l": 8.824
  },
  "oklch": {
    "l": 0.27294,
    "c": 0.06581,
    "h": 123.3
  },
  "luminance": 0.02127
}

Semantic roles & 50–950 ramp

primary
#212C01
secondary
#2E1772
accent
#29FF60
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#040500
muted
#797A77

Preview Lab

Preview with #212C01

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

Preview Lab → · Contrast checker → · Palette generator →

#212C01 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva