#12571A

Closest named color: Deep Green (#02590F). oklch(40.1% 0.115 144.6), rgb(18, 87, 26).

Aa

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

About this color

#12571A is a dark, moderately saturated green. In OKLCH its lightness is 40%, its chroma 0.115 and its hue 145°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Green (#02590F), ΔE 0.015 away. White text reads best on it, at 8.73:1.

Hue familyGreens
Lightnessdark (40%)
Chromamoderately saturated (0.115)
Temperaturein between
Nearest nameDeep Green (#02590F)
Black text2.40:1
White text8.73:1

Values

HEX#12571A
RGBrgb(18, 87, 26)
HSLhsl(127, 66%, 21%)
OKLCHoklch(40.1% 0.115 144.6)

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 #12571A 8.73:1 AAA Lc -94.0 Preferred for body text
Black text on #12571A 2.40:1 Fails Lc 14.5 Not readable
#12571A text on white 8.73:1 AAA Lc 89.5 Fine for body text
#12571A text on black 2.40:1 Fails Lc -12.7 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 900.

  1. Step 50

    50

    #F1F8F1

    oklch(97.2% 0.012 145.5)

  2. Step 100

    100

    #E0EFE0

    oklch(93.7% 0.026 145.4)

  3. Step 200

    200

    #C7E2C6

    oklch(88.5% 0.048 144.2)

  4. Step 300

    300

    #9ED09E

    oklch(80.9% 0.087 144.7)

  5. Step 400

    400

    #65B768

    oklch(70.8% 0.138 144.7)

  6. Step 500

    500

    #2FA33C

    oklch(63% 0.175 144.8)

  7. Step 600

    600

    #008C21

    oklch(55.6% 0.177 144.7)

  8. Step 700

    700

    #00761A

    oklch(49.2% 0.156 144.6)

  9. Step 800

    800

    #006114

    oklch(42.8% 0.136 144.7)

  10. Step 900

    900 (this color)

    #12571A

    oklch(40.1% 0.115 144.6)

  11. Step 950

    950

    #092F0D

    oklch(26.9% 0.072 144.9)

Export this scale for Tailwind in the Tailwind colors tool

#12571A 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)#594E120.086
Deuteranopia (no green cones)#51491F0.085
Tritanopia (no blue cones)#00554A0.070
Achromatopsia (no color)#4B4B4B0.115

Harmonies

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

Complementary

The opposite hue (180°).

  • #12571A

    #12571A

    oklch(40.1% 0.115 144.6)

  • #652E6A

    #652E6A

    oklch(40.1% 0.115 324.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12571A

    #12571A

    oklch(40.1% 0.115 144.6)

  • #474D00

    #474D00

    oklch(40.1% 0.091 114.8)

  • #005545

    #005545

    oklch(40.1% 0.076 174.3)

Open the analogous palette in the generator

Split complementary

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

  • #12571A

    #12571A

    oklch(40.1% 0.115 144.6)

  • #4D387E

    #4D387E

    oklch(40.1% 0.114 294.5)

  • #75284B

    #75284B

    oklch(40.2% 0.114 355.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12571A

    #12571A

    oklch(40.1% 0.115 144.6)

  • #284485

    #284485

    oklch(40.2% 0.114 264.3)

  • #7A2827

    #7A2827

    oklch(40.1% 0.115 24.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12571A

    #12571A

    oklch(40.1% 0.115 144.6)

  • #004E6F

    #004E6F

    oklch(40% 0.085 235.3)

  • #652E6A

    #652E6A

    oklch(40.1% 0.115 324.2)

  • #703600

    #703600

    oklch(40.2% 0.1 54.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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