#12231A

Closest named color: Jet (#212529). oklch(23.8% 0.029 160), rgb(18, 35, 26).

Aa

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

About this color

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

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

Values

HEX#12231A
RGBrgb(18, 35, 26)
HSLhsl(148, 32%, 10%)
OKLCHoklch(23.8% 0.029 160)

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

    #F3F6F4

    oklch(97% 0.004 157.2)

  2. Step 100

    100

    #E5ECE7

    oklch(93.6% 0.01 155.1)

  3. Step 200

    200

    #CFDDD5

    oklch(88.5% 0.019 161.1)

  4. Step 300

    300

    #AFC8B9

    oklch(81% 0.034 159.2)

  5. Step 400

    400

    #83AC95

    oklch(70.8% 0.056 160)

  6. Step 500

    500

    #63977B

    oklch(63.1% 0.07 160)

  7. Step 600

    600

    #498164

    oklch(55.6% 0.075 160)

  8. Step 700

    700

    #396D53

    oklch(49.1% 0.071 160.5)

  9. Step 800

    800

    #305944

    oklch(42.7% 0.059 160.2)

  10. Step 900

    900

    #2B4939

    oklch(37.6% 0.046 159.9)

  11. Step 950

    950 (this color)

    #12231A

    oklch(23.8% 0.029 160)

Export this scale for Tailwind in the Tailwind colors tool

#12231A 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)#23211A0.028
Deuteranopia (no green cones)#201F1B0.027
Tritanopia (no blue cones)#0E23200.012
Achromatopsia (no color)#1F1F1F0.029

Harmonies

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

Complementary

The opposite hue (180°).

  • #12231A

    #12231A

    oklch(23.8% 0.029 160)

  • #281923

    #281923

    oklch(23.7% 0.03 339.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12231A

    #12231A

    oklch(23.8% 0.029 160)

  • #1A2213

    #1A2213

    oklch(23.9% 0.03 131.2)

  • #0C2322

    #0C2322

    oklch(23.7% 0.029 191.6)

Open the analogous palette in the generator

Split complementary

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

  • #12231A

    #12231A

    oklch(23.8% 0.029 160)

  • #231B29

    #231B29

    oklch(23.8% 0.029 310.2)

  • #2B191C

    #2B191C

    oklch(23.8% 0.029 8.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12231A

    #12231A

    oklch(23.8% 0.029 160)

  • #1C1D2C

    #1C1D2C

    oklch(23.7% 0.029 281)

  • #2B1A14

    #2B1A14

    oklch(23.8% 0.03 40.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12231A

    #12231A

    oklch(23.8% 0.029 160)

  • #14202C

    #14202C

    oklch(23.8% 0.029 249.1)

  • #281923

    #281923

    oklch(23.7% 0.03 339.6)

  • #281C0F

    #281C0F

    oklch(23.8% 0.029 67.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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