#345F28

Closest named color: Pine (#2B5D34). oklch(44% 0.097 139.2), rgb(52, 95, 40).

Aa

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

About this color

#345F28 is a dark, moderately saturated green. In OKLCH its lightness is 44%, its chroma 0.097 and its hue 139°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine (#2B5D34), ΔE 0.019 away. White text reads best on it, at 7.46:1.

Hue familyGreens
Lightnessdark (44%)
Chromamoderately saturated (0.097)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.81:1
White text7.46:1

Values

HEX#345F28
RGBrgb(52, 95, 40)
HSLhsl(107, 41%, 26%)
OKLCHoklch(44% 0.097 139.2)

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 #345F28 7.46:1 AAA Lc -90.6 Preferred for body text
Black text on #345F28 2.81:1 Fails Lc 18.2 Dividers and decoration only
#345F28 text on white 7.46:1 AAA Lc 85.8 Fine for body text
#345F28 text on black 2.81:1 Fails Lc -16.3 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

    #F3F7F2

    oklch(97.2% 0.008 139.4)

  2. Step 100

    100

    #E4EDE2

    oklch(93.6% 0.017 140)

  3. Step 200

    200

    #CFDFCB

    oklch(88.6% 0.032 139.4)

  4. Step 300

    300

    #AECAA7

    oklch(80.9% 0.057 139.4)

  5. Step 400

    400

    #83AF78

    oklch(70.8% 0.091 139.5)

  6. Step 500

    500

    #639A54

    oklch(63% 0.116 139.2)

  7. Step 600

    600

    #498438

    oklch(55.5% 0.125 139.1)

  8. Step 700

    700

    #3A702A

    oklch(49.1% 0.117 139.1)

  9. Step 800

    800 (this color)

    #345F28

    oklch(44% 0.097 139.2)

  10. Step 900

    900

    #2B4B22

    oklch(37.7% 0.076 139.1)

  11. Step 950

    950

    #1A2C15

    oklch(27% 0.047 139.1)

Export this scale for Tailwind in the Tailwind colors tool

#345F28 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)#6257230.066
Deuteranopia (no green cones)#5C542C0.065
Tritanopia (no blue cones)#315C530.066
Achromatopsia (no color)#5555550.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #345F28

    #345F28

    oklch(44% 0.097 139.2)

  • #693F74

    #693F74

    oklch(43.9% 0.097 319.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #345F28

    #345F28

    oklch(44% 0.097 139.2)

  • #575600

    #575600

    oklch(44% 0.095 109)

  • #00624A

    #00624A

    oklch(44.1% 0.088 168.8)

Open the analogous palette in the generator

Split complementary

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

  • #345F28

    #345F28

    oklch(44% 0.097 139.2)

  • #524884

    #524884

    oklch(44% 0.097 289.5)

  • #793A5B

    #793A5B

    oklch(44.1% 0.097 349.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #345F28

    #345F28

    oklch(44% 0.097 139.2)

  • #305287

    #305287

    oklch(44% 0.096 259)

  • #7F3A3D

    #7F3A3D

    oklch(44% 0.096 19.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #345F28

    #345F28

    oklch(44% 0.097 139.2)

  • #005B79

    #005B79

    oklch(44.1% 0.087 229.3)

  • #693F74

    #693F74

    oklch(43.9% 0.097 319.1)

  • #7C401B

    #7C401B

    oklch(44% 0.097 49.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #345F28 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.