#345540

Closest named color: Dark Slate Gray (#2F4F4F). oklch(41.7% 0.052 155.5), rgb(52, 85, 64).

Aa

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

About this color

#345540 is a dark, muted green. In OKLCH its lightness is 42%, its chroma 0.052 and its hue 155°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.037 away. White text reads best on it, at 8.33:1.

Hue familyGreens
Lightnessdark (42%)
Chromamuted (0.052)
Temperaturein between
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.51:1
White text8.33:1

Values

HEX#345540
RGBrgb(52, 85, 64)
HSLhsl(142, 24%, 27%)
OKLCHoklch(41.7% 0.052 155.5)

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 #345540 8.33:1 AAA Lc -93.3 Preferred for body text
Black text on #345540 2.51:1 Fails Lc 15.3 Dividers and decoration only
#345540 text on white 8.33:1 AAA Lc 88.7 Fine for body text
#345540 text on black 2.51:1 Fails Lc -13.5 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

    #F3F6F4

    oklch(97% 0.004 157.2)

  2. Step 100

    100

    #E5ECE7

    oklch(93.6% 0.01 155.1)

  3. Step 200

    200

    #D1DDD4

    oklch(88.6% 0.018 153.5)

  4. Step 300

    300

    #B2C7B8

    oklch(80.9% 0.031 154.6)

  5. Step 400

    400

    #89AA94

    oklch(70.7% 0.048 155.8)

  6. Step 500

    500

    #6B9579

    oklch(63.1% 0.062 155)

  7. Step 600

    600

    #527F62

    oklch(55.5% 0.067 155.3)

  8. Step 700

    700

    #426C51

    oklch(49.2% 0.064 155.1)

  9. Step 800

    800 (this color)

    #345540

    oklch(41.7% 0.052 155.5)

  10. Step 900

    900

    #304838

    oklch(37.7% 0.04 154.8)

  11. Step 950

    950

    #1C2A21

    oklch(26.9% 0.025 156.1)

Export this scale for Tailwind in the Tailwind colors tool

#345540 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)#55503F0.048
Deuteranopia (no green cones)#4F4C410.047
Tritanopia (no blue cones)#2E544F0.026
Achromatopsia (no color)#4E4E4E0.053

Harmonies

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

Complementary

The opposite hue (180°).

  • #345540

    #345540

    oklch(41.7% 0.052 155.5)

  • #5F4158

    #5F4158

    oklch(41.7% 0.054 335.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #345540

    #345540

    oklch(41.7% 0.052 155.5)

  • #455232

    #455232

    oklch(41.8% 0.053 126.6)

  • #265650

    #265650

    oklch(41.8% 0.053 184.6)

Open the analogous palette in the generator

Split complementary

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

  • #345540

    #345540

    oklch(41.7% 0.052 155.5)

  • #534563

    #534563

    oklch(41.7% 0.052 305.6)

  • #654048

    #654048

    oklch(41.7% 0.053 5.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #345540

    #345540

    oklch(41.7% 0.052 155.5)

  • #444A69

    #444A69

    oklch(41.7% 0.052 275.5)

  • #664239

    #664239

    oklch(41.8% 0.053 34.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #345540

    #345540

    oklch(41.7% 0.052 155.5)

  • #334F67

    #334F67

    oklch(41.6% 0.053 245.4)

  • #5F4158

    #5F4158

    oklch(41.7% 0.054 335.2)

  • #60462D

    #60462D

    oklch(41.6% 0.052 64.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #345540 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.