#185A40

Closest named color: Spruce (#0A5F38). oklch(41.9% 0.079 162.8), rgb(24, 90, 64).

Aa

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

About this color

#185A40 is a dark, moderately saturated green. In OKLCH its lightness is 42%, its chroma 0.079 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.15:1.

Hue familyGreens
Lightnessdark (42%)
Chromamoderately saturated (0.079)
Temperaturein between
Nearest nameSpruce (#0A5F38)
Black text2.57:1
White text8.15:1

Values

HEX#185A40
RGBrgb(24, 90, 64)
HSLhsl(156, 58%, 22%)
OKLCHoklch(41.9% 0.079 162.8)

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 #185A40 8.15:1 AAA Lc -92.6 Preferred for body text
Black text on #185A40 2.57:1 Fails Lc 16.1 Dividers and decoration only
#185A40 text on white 8.15:1 AAA Lc 87.9 Fine for body text
#185A40 text on black 2.57: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

    #CBDFD4

    oklch(88.6% 0.026 161.9)

  4. Step 300

    300

    #A7CAB8

    oklch(80.8% 0.045 162.9)

  5. Step 400

    400

    #75AF93

    oklch(70.6% 0.073 162.8)

  6. Step 500

    500

    #4D9B79

    oklch(63% 0.094 163.2)

  7. Step 600

    600

    #2B8661

    oklch(55.6% 0.103 162.4)

  8. Step 700

    700

    #1C7151

    oklch(49% 0.095 163.2)

  9. Step 800

    800 (this color)

    #185A40

    oklch(41.9% 0.079 162.8)

  10. Step 900

    900

    #1E4C38

    oklch(37.8% 0.062 162.5)

  11. Step 950

    950

    #132C21

    oklch(26.9% 0.038 163.5)

Export this scale for Tailwind in the Tailwind colors tool

#185A40 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.076
Deuteranopia (no green cones)#504D420.074
Tritanopia (no blue cones)#005A530.031
Achromatopsia (no color)#4F4F4F0.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #185A40

    #185A40

    oklch(41.9% 0.079 162.8)

  • #6A3A58

    #6A3A58

    oklch(41.8% 0.079 342.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #185A40

    #185A40

    oklch(41.9% 0.079 162.8)

  • #3C5626

    #3C5626

    oklch(42% 0.08 132.4)

  • #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°).

  • #185A40

    #185A40

    oklch(41.9% 0.079 162.8)

  • #5C3F6B

    #5C3F6B

    oklch(41.9% 0.079 313.5)

  • #713941

    #713941

    oklch(41.8% 0.079 12)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #185A40

    #185A40

    oklch(41.9% 0.079 162.8)

  • #474676

    #474676

    oklch(41.8% 0.079 283.4)

  • #703D28

    #703D28

    oklch(41.8% 0.079 42.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #185A40

    #185A40

    oklch(41.9% 0.079 162.8)

  • #2B4F77

    #2B4F77

    oklch(42% 0.079 252.4)

  • #6A3A58

    #6A3A58

    oklch(41.8% 0.079 342.9)

  • #674512

    #674512

    oklch(41.9% 0.079 72.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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