#222C01#222C01

#222C01 is a dark, moderate yellow-green. Relative luminance 0.021; OKLCH L 27.4% C 0.065 H 122.2°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#222C01
RGBrgb(34, 44, 1)
HSLhsl(74, 96%, 9%)
HSVhsv(74, 98%, 17%)
CMYKcmyk(22.7%, 0%, 97.7%, 82.7%)
CIE-LABlab(16.22, -11.67, 22.82)
CIE-LCHlch(16.22, 25.63, 117.08°)
OKLaboklab(27.38% -0.0348 0.0552)
OKLCHoklch(27.38% 0.065 122.2)
XYZxyz(1.5659, 2.1436, 0.3600)
Luminance0.0214 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222C01 #0B012C
analogous
#2C2101 #222C01 #0D2C01
triadic
#222C01 #01222C #2C0122
tetradic
#222C01 #012C21 #0B012C #2C010D
square
#222C01 #012C21 #0B012C #2C010D
split-complementary
#222C01 #010D2C #21012C
monochromatic
#171E01 #171E01 #222C01 #506802 #7EA404

Accessibility & contrast

On white

14.70
#222C01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222C01
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222C01#FFFFFF#000000##FFFFFF
##222C011.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #222c01;
/* rgb */ color: rgb(34, 44, 1);
/* oklch */ color: oklch(27.4% 0.065 122.2);
Tailwind
colors: {
  custom: {
    50: '#5e6547',
    500: '#222c01',
    950: '#000000',
  },
}
SCSS
$custom: #222c01;
$custom-light: #5e6547;
$custom-dark: #000000;
JSON
{
  "hex": "#222c01",
  "rgb": {
    "r": 34,
    "g": 44,
    "b": 1
  },
  "hsl": {
    "h": 73.953,
    "s": 95.556,
    "l": 8.824
  },
  "oklch": {
    "l": 0.27384,
    "c": 0.06522,
    "h": 122.2
  },
  "luminance": 0.02144
}

Semantic roles & 50–950 ramp

primary
#222C01
secondary
#2C1772
accent
#29FF5B
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#040500
muted
#797A77

Preview Lab

Preview with #222C01

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

Preview Lab → · Contrast checker → · Palette generator →

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