#12271A

Closest named color: Jet (#212529). oklch(25% 0.037 155.4), rgb(18, 39, 26).

Aa

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

About this color

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

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

Values

HEX#12271A
RGBrgb(18, 39, 26)
HSLhsl(143, 37%, 11%)
OKLCHoklch(25% 0.037 155.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 #12271A 15.77:1 AAA Lc -105.3 Preferred for body text
Black text on #12271A 1.33:1 Fails Lc 0.0 Not readable
#12271A text on white 15.77:1 AAA Lc 102.7 Preferred for body text
#12271A 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

    #E4ECE6

    oklch(93.5% 0.012 153.7)

  3. Step 200

    200

    #CDDED2

    oklch(88.4% 0.024 155.1)

  4. Step 300

    300

    #ABC9B5

    oklch(80.8% 0.043 156.1)

  5. Step 400

    400

    #7DAE8E

    oklch(70.7% 0.07 155.6)

  6. Step 500

    500

    #5A9A72

    oklch(63.2% 0.09 155.4)

  7. Step 600

    600

    #3D845A

    oklch(55.6% 0.098 155.4)

  8. Step 700

    700

    #2F704A

    oklch(49.2% 0.091 155.3)

  9. Step 800

    800

    #285B3D

    oklch(42.7% 0.075 155.6)

  10. Step 900

    900

    #264B34

    oklch(37.8% 0.058 155.1)

  11. Step 950

    950 (this color)

    #12271A

    oklch(25% 0.037 155.4)

Export this scale for Tailwind in the Tailwind colors tool

#12271A 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)#2724190.034
Deuteranopia (no green cones)#24221B0.033
Tritanopia (no blue cones)#0D27230.017
Achromatopsia (no color)#2323230.037

Harmonies

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

Complementary

The opposite hue (180°).

  • #12271A

    #12271A

    oklch(25% 0.037 155.4)

  • #2D1B29

    #2D1B29

    oklch(25.1% 0.037 335)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12271A

    #12271A

    oklch(25% 0.037 155.4)

  • #1D2511

    #1D2511

    oklch(25% 0.037 126.7)

  • #082724

    #082724

    oklch(24.9% 0.036 186.2)

Open the analogous palette in the generator

Split complementary

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

  • #12271A

    #12271A

    oklch(25% 0.037 155.4)

  • #261D30

    #261D30

    oklch(25% 0.037 305.6)

  • #311A1F

    #311A1F

    oklch(25.1% 0.037 6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12271A

    #12271A

    oklch(25% 0.037 155.4)

  • #1D2033

    #1D2033

    oklch(25% 0.036 276.6)

  • #311B15

    #311B15

    oklch(25% 0.037 36)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12271A

    #12271A

    oklch(25% 0.037 155.4)

  • #122332

    #122332

    oklch(24.9% 0.037 246.5)

  • #2D1B29

    #2D1B29

    oklch(25.1% 0.037 335)

  • #2E1E0E

    #2E1E0E

    oklch(25.1% 0.037 64.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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