#222B01#222B01

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

Color values

HEX#222B01
RGBrgb(34, 43, 1)
HSLhsl(73, 95%, 9%)
HSVhsv(73, 98%, 17%)
CMYKcmyk(20.9%, 0%, 97.7%, 83.1%)
CIE-LABlab(15.85, -11.06, 22.36)
CIE-LCHlch(15.85, 24.94, 116.33°)
OKLaboklab(27.08% -0.0331 0.0545)
OKLCHoklch(27.08% 0.064 121.3)
XYZxyz(1.5291, 2.0700, 0.3477)
Luminance0.0207 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222B01 #0A012B
analogous
#2B1F01 #222B01 #0D2B01
triadic
#222B01 #01222B #2B0122
tetradic
#222B01 #012B1F #0A012B #2B010D
square
#222B01 #012B1F #0A012B #2B010D
split-complementary
#222B01 #010D2B #1F012B
monochromatic
#181E01 #181E01 #222B01 #516702 #81A304

Accessibility & contrast

On white

14.85
#222B01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222B01
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222B01#FFFFFF#000000##FFFFFF
##222B011.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #222b01;
/* rgb */ color: rgb(34, 43, 1);
/* oklch */ color: oklch(27.1% 0.064 121.3);
Tailwind
colors: {
  custom: {
    50: '#5e6447',
    500: '#222b01',
    950: '#000000',
  },
}
SCSS
$custom: #222b01;
$custom-light: #5e6447;
$custom-dark: #000000;
JSON
{
  "hex": "#222b01",
  "rgb": {
    "r": 34,
    "g": 43,
    "b": 1
  },
  "hsl": {
    "h": 72.857,
    "s": 95.455,
    "l": 8.627
  },
  "oklch": {
    "l": 0.27082,
    "c": 0.0638,
    "h": 121.3
  },
  "luminance": 0.0207
}

Semantic roles & 50–950 ramp

primary
#222B01
secondary
#2A1771
accent
#29FF57
background
#F5F5F4
surface
#E9EAE6
border
#C5C6C2
text
#040500
muted
#797977

Preview Lab

Preview with #222B01

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

Preview Lab → · Contrast checker → · Palette generator →

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