#145C42

Closest named color: Spruce (#0A5F38). oklch(42.4% 0.082 164), rgb(20, 92, 66).

Aa

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

About this color

#145C42 is a dark, moderately saturated green. In OKLCH its lightness is 42%, its chroma 0.082 and its hue 164°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Spruce (#0A5F38), ΔE 0.021 away. White text reads best on it, at 7.95:1.

Hue familyGreens
Lightnessdark (42%)
Chromamoderately saturated (0.082)
Temperaturein between
Nearest nameSpruce (#0A5F38)
Black text2.63:1
White text7.95:1

Values

HEX#145C42
RGBrgb(20, 92, 66)
HSLhsl(158, 64%, 22%)
OKLCHoklch(42.4% 0.082 164)

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 #145C42 7.95:1 AAA Lc -92.0 Preferred for body text
Black text on #145C42 2.63:1 Fails Lc 16.8 Dividers and decoration only
#145C42 text on white 7.95:1 AAA Lc 87.3 Fine for body text
#145C42 text on black 2.63:1 Fails Lc -14.9 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 800.

  1. Step 50

    50

    #F2F7F4

    oklch(97.2% 0.007 160.1)

  2. Step 100

    100

    #E2EDE7

    oklch(93.6% 0.014 162.5)

  3. Step 200

    200

    #CADFD4

    oklch(88.5% 0.027 163.1)

  4. Step 300

    300

    #A5CBB8

    oklch(80.9% 0.048 163.5)

  5. Step 400

    400

    #72B094

    oklch(70.7% 0.077 164.2)

  6. Step 500

    500

    #499C79

    oklch(63.1% 0.098 163.6)

  7. Step 600

    600

    #238662

    oklch(55.5% 0.106 164)

  8. Step 700

    700

    #137251

    oklch(49.1% 0.099 163.6)

  9. Step 800

    800 (this color)

    #145C42

    oklch(42.4% 0.082 164)

  10. Step 900

    900

    #1A4C38

    oklch(37.6% 0.064 163.8)

  11. Step 950

    950

    #112D21

    oklch(27.1% 0.041 163.5)

Export this scale for Tailwind in the Tailwind colors tool

#145C42 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)#5A55410.080
Deuteranopia (no green cones)#514E440.078
Tritanopia (no blue cones)#005C550.031
Achromatopsia (no color)#5151510.082

Harmonies

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

Complementary

The opposite hue (180°).

  • #145C42

    #145C42

    oklch(42.4% 0.082 164)

  • #6D3B59

    #6D3B59

    oklch(42.5% 0.081 344.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #145C42

    #145C42

    oklch(42.4% 0.082 164)

  • #3B5827

    #3B5827

    oklch(42.5% 0.082 134)

  • #005A5A

    #005A5A

    oklch(42.3% 0.072 194.8)

Open the analogous palette in the generator

Split complementary

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

  • #145C42

    #145C42

    oklch(42.4% 0.082 164)

  • #5E406D

    #5E406D

    oklch(42.4% 0.081 313.8)

  • #743A41

    #743A41

    oklch(42.5% 0.081 13.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #145C42

    #145C42

    oklch(42.4% 0.082 164)

  • #494779

    #494779

    oklch(42.3% 0.082 284.1)

  • #733E27

    #733E27

    oklch(42.5% 0.082 43.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #145C42

    #145C42

    oklch(42.4% 0.082 164)

  • #2C507A

    #2C507A

    oklch(42.5% 0.082 253.5)

  • #6D3B59

    #6D3B59

    oklch(42.5% 0.081 344.3)

  • #694710

    #694710

    oklch(42.6% 0.082 74.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #145C42 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.