#222E01#222E01

#222E01 is a dark, moderate yellow-green. Relative luminance 0.023; OKLCH L 28.0% C 0.068 H 123.9°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#222E01
RGBrgb(34, 46, 1)
HSLhsl(76, 96%, 9%)
HSVhsv(76, 98%, 18%)
CMYKcmyk(26.1%, 0%, 97.8%, 82%)
CIE-LABlab(16.97, -12.85, 23.75)
CIE-LCHlch(16.97, 27.00, 118.43°)
OKLaboklab(27.99% -0.038 0.0565)
OKLCHoklch(27.99% 0.068 123.9)
XYZxyz(1.6422, 2.2962, 0.3854)
Luminance0.0230 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222E01 #0D012E
analogous
#2E2401 #222E01 #0C2E01
triadic
#222E01 #01222E #2E0122
tetradic
#222E01 #012E24 #0D012E #2E010C
square
#222E01 #012E24 #0D012E #2E010C
split-complementary
#222E01 #010C2E #24012E
monochromatic
#161E01 #161E01 #222E01 #4E6A02 #7BA604

Accessibility & contrast

On white

14.39
#222E01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222E01
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222E01#FFFFFF#000000##FFFFFF
##222E011.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A00
Deuteranopia (green-blind)
#302A04
Tritanopia (blue-blind)
#242B26
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #222e01;
/* rgb */ color: rgb(34, 46, 1);
/* oklch */ color: oklch(28.0% 0.068 123.9);
Tailwind
colors: {
  custom: {
    50: '#5e6647',
    500: '#222e01',
    950: '#000000',
  },
}
SCSS
$custom: #222e01;
$custom-light: #5e6647;
$custom-dark: #000000;
JSON
{
  "hex": "#222e01",
  "rgb": {
    "r": 34,
    "g": 46,
    "b": 1
  },
  "hsl": {
    "h": 76,
    "s": 95.745,
    "l": 9.216
  },
  "oklch": {
    "l": 0.27989,
    "c": 0.06808,
    "h": 123.9
  },
  "luminance": 0.02296
}

Semantic roles & 50–950 ramp

primary
#222E01
secondary
#301774
accent
#29FF62
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#040600
muted
#797A77

Preview Lab

Preview with #222E01

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

Preview Lab → · Contrast checker → · Palette generator →

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