#222717

Closest named color: Jet (#212529). oklch(26.3% 0.029 122.5), rgb(34, 39, 23).

Aa

White text reads best on this color (15.32:1).

About this color

#222717 is a dark close to neutral grey. In OKLCH its lightness is 26%, its chroma 0.029. It has too little chroma to lean warm or cool. The nearest named color is Jet (#212529), ΔE 0.036 away. White text reads best on it, at 15.32:1.

Hue familyNeutrals
Lightnessdark (26%)
Chromaclose to neutral grey (0.029)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.37:1
White text15.32:1

Values

HEX#222717
RGBrgb(34, 39, 23)
HSLhsl(79, 26%, 12%)
OKLCHoklch(26.3% 0.029 122.5)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #222717 15.32:1 AAA Lc -104.9 Preferred for body text
Black text on #222717 1.37:1 Fails Lc 0.0 Not readable
#222717 text on white 15.32:1 AAA Lc 102.2 Preferred for body text
#222717 text on black 1.37:1 Fails Lc 0.0 Not readable

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 950.

  1. Step 50

    50

    #F5F6F3

    oklch(97.2% 0.004 121.6)

  2. Step 100

    100

    #E8EBE4

    oklch(93.6% 0.01 125.7)

  3. Step 200

    200

    #D7DBCE

    oklch(88.5% 0.018 120.7)

  4. Step 300

    300

    #BCC5AC

    oklch(81% 0.036 123.3)

  5. Step 400

    400

    #9AA781

    oklch(70.8% 0.055 123.1)

  6. Step 500

    500

    #829160

    oklch(63.2% 0.071 122.3)

  7. Step 600

    600

    #6B7B47

    oklch(55.7% 0.077 122.9)

  8. Step 700

    700

    #596738

    oklch(49% 0.071 122.6)

  9. Step 800

    800

    #49542F

    oklch(42.6% 0.058 122.4)

  10. Step 900

    900

    #3D462A

    oklch(37.8% 0.046 123.1)

  11. Step 950

    950 (this color)

    #222717

    oklch(26.3% 0.029 122.5)

Export this scale for Tailwind in the Tailwind colors tool

#222717 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#2925160.014
Deuteranopia (no green cones)#2825180.013
Tritanopia (no blue cones)#2325230.025
Achromatopsia (no color)#2525250.029

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #222717

    #222717

    oklch(26.3% 0.029 122.5)

  • #272130

    #272130

    oklch(26.1% 0.029 302.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #222717

    #222717

    oklch(26.3% 0.029 122.5)

  • #2A2414

    #2A2414

    oklch(26.2% 0.029 89.7)

  • #1A291E

    #1A291E

    oklch(26.3% 0.029 152.4)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #222717

    #222717

    oklch(26.3% 0.029 122.5)

  • #202433

    #202433

    oklch(26.3% 0.029 272.7)

  • #2D1F2B

    #2D1F2B

    oklch(26.1% 0.03 331.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #222717

    #222717

    oklch(26.3% 0.029 122.5)

  • #182632

    #182632

    oklch(26.2% 0.03 245.1)

  • #311F23

    #311F23

    oklch(26.3% 0.029 4.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #222717

    #222717

    oklch(26.3% 0.029 122.5)

  • #12282D

    #12282D

    oklch(26.1% 0.029 214.1)

  • #272130

    #272130

    oklch(26.1% 0.029 302.7)

  • #311F1C

    #311F1C

    oklch(26.1% 0.029 29.7)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #222717, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #222717 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.