#212E01#212E01

#212E01 is a dark, moderate yellow-green. Relative luminance 0.023; OKLCH L 27.9% C 0.069 H 124.9°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#212E01
RGBrgb(33, 46, 1)
HSLhsl(77, 96%, 9%)
HSVhsv(77, 98%, 18%)
CMYKcmyk(28.3%, 0%, 97.8%, 82%)
CIE-LABlab(16.89, -13.37, 23.63)
CIE-LCHlch(16.89, 27.15, 119.50°)
OKLaboklab(27.9% -0.0393 0.0564)
OKLCHoklch(27.9% 0.069 124.9)
XYZxyz(1.6097, 2.2795, 0.3839)
Luminance0.0228 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212E01 #0E012E
analogous
#2E2501 #212E01 #0B2E01
triadic
#212E01 #01212E #2E0121
tetradic
#212E01 #012E25 #0E012E #2E010B
square
#212E01 #012E25 #0E012E #2E010B
split-complementary
#212E01 #010B2E #25012E
monochromatic
#151E01 #151E01 #212E01 #4C6A02 #77A604

Accessibility & contrast

On white

14.42
#212E01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#212E01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212E01
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212E01#FFFFFF#000000##FFFFFF
##212E011.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A00
Deuteranopia (green-blind)
#302904
Tritanopia (blue-blind)
#232B26
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #212e01;
/* rgb */ color: rgb(33, 46, 1);
/* oklch */ color: oklch(27.9% 0.069 124.9);
Tailwind
colors: {
  custom: {
    50: '#5e6647',
    500: '#212e01',
    950: '#000000',
  },
}
SCSS
$custom: #212e01;
$custom-light: #5e6647;
$custom-dark: #000000;
JSON
{
  "hex": "#212e01",
  "rgb": {
    "r": 33,
    "g": 46,
    "b": 1
  },
  "hsl": {
    "h": 77.333,
    "s": 95.745,
    "l": 9.216
  },
  "oklch": {
    "l": 0.27903,
    "c": 0.06869,
    "h": 124.9
  },
  "luminance": 0.0228
}

Semantic roles & 50–950 ramp

primary
#212E01
secondary
#321774
accent
#29FF67
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#040600
muted
#797A77

Preview Lab

Preview with #212E01

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

Preview Lab → · Contrast checker → · Palette generator →

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