#225F40

Closest named color: Pine (#2B5D34). oklch(43.7% 0.082 158), rgb(34, 95, 64).

Aa

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

About this color

#225F40 is a dark, moderately saturated green. In OKLCH its lightness is 44%, its chroma 0.082 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.55:1.

Hue familyGreens
Lightnessdark (44%)
Chromamoderately saturated (0.082)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.77:1
White text7.55:1

Values

HEX#225F40
RGBrgb(34, 95, 64)
HSLhsl(150, 47%, 25%)
OKLCHoklch(43.7% 0.082 158)

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 #225F40 7.55:1 AAA Lc -90.8 Preferred for body text
Black text on #225F40 2.77:1 Fails Lc 18.0 Dividers and decoration only
#225F40 text on white 7.55:1 AAA Lc 86.0 Fine for body text
#225F40 text on black 2.77:1 Fails Lc -16.0 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

    #A8CAB5

    oklch(80.8% 0.047 158.1)

  5. Step 400

    400

    #77AF8E

    oklch(70.6% 0.076 157.9)

  6. Step 500

    500

    #519B73

    oklch(63% 0.097 158.3)

  7. Step 600

    600

    #31865B

    oklch(55.7% 0.106 157.9)

  8. Step 700

    700

    #22714B

    oklch(49.1% 0.098 158.3)

  9. Step 800

    800 (this color)

    #225F40

    oklch(43.7% 0.082 158)

  10. Step 900

    900

    #204C34

    oklch(37.8% 0.064 157.4)

  11. Step 950

    950

    #142C1F

    oklch(26.9% 0.039 158.6)

Export this scale for Tailwind in the Tailwind colors tool

#225F40 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)#5E583E0.075
Deuteranopia (no green cones)#5652420.073
Tritanopia (no blue cones)#075E570.038
Achromatopsia (no color)#5454540.082

Harmonies

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

Complementary

The opposite hue (180°).

  • #225F40

    #225F40

    oklch(43.7% 0.082 158)

  • #6E3F61

    #6E3F61

    oklch(43.6% 0.081 338)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #225F40

    #225F40

    oklch(43.7% 0.082 158)

  • #445A26

    #445A26

    oklch(43.7% 0.081 128.4)

  • #005F59

    #005F59

    oklch(43.7% 0.076 187.3)

Open the analogous palette in the generator

Split complementary

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

  • #225F40

    #225F40

    oklch(43.7% 0.082 158)

  • #5E4574

    #5E4574

    oklch(43.7% 0.081 307.8)

  • #773D49

    #773D49

    oklch(43.7% 0.082 7.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #225F40

    #225F40

    oklch(43.7% 0.082 158)

  • #474C7E

    #474C7E

    oklch(43.6% 0.082 278.1)

  • #77402F

    #77402F

    oklch(43.5% 0.081 37.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #225F40

    #225F40

    oklch(43.7% 0.082 158)

  • #29557C

    #29557C

    oklch(43.7% 0.081 247.6)

  • #6E3F61

    #6E3F61

    oklch(43.6% 0.081 338)

  • #6F4818

    #6F4818

    oklch(43.7% 0.082 67.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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