#2A5845

Closest named color: Pine (#2B5D34). oklch(42.2% 0.06 164.7), rgb(42, 88, 69).

Aa

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

About this color

#2A5845 is a dark, muted green. In OKLCH its lightness is 42%, its chroma 0.060 and its hue 165°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine (#2B5D34), ΔE 0.035 away. White text reads best on it, at 8.13:1.

Hue familyGreens
Lightnessdark (42%)
Chromamuted (0.060)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.58:1
White text8.13:1

Values

HEX#2A5845
RGBrgb(42, 88, 69)
HSLhsl(155, 35%, 25%)
OKLCHoklch(42.2% 0.06 164.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 #2A5845 8.13:1 AAA Lc -92.7 Preferred for body text
Black text on #2A5845 2.58:1 Fails Lc 16.0 Dividers and decoration only
#2A5845 text on white 8.13:1 AAA Lc 88.0 Fine for body text
#2A5845 text on black 2.58:1 Fails Lc -14.1 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

    #F3F6F5

    oklch(97.1% 0.003 174.5)

  2. Step 100

    100

    #E4ECE8

    oklch(93.6% 0.01 164.9)

  3. Step 200

    200

    #CEDDD6

    oklch(88.4% 0.019 166.3)

  4. Step 300

    300

    #ACC8BB

    oklch(80.8% 0.035 165.8)

  5. Step 400

    400

    #80AC98

    oklch(70.7% 0.056 165.2)

  6. Step 500

    500

    #5E987E

    oklch(63.2% 0.073 164.1)

  7. Step 600

    600

    #428267

    oklch(55.6% 0.079 164.3)

  8. Step 700

    700

    #336E56

    oklch(49.1% 0.074 164.7)

  9. Step 800

    800 (this color)

    #2A5845

    oklch(42.2% 0.06 164.7)

  10. Step 900

    900

    #284A3B

    oklch(37.8% 0.048 164)

  11. Step 950

    950

    #182B23

    oklch(27% 0.029 165.8)

Export this scale for Tailwind in the Tailwind colors tool

#2A5845 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)#5652440.059
Deuteranopia (no green cones)#4F4D460.058
Tritanopia (no blue cones)#1B58530.024
Achromatopsia (no color)#4F4F4F0.061

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A5845

    #2A5845

    oklch(42.2% 0.06 164.7)

  • #654055

    #654055

    oklch(42.2% 0.06 344.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A5845

    #2A5845

    oklch(42.2% 0.06 164.7)

  • #3F5533

    #3F5533

    oklch(42.2% 0.06 135.1)

  • #1C5858

    #1C5858

    oklch(42.3% 0.06 195.1)

Open the analogous palette in the generator

Split complementary

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

  • #2A5845

    #2A5845

    oklch(42.2% 0.06 164.7)

  • #5A4364

    #5A4364

    oklch(42.1% 0.061 315.4)

  • #6B3F43

    #6B3F43

    oklch(42.1% 0.062 14.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A5845

    #2A5845

    oklch(42.2% 0.06 164.7)

  • #4A496D

    #4A496D

    oklch(42.2% 0.059 284.8)

  • #694331

    #694331

    oklch(42.2% 0.06 46)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A5845

    #2A5845

    oklch(42.2% 0.06 164.7)

  • #364F6E

    #364F6E

    oklch(42.1% 0.06 254.3)

  • #654055

    #654055

    oklch(42.2% 0.06 344.9)

  • #614926

    #614926

    oklch(42.3% 0.06 75.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2A5845 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.