#12231C

Closest named color: Jet (#212529). oklch(23.9% 0.027 166.2), rgb(18, 35, 28).

Aa

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

About this color

#12231C is a very dark close to neutral grey. In OKLCH its lightness is 24%, its chroma 0.027. 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 16.36:1.

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

Values

HEX#12231C
RGBrgb(18, 35, 28)
HSLhsl(155, 32%, 10%)
OKLCHoklch(23.9% 0.027 166.2)

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

    #F3F6F5

    oklch(97.1% 0.003 174.5)

  2. Step 100

    100

    #E4ECE8

    oklch(93.6% 0.01 164.9)

  3. Step 200

    200

    #CFDDD6

    oklch(88.5% 0.018 164.6)

  4. Step 300

    300

    #AEC7BC

    oklch(80.8% 0.031 167.2)

  5. Step 400

    400

    #83AB99

    oklch(70.7% 0.051 165.6)

  6. Step 500

    500

    #639681

    oklch(63.1% 0.063 166.6)

  7. Step 600

    600

    #48816A

    oklch(55.7% 0.071 166)

  8. Step 700

    700

    #396D58

    oklch(49.2% 0.066 165.6)

  9. Step 800

    800

    #305948

    oklch(42.8% 0.055 165.3)

  10. Step 900

    900

    #2B493C

    oklch(37.7% 0.043 165)

  11. Step 950

    950 (this color)

    #12231C

    oklch(23.9% 0.027 166.2)

Export this scale for Tailwind in the Tailwind colors tool

#12231C 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)#22211C0.026
Deuteranopia (no green cones)#1F1F1C0.024
Tritanopia (no blue cones)#0E23210.010
Achromatopsia (no color)#2020200.027

Harmonies

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

Complementary

The opposite hue (180°).

  • #12231C

    #12231C

    oklch(23.9% 0.027 166.2)

  • #281A22

    #281A22

    oklch(23.9% 0.026 344)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12231C

    #12231C

    oklch(23.9% 0.027 166.2)

  • #192215

    #192215

    oklch(23.9% 0.027 136.3)

  • #0E2323

    #0E2323

    oklch(23.9% 0.027 195.5)

Open the analogous palette in the generator

Split complementary

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

  • #12231C

    #12231C

    oklch(23.9% 0.027 166.2)

  • #241B27

    #241B27

    oklch(23.8% 0.026 317.6)

  • #2A1A1A

    #2A1A1A

    oklch(23.9% 0.026 19.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12231C

    #12231C

    oklch(23.9% 0.027 166.2)

  • #1E1D2B

    #1E1D2B

    oklch(23.9% 0.027 287.5)

  • #2A1B14

    #2A1B14

    oklch(23.9% 0.027 46)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12231C

    #12231C

    oklch(23.9% 0.027 166.2)

  • #171F2C

    #171F2C

    oklch(23.8% 0.028 259.9)

  • #281A22

    #281A22

    oklch(23.9% 0.026 344)

  • #261D10

    #261D10

    oklch(23.8% 0.027 76.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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