#222A01#222A01

#222A01 is a dark, moderate yellow-green. Relative luminance 0.020; OKLCH L 26.8% C 0.062 H 120.3°. Best body text is #FFFFFF at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#222A01
RGBrgb(34, 42, 1)
HSLhsl(72, 95%, 8%)
HSVhsv(72, 98%, 16%)
CMYKcmyk(19%, 0%, 97.6%, 83.5%)
CIE-LABlab(15.48, -10.45, 21.88)
CIE-LCHlch(15.48, 24.25, 115.53°)
OKLaboklab(26.78% -0.0315 0.0539)
OKLCHoklch(26.78% 0.062 120.3)
XYZxyz(1.4932, 1.9982, 0.3357)
Luminance0.0200 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222A01 #09012A
analogous
#2A1D01 #222A01 #0D2A01
triadic
#222A01 #01222A #2A0122
tetradic
#222A01 #012A1D #09012A #2A010D
square
#222A01 #012A1D #09012A #2A010D
split-complementary
#222A01 #010D2A #1D012A
monochromatic
#181E01 #181E01 #222A01 #526602 #83A204

Accessibility & contrast

On white

15.00
#222A01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#222A01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222A01
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222A01#FFFFFF#000000##FFFFFF
##222A011.0015.001.4015.00
#FFFFFF15.001.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #222a01;
/* rgb */ color: rgb(34, 42, 1);
/* oklch */ color: oklch(26.8% 0.062 120.3);
Tailwind
colors: {
  custom: {
    50: '#5e6347',
    500: '#222a01',
    950: '#000000',
  },
}
SCSS
$custom: #222a01;
$custom-light: #5e6347;
$custom-dark: #000000;
JSON
{
  "hex": "#222a01",
  "rgb": {
    "r": 34,
    "g": 42,
    "b": 1
  },
  "hsl": {
    "h": 71.707,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.26781,
    "c": 0.06239,
    "h": 120.3
  },
  "luminance": 0.01998
}

Semantic roles & 50–950 ramp

primary
#222A01
secondary
#281670
accent
#29FF53
background
#F5F5F4
surface
#E9EAE6
border
#C5C6C2
text
#040500
muted
#797977

Preview Lab

Preview with #222A01

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

Preview Lab → · Contrast checker → · Palette generator →

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