#155D40

Closest named color: Spruce (#0A5F38). oklch(42.7% 0.085 161.6), rgb(21, 93, 64).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (43%)
Chromamoderately saturated (0.085)
Temperaturein between
Nearest nameSpruce (#0A5F38)
Black text2.67:1
White text7.86:1

Values

HEX#155D40
RGBrgb(21, 93, 64)
HSLhsl(156, 63%, 22%)
OKLCHoklch(42.7% 0.085 161.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 #155D40 7.86:1 AAA Lc -91.7 Preferred for body text
Black text on #155D40 2.67:1 Fails Lc 17.1 Dividers and decoration only
#155D40 text on white 7.86:1 AAA Lc 86.9 Fine for body text
#155D40 text on black 2.67:1 Fails Lc -15.2 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

    #A5CBB7

    oklch(80.9% 0.049 162.1)

  5. Step 400

    400

    #72B091

    oklch(70.6% 0.079 161.7)

  6. Step 500

    500

    #499C76

    oklch(63% 0.1 161.7)

  7. Step 600

    600

    #23875F

    oklch(55.7% 0.11 161.8)

  8. Step 700

    700

    #13724E

    oklch(49.1% 0.102 161.6)

  9. Step 800

    800 (this color)

    #155D40

    oklch(42.7% 0.085 161.6)

  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

#155D40 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)#5C563E0.081
Deuteranopia (no green cones)#524F420.078
Tritanopia (no blue cones)#005D550.034
Achromatopsia (no color)#5252520.086

Harmonies

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

Complementary

The opposite hue (180°).

  • #155D40

    #155D40

    oklch(42.7% 0.085 161.6)

  • #6E3B5C

    #6E3B5C

    oklch(42.7% 0.085 341.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #155D40

    #155D40

    oklch(42.7% 0.085 161.6)

  • #3E5824

    #3E5824

    oklch(42.6% 0.084 131.2)

  • #005B59

    #005B59

    oklch(42.6% 0.073 192.2)

Open the analogous palette in the generator

Split complementary

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

  • #155D40

    #155D40

    oklch(42.7% 0.085 161.6)

  • #5E4071

    #5E4071

    oklch(42.6% 0.086 311.3)

  • #763A43

    #763A43

    oklch(42.8% 0.084 11.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #155D40

    #155D40

    oklch(42.7% 0.085 161.6)

  • #48487C

    #48487C

    oklch(42.7% 0.085 282.2)

  • #753E28

    #753E28

    oklch(42.8% 0.084 42)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #155D40

    #155D40

    oklch(42.7% 0.085 161.6)

  • #29517C

    #29517C

    oklch(42.7% 0.085 251.9)

  • #6E3B5C

    #6E3B5C

    oklch(42.7% 0.085 341.9)

  • #6B460E

    #6B460E

    oklch(42.6% 0.084 71.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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