#12542D

Closest named color: Spruce (#0A5F38). oklch(39.5% 0.092 152.6), rgb(18, 84, 45).

Aa

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

About this color

#12542D is a dark, moderately saturated green. In OKLCH its lightness is 40%, its chroma 0.092 and its hue 153°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Spruce (#0A5F38), ΔE 0.035 away. White text reads best on it, at 9.00:1.

Hue familyGreens
Lightnessdark (40%)
Chromamoderately saturated (0.092)
Temperaturein between
Nearest nameSpruce (#0A5F38)
Black text2.33:1
White text9.00:1

Values

HEX#12542D
RGBrgb(18, 84, 45)
HSLhsl(145, 65%, 20%)
OKLCHoklch(39.5% 0.092 152.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 #12542D 9.00:1 AAA Lc -94.8 Preferred for body text
Black text on #12542D 2.33:1 Fails Lc 13.6 Not readable
#12542D text on white 9.00:1 AAA Lc 90.3 Preferred for body text
#12542D text on black 2.33:1 Fails Lc -12.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 900.

  1. Step 50

    50

    #F1F7F2

    oklch(97% 0.009 150.7)

  2. Step 100

    100

    #E0EEE4

    oklch(93.6% 0.02 154.9)

  3. Step 200

    200

    #C7E1CD

    oklch(88.5% 0.039 152.4)

  4. Step 300

    300

    #9FCEAB

    oklch(80.9% 0.07 152.5)

  5. Step 400

    400

    #67B47F

    oklch(70.6% 0.11 152.8)

  6. Step 500

    500

    #33A15E

    oklch(63.1% 0.141 152.6)

  7. Step 600

    600

    #008A47

    oklch(55.5% 0.144 152.6)

  8. Step 700

    700

    #00743B

    oklch(49% 0.127 152.7)

  9. Step 800

    800

    #005F2F

    oklch(42.5% 0.11 152.7)

  10. Step 900

    900 (this color)

    #12542D

    oklch(39.5% 0.092 152.6)

  11. Step 950

    950

    #0A2E18

    oklch(26.9% 0.058 153)

Export this scale for Tailwind in the Tailwind colors tool

#12542D 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)#544C2A0.079
Deuteranopia (no green cones)#4C47300.077
Tritanopia (no blue cones)#00534A0.047
Achromatopsia (no color)#4949490.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #12542D

    #12542D

    oklch(39.5% 0.092 152.6)

  • #62325C

    #62325C

    oklch(39.5% 0.091 331.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12542D

    #12542D

    oklch(39.5% 0.092 152.6)

  • #3E4E07

    #3E4E07

    oklch(39.6% 0.092 122.5)

  • #00524A

    #00524A

    oklch(39.4% 0.07 183.6)

Open the analogous palette in the generator

Split complementary

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

  • #12542D

    #12542D

    oklch(39.5% 0.092 152.6)

  • #50396F

    #50396F

    oklch(39.6% 0.091 302.1)

  • #6D2E42

    #6D2E42

    oklch(39.4% 0.092 2.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12542D

    #12542D

    oklch(39.5% 0.092 152.6)

  • #364177

    #364177

    oklch(39.4% 0.092 272.8)

  • #6F3124

    #6F3124

    oklch(39.5% 0.091 33.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12542D

    #12542D

    oklch(39.5% 0.092 152.6)

  • #054B73

    #054B73

    oklch(39.6% 0.091 242.1)

  • #62325C

    #62325C

    oklch(39.5% 0.091 331.9)

  • #683900

    #683900

    oklch(39.5% 0.091 62)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #12542D 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.