#18221A

Closest named color: Jet (#212529). oklch(23.9% 0.021 150.6), rgb(24, 34, 26).

Aa

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

About this color

#18221A is a very dark close to neutral grey. In OKLCH its lightness is 24%, its chroma 0.021. It has too little chroma to lean warm or cool. The nearest named color is Jet (#212529), ΔE 0.033 away. White text reads best on it, at 16.37:1.

Hue familyNeutrals
Lightnessvery dark (24%)
Chromaclose to neutral grey (0.021)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.28:1
White text16.37:1

Values

HEX#18221A
RGBrgb(24, 34, 26)
HSLhsl(132, 17%, 11%)
OKLCHoklch(23.9% 0.021 150.6)

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 #18221A 16.37:1 AAA Lc -105.8 Preferred for body text
Black text on #18221A 1.28:1 Fails Lc 0.0 Not readable
#18221A text on white 16.37:1 AAA Lc 103.3 Preferred for body text
#18221A text on black 1.28: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

    #F4F6F4

    oklch(97.1% 0.003 145.5)

  2. Step 100

    100

    #E7EBE7

    oklch(93.6% 0.007 145.5)

  3. Step 200

    200

    #D3DCD4

    oklch(88.5% 0.015 148.8)

  4. Step 300

    300

    #B6C5B9

    oklch(80.8% 0.023 151.6)

  5. Step 400

    400

    #90A894

    oklch(70.7% 0.039 150)

  6. Step 500

    500

    #74937A

    oklch(63.2% 0.051 150.5)

  7. Step 600

    600

    #5C7D63

    oklch(55.7% 0.055 150.8)

  8. Step 700

    700

    #4C6952

    oklch(49.1% 0.05 150.6)

  9. Step 800

    800

    #3E5643

    oklch(42.8% 0.043 150.6)

  10. Step 900

    900

    #354739

    oklch(37.8% 0.033 151.3)

  11. Step 950

    950 (this color)

    #18221A

    oklch(23.9% 0.021 150.6)

Export this scale for Tailwind in the Tailwind colors tool

#18221A 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)#22201A0.018
Deuteranopia (no green cones)#201F1A0.017
Tritanopia (no blue cones)#1722200.011
Achromatopsia (no color)#2020200.021

Harmonies

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

Complementary

The opposite hue (180°).

  • #18221A

    #18221A

    oklch(23.9% 0.021 150.6)

  • #251C24

    #251C24

    oklch(24.1% 0.02 329.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #18221A

    #18221A

    oklch(23.9% 0.021 150.6)

  • #1E2116

    #1E2116

    oklch(24.1% 0.021 120.3)

  • #142220

    #142220

    oklch(23.8% 0.02 184.8)

Open the analogous palette in the generator

Split complementary

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

  • #18221A

    #18221A

    oklch(23.9% 0.021 150.6)

  • #211D28

    #211D28

    oklch(24% 0.021 301.4)

  • #281B1F

    #281B1F

    oklch(24% 0.022 358.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #18221A

    #18221A

    oklch(23.9% 0.021 150.6)

  • #1B1F29

    #1B1F29

    oklch(24% 0.02 267.8)

  • #281C19

    #281C19

    oklch(24% 0.02 34.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #18221A

    #18221A

    oklch(23.9% 0.021 150.6)

  • #162128

    #162128

    oklch(24.1% 0.021 236.7)

  • #251C24

    #251C24

    oklch(24.1% 0.02 329.9)

  • #271D15

    #271D15

    oklch(24% 0.021 60.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #18221A 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.