#155A40

Closest named color: Spruce (#0A5F38). oklch(41.8% 0.08 163.3), rgb(21, 90, 64).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (42%)
Chromamoderately saturated (0.080)
Temperaturein between
Nearest nameSpruce (#0A5F38)
Black text2.56:1
White text8.17:1

Values

HEX#155A40
RGBrgb(21, 90, 64)
HSLhsl(157, 62%, 22%)
OKLCHoklch(41.8% 0.08 163.3)

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 #155A40 8.17:1 AAA Lc -92.6 Preferred for body text
Black text on #155A40 2.56:1 Fails Lc 16.0 Dividers and decoration only
#155A40 text on white 8.17:1 AAA Lc 88.0 Fine for body text
#155A40 text on black 2.56:1 Fails Lc -14.2 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

    #A6CBB8

    oklch(81% 0.048 162.8)

  5. Step 400

    400

    #74B093

    oklch(70.8% 0.076 162.7)

  6. Step 500

    500

    #4B9C79

    oklch(63.2% 0.097 163.2)

  7. Step 600

    600

    #288662

    oklch(55.6% 0.104 163.4)

  8. Step 700

    700

    #187251

    oklch(49.2% 0.098 163.2)

  9. Step 800

    800 (this color)

    #155A40

    oklch(41.8% 0.08 163.3)

  10. Step 900

    900

    #1C4C38

    oklch(37.7% 0.063 163.2)

  11. Step 950

    950

    #122D21

    oklch(27.2% 0.04 162.8)

Export this scale for Tailwind in the Tailwind colors tool

#155A40 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)#58533F0.078
Deuteranopia (no green cones)#4F4D420.074
Tritanopia (no blue cones)#005A530.031
Achromatopsia (no color)#4F4F4F0.081

Harmonies

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

Complementary

The opposite hue (180°).

  • #155A40

    #155A40

    oklch(41.8% 0.08 163.3)

  • #6A3A58

    #6A3A58

    oklch(41.8% 0.079 342.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #155A40

    #155A40

    oklch(41.8% 0.08 163.3)

  • #3B5626

    #3B5626

    oklch(41.9% 0.08 133.1)

  • #005957

    #005957

    oklch(41.9% 0.072 192.1)

Open the analogous palette in the generator

Split complementary

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

  • #155A40

    #155A40

    oklch(41.8% 0.08 163.3)

  • #5C3F6B

    #5C3F6B

    oklch(41.9% 0.079 313.5)

  • #723940

    #723940

    oklch(42% 0.08 13.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #155A40

    #155A40

    oklch(41.8% 0.08 163.3)

  • #474677

    #474677

    oklch(41.8% 0.081 283.3)

  • #703D27

    #703D27

    oklch(41.8% 0.079 43.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #155A40

    #155A40

    oklch(41.8% 0.08 163.3)

  • #2B4E77

    #2B4E77

    oklch(41.8% 0.08 253.5)

  • #6A3A58

    #6A3A58

    oklch(41.8% 0.079 342.9)

  • #674510

    #674510

    oklch(41.9% 0.08 73.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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