#212D01#212D01

#212D01 is a dark, moderate yellow-green. Relative luminance 0.022; OKLCH L 27.6% C 0.067 H 124.1°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#212D01
RGBrgb(33, 45, 1)
HSLhsl(76, 96%, 9%)
HSVhsv(76, 98%, 18%)
CMYKcmyk(26.7%, 0%, 97.8%, 82.4%)
CIE-LABlab(16.52, -12.78, 23.17)
CIE-LCHlch(16.52, 26.46, 118.89°)
OKLaboklab(27.6% -0.0377 0.0557)
OKLCHoklch(27.6% 0.067 124.1)
XYZxyz(1.5711, 2.2023, 0.3710)
Luminance0.0220 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212D01 #0D012D
analogous
#2D2301 #212D01 #0B2D01
triadic
#212D01 #01212D #2D0121
tetradic
#212D01 #012D23 #0D012D #2D010B
square
#212D01 #012D23 #0D012D #2D010B
split-complementary
#212D01 #010B2D #23012D
monochromatic
#161E01 #161E01 #212D01 #4D6902 #79A504

Accessibility & contrast

On white

14.58
#212D01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#212D01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212D01
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212D01#FFFFFF#000000##FFFFFF
##212D011.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302900
Deuteranopia (green-blind)
#2F2904
Tritanopia (blue-blind)
#232A25
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #212d01;
/* rgb */ color: rgb(33, 45, 1);
/* oklch */ color: oklch(27.6% 0.067 124.1);
Tailwind
colors: {
  custom: {
    50: '#5d6647',
    500: '#212d01',
    950: '#000000',
  },
}
SCSS
$custom: #212d01;
$custom-light: #5d6647;
$custom-dark: #000000;
JSON
{
  "hex": "#212d01",
  "rgb": {
    "r": 33,
    "g": 45,
    "b": 1
  },
  "hsl": {
    "h": 76.364,
    "s": 95.652,
    "l": 9.02
  },
  "oklch": {
    "l": 0.27598,
    "c": 0.06724,
    "h": 124.1
  },
  "luminance": 0.02202
}

Semantic roles & 50–950 ramp

primary
#212D01
secondary
#301773
accent
#29FF63
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#040500
muted
#797A77

Preview Lab

Preview with #212D01

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

Preview Lab → · Contrast checker → · Palette generator →

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