#345840

Closest named color: Pine (#2B5D34). oklch(42.6% 0.058 154.1), rgb(52, 88, 64).

Aa

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

About this color

#345840 is a dark, muted green. In OKLCH its lightness is 43%, its chroma 0.058 and its hue 154°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine (#2B5D34), ΔE 0.030 away. White text reads best on it, at 8.02:1.

Hue familyGreens
Lightnessdark (43%)
Chromamuted (0.058)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.61:1
White text8.02:1

Values

HEX#345840
RGBrgb(52, 88, 64)
HSLhsl(140, 26%, 27%)
OKLCHoklch(42.6% 0.058 154.1)

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 #345840 8.02:1 AAA Lc -92.4 Preferred for body text
Black text on #345840 2.61:1 Fails Lc 16.3 Dividers and decoration only
#345840 text on white 8.02:1 AAA Lc 87.7 Fine for body text
#345840 text on black 2.61:1 Fails Lc -14.4 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

    #D0DDD4

    oklch(88.5% 0.019 155.8)

  4. Step 300

    300

    #B1C7B7

    oklch(80.8% 0.033 154)

  5. Step 400

    400

    #87AB91

    oklch(70.7% 0.054 153.5)

  6. Step 500

    500

    #689676

    oklch(63.1% 0.069 153.7)

  7. Step 600

    600

    #4E805F

    oklch(55.5% 0.075 154.3)

  8. Step 700

    700

    #3F6C4E

    oklch(49% 0.07 153.9)

  9. Step 800

    800 (this color)

    #345840

    oklch(42.6% 0.058 154.1)

  10. Step 900

    900

    #2E4937

    oklch(37.8% 0.045 154.5)

  11. Step 950

    950

    #1B2B20

    oklch(27.1% 0.03 154)

Export this scale for Tailwind in the Tailwind colors tool

#345840 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.052
Deuteranopia (no green cones)#524F410.049
Tritanopia (no blue cones)#2D57510.029
Achromatopsia (no color)#5050500.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #345840

    #345840

    oklch(42.6% 0.058 154.1)

  • #62425C

    #62425C

    oklch(42.5% 0.059 333.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #345840

    #345840

    oklch(42.6% 0.058 154.1)

  • #485430

    #485430

    oklch(42.6% 0.058 123.8)

  • #235952

    #235952

    oklch(42.6% 0.058 183.8)

Open the analogous palette in the generator

Split complementary

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

  • #345840

    #345840

    oklch(42.6% 0.058 154.1)

  • #554769

    #554769

    oklch(42.6% 0.058 302.9)

  • #6A414B

    #6A414B

    oklch(42.6% 0.059 4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #345840

    #345840

    oklch(42.6% 0.058 154.1)

  • #454C6E

    #454C6E

    oklch(42.5% 0.057 274.8)

  • #6B4339

    #6B4339

    oklch(42.7% 0.058 34.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #345840

    #345840

    oklch(42.6% 0.058 154.1)

  • #32526C

    #32526C

    oklch(42.5% 0.058 244.2)

  • #62425C

    #62425C

    oklch(42.5% 0.059 333.4)

  • #65482C

    #65482C

    oklch(42.7% 0.058 64.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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