#12261F

Closest named color: Jet (#212529). oklch(24.9% 0.03 169.4), rgb(18, 38, 31).

Aa

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

About this color

#12261F is a very dark close to neutral grey. In OKLCH its lightness is 25%, its chroma 0.030. It has too little chroma to lean warm or cool. The nearest named color is Jet (#212529), ΔE 0.032 away. White text reads best on it, at 15.87:1.

Hue familyNeutrals
Lightnessvery dark (25%)
Chromaclose to neutral grey (0.030)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.32:1
White text15.87:1

Values

HEX#12261F
RGBrgb(18, 38, 31)
HSLhsl(159, 36%, 11%)
OKLCHoklch(24.9% 0.03 169.4)

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 #12261F 15.87:1 AAA Lc -105.4 Preferred for body text
Black text on #12261F 1.32:1 Fails Lc 0.0 Not readable
#12261F text on white 15.87:1 AAA Lc 102.8 Preferred for body text
#12261F text on black 1.32: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

    #E4ECE9

    oklch(93.6% 0.009 171.8)

  3. Step 200

    200

    #CDDDD7

    oklch(88.4% 0.019 171.4)

  4. Step 300

    300

    #ABC8BD

    oklch(80.8% 0.035 170.5)

  5. Step 400

    400

    #7EAC9B

    oklch(70.6% 0.055 169.9)

  6. Step 500

    500

    #5B9882

    oklch(63.2% 0.072 168.9)

  7. Step 600

    600

    #3F826C

    oklch(55.6% 0.077 169.6)

  8. Step 700

    700

    #306E5A

    oklch(49.1% 0.072 169.5)

  9. Step 800

    800

    #295A49

    oklch(42.8% 0.061 168.4)

  10. Step 900

    900

    #264A3D

    oklch(37.8% 0.048 168.4)

  11. Step 950

    950 (this color)

    #12261F

    oklch(24.9% 0.03 169.4)

Export this scale for Tailwind in the Tailwind colors tool

#12261F 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)#25241F0.030
Deuteranopia (no green cones)#22211F0.029
Tritanopia (no blue cones)#0C26240.011
Achromatopsia (no color)#2222220.030

Harmonies

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

Complementary

The opposite hue (180°).

  • #12261F

    #12261F

    oklch(24.9% 0.03 169.4)

  • #2C1C23

    #2C1C23

    oklch(25% 0.028 351.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12261F

    #12261F

    oklch(24.9% 0.03 169.4)

  • #1A2517

    #1A2517

    oklch(24.9% 0.03 139)

  • #0E2627

    #0E2627

    oklch(25% 0.03 199)

Open the analogous palette in the generator

Split complementary

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

  • #12261F

    #12261F

    oklch(24.9% 0.03 169.4)

  • #281D2A

    #281D2A

    oklch(25% 0.029 321.2)

  • #2E1C1C

    #2E1C1C

    oklch(25% 0.029 19.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12261F

    #12261F

    oklch(24.9% 0.03 169.4)

  • #211F2F

    #211F2F

    oklch(24.9% 0.03 289.8)

  • #2D1D15

    #2D1D15

    oklch(24.9% 0.029 47.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12261F

    #12261F

    oklch(24.9% 0.03 169.4)

  • #192230

    #192230

    oklch(25% 0.03 259.1)

  • #2C1C23

    #2C1C23

    oklch(25% 0.028 351.4)

  • #292011

    #292011

    oklch(25% 0.029 79.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #12261F 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.