#12271C

Closest named color: Jet (#212529). oklch(25.1% 0.035 159.7), rgb(18, 39, 28).

Aa

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

About this color

#12271C is a dark, muted green. In OKLCH its lightness is 25%, its chroma 0.035 and its hue 160°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Jet (#212529), ΔE 0.037 away. White text reads best on it, at 15.75:1.

Hue familyGreens
Lightnessdark (25%)
Chromamuted (0.035)
Temperaturein between
Nearest nameJet (#212529)
Black text1.33:1
White text15.75:1

Values

HEX#12271C
RGBrgb(18, 39, 28)
HSLhsl(149, 37%, 11%)
OKLCHoklch(25.1% 0.035 159.7)

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 #12271C 15.75:1 AAA Lc -105.3 Preferred for body text
Black text on #12271C 1.33:1 Fails Lc 0.0 Not readable
#12271C text on white 15.75:1 AAA Lc 102.6 Preferred for body text
#12271C text on black 1.33: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

    #F2F7F4

    oklch(97.2% 0.007 160.1)

  2. Step 100

    100

    #E4ECE7

    oklch(93.6% 0.011 158.8)

  3. Step 200

    200

    #CDDED4

    oklch(88.5% 0.023 160.2)

  4. Step 300

    300

    #ABC9B7

    oklch(80.9% 0.041 159)

  5. Step 400

    400

    #7DAE92

    oklch(70.8% 0.066 159.1)

  6. Step 500

    500

    #5A9978

    oklch(63.1% 0.083 159.9)

  7. Step 600

    600

    #3D8460

    oklch(55.7% 0.092 159.2)

  8. Step 700

    700

    #2E6F50

    oklch(49% 0.084 160.2)

  9. Step 800

    800

    #285B41

    oklch(42.8% 0.071 159.1)

  10. Step 900

    900

    #254B37

    oklch(37.8% 0.056 159.1)

  11. Step 950

    950 (this color)

    #12271C

    oklch(25.1% 0.035 159.7)

Export this scale for Tailwind in the Tailwind colors tool

#12271C 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)#27241B0.034
Deuteranopia (no green cones)#23221D0.031
Tritanopia (no blue cones)#0D27240.015
Achromatopsia (no color)#2323230.035

Harmonies

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

Complementary

The opposite hue (180°).

  • #12271C

    #12271C

    oklch(25.1% 0.035 159.7)

  • #2D1B27

    #2D1B27

    oklch(25% 0.035 339.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12271C

    #12271C

    oklch(25.1% 0.035 159.7)

  • #1C2513

    #1C2513

    oklch(25% 0.035 130.2)

  • #0A2725

    #0A2725

    oklch(25% 0.035 188.9)

Open the analogous palette in the generator

Split complementary

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

  • #12271C

    #12271C

    oklch(25.1% 0.035 159.7)

  • #271D2E

    #271D2E

    oklch(25.1% 0.034 310.8)

  • #301B1E

    #301B1E

    oklch(25.1% 0.034 10.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12271C

    #12271C

    oklch(25.1% 0.035 159.7)

  • #1E2032

    #1E2032

    oklch(25% 0.034 278.7)

  • #301C15

    #301C15

    oklch(25.1% 0.034 40.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12271C

    #12271C

    oklch(25.1% 0.035 159.7)

  • #152332

    #152332

    oklch(25.1% 0.035 251)

  • #2D1B27

    #2D1B27

    oklch(25% 0.035 339.9)

  • #2D1F0F

    #2D1F0F

    oklch(25.2% 0.035 68.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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