#155E40

Closest named color: Spruce (#0A5F38). oklch(43% 0.086 161), rgb(21, 94, 64).

Aa

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

About this color

#155E40 is a dark, moderately saturated green. In OKLCH its lightness is 43%, its chroma 0.086 and its hue 161°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Spruce (#0A5F38), ΔE 0.015 away. White text reads best on it, at 7.75:1.

Hue familyGreens
Lightnessdark (43%)
Chromamoderately saturated (0.086)
Temperaturein between
Nearest nameSpruce (#0A5F38)
Black text2.70:1
White text7.75:1

Values

HEX#155E40
RGBrgb(21, 94, 64)
HSLhsl(155, 63%, 23%)
OKLCHoklch(43% 0.086 161)

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 #155E40 7.75:1 AAA Lc -91.4 Preferred for body text
Black text on #155E40 2.70:1 Fails Lc 17.4 Dividers and decoration only
#155E40 text on white 7.75:1 AAA Lc 86.6 Fine for body text
#155E40 text on black 2.70:1 Fails Lc -15.5 Dividers and decoration only

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

    #CADFD3

    oklch(88.5% 0.028 160.8)

  4. Step 300

    300

    #A5CBB6

    oklch(80.9% 0.05 160.9)

  5. Step 400

    400

    #72B190

    oklch(70.8% 0.081 160.5)

  6. Step 500

    500

    #489D75

    oklch(63.2% 0.103 160.9)

  7. Step 600

    600

    #22875D

    oklch(55.6% 0.112 160.7)

  8. Step 700

    700

    #10724D

    oklch(49% 0.104 161.3)

  9. Step 800

    800 (this color)

    #155E40

    oklch(43% 0.086 161)

  10. Step 900

    900

    #1A4C36

    oklch(37.6% 0.066 161.5)

  11. Step 950

    950

    #112D20

    oklch(27.1% 0.042 161.5)

Export this scale for Tailwind in the Tailwind colors tool

#155E40 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)#5D563E0.083
Deuteranopia (no green cones)#5350420.079
Tritanopia (no blue cones)#005E560.035
Achromatopsia (no color)#5252520.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #155E40

    #155E40

    oklch(43% 0.086 161)

  • #6F3B5E

    #6F3B5E

    oklch(42.9% 0.087 340.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #155E40

    #155E40

    oklch(43% 0.086 161)

  • #3F5923

    #3F5923

    oklch(43% 0.086 130.7)

  • #005C59

    #005C59

    oklch(42.9% 0.074 190.9)

Open the analogous palette in the generator

Split complementary

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

  • #155E40

    #155E40

    oklch(43% 0.086 161)

  • #5F4172

    #5F4172

    oklch(43% 0.086 311.3)

  • #773A44

    #773A44

    oklch(43% 0.086 11)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #155E40

    #155E40

    oklch(43% 0.086 161)

  • #48497E

    #48497E

    oklch(43% 0.087 281.3)

  • #773E28

    #773E28

    oklch(43.1% 0.087 41.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #155E40

    #155E40

    oklch(43% 0.086 161)

  • #28527D

    #28527D

    oklch(43% 0.086 251)

  • #6F3B5E

    #6F3B5E

    oklch(42.9% 0.087 340.7)

  • #6D460D

    #6D460D

    oklch(42.9% 0.086 70.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #155E40 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.