#225E40

Closest named color: Pine (#2B5D34). oklch(43.4% 0.08 158.5), rgb(34, 94, 64).

Aa

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

About this color

#225E40 is a dark, moderately saturated green. In OKLCH its lightness is 43%, its chroma 0.080 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.017 away. White text reads best on it, at 7.65:1.

Hue familyGreens
Lightnessdark (43%)
Chromamoderately saturated (0.080)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.74:1
White text7.65:1

Values

HEX#225E40
RGBrgb(34, 94, 64)
HSLhsl(150, 47%, 25%)
OKLCHoklch(43.4% 0.08 158.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 #225E40 7.65:1 AAA Lc -91.2 Preferred for body text
Black text on #225E40 2.74:1 Fails Lc 17.7 Dividers and decoration only
#225E40 text on white 7.65:1 AAA Lc 86.4 Fine for body text
#225E40 text on black 2.74:1 Fails Lc -15.7 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

    #CCDFD3

    oklch(88.6% 0.026 158.1)

  4. Step 300

    300

    #A8CAB5

    oklch(80.8% 0.047 158.1)

  5. Step 400

    400

    #78AF8F

    oklch(70.7% 0.075 158.3)

  6. Step 500

    500

    #529B74

    oklch(63.1% 0.095 158.7)

  7. Step 600

    600

    #32855C

    oklch(55.5% 0.103 158.6)

  8. Step 700

    700

    #23714C

    oklch(49.1% 0.096 158.8)

  9. Step 800

    800 (this color)

    #225E40

    oklch(43.4% 0.08 158.5)

  10. Step 900

    900

    #204C35

    oklch(37.8% 0.063 158.4)

  11. Step 950

    950

    #142C1F

    oklch(26.9% 0.039 158.6)

Export this scale for Tailwind in the Tailwind colors tool

#225E40 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)#5D573E0.074
Deuteranopia (no green cones)#5551420.073
Tritanopia (no blue cones)#085D560.037
Achromatopsia (no color)#5353530.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #225E40

    #225E40

    oklch(43.4% 0.08 158.5)

  • #6D3F60

    #6D3F60

    oklch(43.5% 0.079 338.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #225E40

    #225E40

    oklch(43.4% 0.08 158.5)

  • #435926

    #435926

    oklch(43.3% 0.08 128.7)

  • #005E59

    #005E59

    oklch(43.4% 0.075 188.5)

Open the analogous palette in the generator

Split complementary

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

  • #225E40

    #225E40

    oklch(43.4% 0.08 158.5)

  • #5D4472

    #5D4472

    oklch(43.3% 0.079 308.4)

  • #763D48

    #763D48

    oklch(43.5% 0.08 8.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #225E40

    #225E40

    oklch(43.4% 0.08 158.5)

  • #474C7C

    #474C7C

    oklch(43.4% 0.079 278)

  • #76402F

    #76402F

    oklch(43.4% 0.08 38.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #225E40

    #225E40

    oklch(43.4% 0.08 158.5)

  • #2A547B

    #2A547B

    oklch(43.4% 0.08 248.6)

  • #6D3F60

    #6D3F60

    oklch(43.5% 0.079 338.2)

  • #6D4819

    #6D4819

    oklch(43.4% 0.079 69)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #225E40 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.