#212B01#212B01

#212B01 is a dark, moderate yellow-green. Relative luminance 0.021; OKLCH L 27.0% C 0.064 H 122.4°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#212B01
RGBrgb(33, 43, 1)
HSLhsl(74, 95%, 9%)
HSVhsv(74, 98%, 17%)
CMYKcmyk(23.3%, 0%, 97.7%, 83.1%)
CIE-LABlab(15.76, -11.59, 22.23)
CIE-LCHlch(15.76, 25.07, 117.55°)
OKLaboklab(26.99% -0.0345 0.0544)
OKLCHoklch(26.99% 0.064 122.4)
XYZxyz(1.4966, 2.0533, 0.3462)
Luminance0.0205 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212B01 #0B012B
analogous
#2B2001 #212B01 #0C2B01
triadic
#212B01 #01212B #2B0121
tetradic
#212B01 #012B20 #0B012B #2B010C
square
#212B01 #012B20 #0B012B #2B010C
split-complementary
#212B01 #010C2B #20012B
monochromatic
#171E01 #171E01 #212B01 #4F6702 #7DA304

Accessibility & contrast

On white

14.89
#212B01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#212B01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212B01
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212B01#FFFFFF#000000##FFFFFF
##212B011.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2800
Deuteranopia (green-blind)
#2D2704
Tritanopia (blue-blind)
#232823
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #212b01;
/* rgb */ color: rgb(33, 43, 1);
/* oklch */ color: oklch(27.0% 0.064 122.4);
Tailwind
colors: {
  custom: {
    50: '#5d6447',
    500: '#212b01',
    950: '#000000',
  },
}
SCSS
$custom: #212b01;
$custom-light: #5d6447;
$custom-dark: #000000;
JSON
{
  "hex": "#212b01",
  "rgb": {
    "r": 33,
    "g": 43,
    "b": 1
  },
  "hsl": {
    "h": 74.286,
    "s": 95.455,
    "l": 8.627
  },
  "oklch": {
    "l": 0.26991,
    "c": 0.06437,
    "h": 122.4
  },
  "luminance": 0.02053
}

Semantic roles & 50–950 ramp

primary
#212B01
secondary
#2C1771
accent
#29FF5C
background
#F5F5F4
surface
#E9EAE6
border
#C5C6C2
text
#040500
muted
#797977

Preview Lab

Preview with #212B01

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

Preview Lab → · Contrast checker → · Palette generator →

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