#222901#222901

#222901 is a dark, moderate yellow-green. Relative luminance 0.019; OKLCH L 26.5% C 0.061 H 119.2°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#222901
RGBrgb(34, 41, 1)
HSLhsl(71, 95%, 8%)
HSVhsv(71, 98%, 16%)
CMYKcmyk(17.1%, 0%, 97.6%, 83.9%)
CIE-LABlab(15.11, -9.84, 21.41)
CIE-LCHlch(15.11, 23.56, 114.68°)
OKLaboklab(26.48% -0.0298 0.0532)
OKLCHoklch(26.48% 0.061 119.2)
XYZxyz(1.4581, 1.9282, 0.3241)
Luminance0.0193 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222901 #080129
analogous
#291C01 #222901 #0E2901
triadic
#222901 #012229 #290122
tetradic
#222901 #01291C #080129 #29010E
square
#222901 #01291C #080129 #29010E
split-complementary
#222901 #010E29 #1C0129
monochromatic
#191E01 #191E01 #222901 #546502 #85A004

Accessibility & contrast

On white

15.16
#222901 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#222901 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222901
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222901#FFFFFF#000000##FFFFFF
##2229011.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2600
Deuteranopia (green-blind)
#2C2603
Tritanopia (blue-blind)
#252621
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #222901;
/* rgb */ color: rgb(34, 41, 1);
/* oklch */ color: oklch(26.5% 0.061 119.2);
Tailwind
colors: {
  custom: {
    50: '#5e6247',
    500: '#222901',
    950: '#000000',
  },
}
SCSS
$custom: #222901;
$custom-light: #5e6247;
$custom-dark: #000000;
JSON
{
  "hex": "#222901",
  "rgb": {
    "r": 34,
    "g": 41,
    "b": 1
  },
  "hsl": {
    "h": 70.5,
    "s": 95.238,
    "l": 8.235
  },
  "oklch": {
    "l": 0.26481,
    "c": 0.06099,
    "h": 119.2
  },
  "luminance": 0.01928
}

Semantic roles & 50–950 ramp

primary
#222901
secondary
#26166F
accent
#29FF4E
background
#F5F5F4
surface
#E9EAE6
border
#C5C6C2
text
#040500
muted
#797977

Preview Lab

Preview with #222901

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

Preview Lab → · Contrast checker → · Palette generator →

#222901 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva