#226040

Closest named color: Pine (#2B5D34). oklch(44% 0.083 157.6), rgb(34, 96, 64).

Aa

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

About this color

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

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

Values

HEX#226040
RGBrgb(34, 96, 64)
HSLhsl(149, 48%, 25%)
OKLCHoklch(44% 0.083 157.6)

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 #226040 7.45:1 AAA Lc -90.5 Preferred for body text
Black text on #226040 2.81:1 Fails Lc 18.3 Dividers and decoration only
#226040 text on white 7.45:1 AAA Lc 85.7 Fine for body text
#226040 text on black 2.81:1 Fails Lc -16.4 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

    #E3EDE6

    oklch(93.7% 0.014 155.6)

  3. Step 200

    200

    #CBDFD2

    oklch(88.5% 0.028 157.3)

  4. Step 300

    300

    #A7CBB5

    oklch(81% 0.049 158.3)

  5. Step 400

    400

    #77B08E

    oklch(70.8% 0.078 157.5)

  6. Step 500

    500

    #509C72

    oklch(63.2% 0.1 157.6)

  7. Step 600

    600

    #2F865A

    oklch(55.6% 0.108 157.7)

  8. Step 700

    700

    #21714A

    oklch(49% 0.099 157.8)

  9. Step 800

    800 (this color)

    #226040

    oklch(44% 0.083 157.6)

  10. Step 900

    900

    #1F4C34

    oklch(37.7% 0.065 157.8)

  11. Step 950

    950

    #132C1E

    oklch(26.8% 0.041 157.5)

Export this scale for Tailwind in the Tailwind colors tool

#226040 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)#5F593E0.076
Deuteranopia (no green cones)#5753420.074
Tritanopia (no blue cones)#065F580.040
Achromatopsia (no color)#5555550.084

Harmonies

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

Complementary

The opposite hue (180°).

  • #226040

    #226040

    oklch(44% 0.083 157.6)

  • #6F3F63

    #6F3F63

    oklch(43.9% 0.084 336.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #226040

    #226040

    oklch(44% 0.083 157.6)

  • #455B25

    #455B25

    oklch(44% 0.084 127.9)

  • #00605A

    #00605A

    oklch(44% 0.077 187.4)

Open the analogous palette in the generator

Split complementary

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

  • #226040

    #226040

    oklch(44% 0.083 157.6)

  • #5F4576

    #5F4576

    oklch(43.9% 0.084 307.7)

  • #783D4A

    #783D4A

    oklch(43.8% 0.083 7.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #226040

    #226040

    oklch(44% 0.083 157.6)

  • #484D80

    #484D80

    oklch(44% 0.084 278.1)

  • #794130

    #794130

    oklch(44% 0.083 37.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #226040

    #226040

    oklch(44% 0.083 157.6)

  • #28567E

    #28567E

    oklch(44% 0.083 247.3)

  • #6F3F63

    #6F3F63

    oklch(43.9% 0.084 336.8)

  • #704817

    #704817

    oklch(43.8% 0.083 67.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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