#225A27

Closest named color: Pine (#2B5D34). oklch(41.7% 0.1 145.1), rgb(34, 90, 39).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (42%)
Chromamoderately saturated (0.100)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.55:1
White text8.20:1

Values

HEX#225A27
RGBrgb(34, 90, 39)
HSLhsl(125, 45%, 24%)
OKLCHoklch(41.7% 0.1 145.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 #225A27 8.20:1 AAA Lc -92.7 Preferred for body text
Black text on #225A27 2.55:1 Fails Lc 15.9 Dividers and decoration only
#225A27 text on white 8.20:1 AAA Lc 88.1 Fine for body text
#225A27 text on black 2.55:1 Fails Lc -14.1 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

    #F2F7F2

    oklch(97.1% 0.008 145.5)

  2. Step 100

    100

    #E3EDE3

    oklch(93.6% 0.017 145.4)

  3. Step 200

    200

    #CCDFCC

    oklch(88.4% 0.033 145.3)

  4. Step 300

    300

    #AACBAA

    oklch(80.9% 0.058 145)

  5. Step 400

    400

    #7BB07C

    oklch(70.6% 0.093 145)

  6. Step 500

    500

    #579C5B

    oklch(63% 0.119 145.2)

  7. Step 600

    600

    #398740

    oklch(55.7% 0.131 145.2)

  8. Step 700

    700

    #2B7231

    oklch(49.1% 0.121 144.9)

  9. Step 800

    800 (this color)

    #225A27

    oklch(41.7% 0.1 145.1)

  10. Step 900

    900

    #244C26

    oklch(37.6% 0.078 144.8)

  11. Step 950

    950

    #162D17

    oklch(27.1% 0.049 145)

Export this scale for Tailwind in the Tailwind colors tool

#225A27 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)#5C52220.077
Deuteranopia (no green cones)#544D2B0.075
Tritanopia (no blue cones)#17584E0.060
Achromatopsia (no color)#4F4F4F0.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #225A27

    #225A27

    oklch(41.7% 0.1 145.1)

  • #67376A

    #67376A

    oklch(41.8% 0.1 325)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #225A27

    #225A27

    oklch(41.7% 0.1 145.1)

  • #4B5200

    #4B5200

    oklch(41.8% 0.095 115.3)

  • #005A4A

    #005A4A

    oklch(41.7% 0.079 175.1)

Open the analogous palette in the generator

Split complementary

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

  • #225A27

    #225A27

    oklch(41.7% 0.1 145.1)

  • #513F7C

    #513F7C

    oklch(41.7% 0.1 295.3)

  • #75324F

    #75324F

    oklch(41.8% 0.1 355.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #225A27

    #225A27

    oklch(41.7% 0.1 145.1)

  • #314983

    #314983

    oklch(41.7% 0.101 265.3)

  • #7A332F

    #7A332F

    oklch(41.8% 0.1 25.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #225A27

    #225A27

    oklch(41.7% 0.1 145.1)

  • #005375

    #005375

    oklch(41.7% 0.088 234.7)

  • #67376A

    #67376A

    oklch(41.8% 0.1 325)

  • #743B05

    #743B05

    oklch(41.7% 0.099 55.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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