#1B5F45

Closest named color: Spruce (#0A5F38). oklch(43.6% 0.08 163.7), rgb(27, 95, 69).

Aa

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

About this color

#1B5F45 is a dark, moderately saturated green. In OKLCH its lightness is 44%, its chroma 0.080 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.023 away. White text reads best on it, at 7.58:1.

Hue familyGreens
Lightnessdark (44%)
Chromamoderately saturated (0.080)
Temperaturein between
Nearest nameSpruce (#0A5F38)
Black text2.76:1
White text7.58:1

Values

HEX#1B5F45
RGBrgb(27, 95, 69)
HSLhsl(157, 56%, 24%)
OKLCHoklch(43.6% 0.08 163.7)

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 #1B5F45 7.58:1 AAA Lc -90.9 Preferred for body text
Black text on #1B5F45 2.76:1 Fails Lc 18.0 Dividers and decoration only
#1B5F45 text on white 7.58:1 AAA Lc 86.1 Fine for body text
#1B5F45 text on black 2.76:1 Fails Lc -16.0 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

    #CADFD4

    oklch(88.5% 0.027 163.1)

  4. Step 300

    300

    #A6CBB8

    oklch(81% 0.048 162.8)

  5. Step 400

    400

    #74B094

    oklch(70.8% 0.075 163.6)

  6. Step 500

    500

    #4B9C79

    oklch(63.2% 0.097 163.2)

  7. Step 600

    600

    #278662

    oklch(55.6% 0.104 163.6)

  8. Step 700

    700

    #177251

    oklch(49.2% 0.098 163.3)

  9. Step 800

    800 (this color)

    #1B5F45

    oklch(43.6% 0.08 163.7)

  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

#1B5F45 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)#5D58440.078
Deuteranopia (no green cones)#5451470.076
Tritanopia (no blue cones)#005F580.031
Achromatopsia (no color)#5454540.081

Harmonies

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

Complementary

The opposite hue (180°).

  • #1B5F45

    #1B5F45

    oklch(43.6% 0.08 163.7)

  • #703E5C

    #703E5C

    oklch(43.5% 0.081 344.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1B5F45

    #1B5F45

    oklch(43.6% 0.08 163.7)

  • #3F5B2B

    #3F5B2B

    oklch(43.6% 0.08 133.6)

  • #005E5D

    #005E5D

    oklch(43.6% 0.075 193.5)

Open the analogous palette in the generator

Split complementary

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

  • #1B5F45

    #1B5F45

    oklch(43.6% 0.08 163.7)

  • #614370

    #614370

    oklch(43.5% 0.08 313.9)

  • #773D44

    #773D44

    oklch(43.5% 0.081 13.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1B5F45

    #1B5F45

    oklch(43.6% 0.08 163.7)

  • #4C4B7C

    #4C4B7C

    oklch(43.6% 0.08 283.5)

  • #76422B

    #76422B

    oklch(43.7% 0.08 44)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1B5F45

    #1B5F45

    oklch(43.6% 0.08 163.7)

  • #30537D

    #30537D

    oklch(43.6% 0.081 254)

  • #703E5C

    #703E5C

    oklch(43.5% 0.081 344.1)

  • #6C4A16

    #6C4A16

    oklch(43.7% 0.081 73.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #1B5F45 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.