#225A40

Closest named color: Pine (#2B5D34). oklch(42.2% 0.074 160.5), rgb(34, 90, 64).

Aa

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

About this color

#225A40 is a dark, moderately saturated green. In OKLCH its lightness is 42%, its chroma 0.074 and its hue 161°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine (#2B5D34), ΔE 0.024 away. White text reads best on it, at 8.06:1.

Hue familyGreens
Lightnessdark (42%)
Chromamoderately saturated (0.074)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.60:1
White text8.06:1

Values

HEX#225A40
RGBrgb(34, 90, 64)
HSLhsl(152, 45%, 24%)
OKLCHoklch(42.2% 0.074 160.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 #225A40 8.06:1 AAA Lc -92.4 Preferred for body text
Black text on #225A40 2.60:1 Fails Lc 16.3 Dividers and decoration only
#225A40 text on white 8.06:1 AAA Lc 87.7 Fine for body text
#225A40 text on black 2.60: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

    #F2F7F4

    oklch(97.2% 0.007 160.1)

  2. Step 100

    100

    #E3EDE7

    oklch(93.7% 0.013 159.9)

  3. Step 200

    200

    #CCDED4

    oklch(88.4% 0.024 161.7)

  4. Step 300

    300

    #A9CAB7

    oklch(80.9% 0.044 160)

  5. Step 400

    400

    #7AAE92

    oklch(70.6% 0.069 160.4)

  6. Step 500

    500

    #559A78

    oklch(63.1% 0.088 161)

  7. Step 600

    600

    #378460

    oklch(55.5% 0.095 160.5)

  8. Step 700

    700

    #28704F

    oklch(49.1% 0.09 160.3)

  9. Step 800

    800 (this color)

    #225A40

    oklch(42.2% 0.074 160.5)

  10. Step 900

    900

    #234B37

    oklch(37.7% 0.057 160.1)

  11. Step 950

    950

    #152C20

    oklch(27% 0.037 159.8)

Export this scale for Tailwind in the Tailwind colors tool

#225A40 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)#59533F0.071
Deuteranopia (no green cones)#514E420.068
Tritanopia (no blue cones)#0A5A530.031
Achromatopsia (no color)#5050500.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #225A40

    #225A40

    oklch(42.2% 0.074 160.5)

  • #693D5A

    #693D5A

    oklch(42.3% 0.074 340.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #225A40

    #225A40

    oklch(42.2% 0.074 160.5)

  • #405629

    #405629

    oklch(42.3% 0.074 130.4)

  • #005A57

    #005A57

    oklch(42.2% 0.073 190.8)

Open the analogous palette in the generator

Split complementary

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

  • #225A40

    #225A40

    oklch(42.2% 0.074 160.5)

  • #5A426C

    #5A426C

    oklch(42.3% 0.074 309.7)

  • #703C44

    #703C44

    oklch(42.3% 0.073 10.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #225A40

    #225A40

    oklch(42.2% 0.074 160.5)

  • #464975

    #464975

    oklch(42.3% 0.073 279.8)

  • #703F2D

    #703F2D

    oklch(42.3% 0.074 40.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #225A40

    #225A40

    oklch(42.2% 0.074 160.5)

  • #2D5075

    #2D5075

    oklch(42.3% 0.074 251.2)

  • #693D5A

    #693D5A

    oklch(42.3% 0.074 340.9)

  • #67461B

    #67461B

    oklch(42.2% 0.074 70.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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