#225F38

Closest named color: Pine (#2B5D34). oklch(43.5% 0.09 152.5), rgb(34, 95, 56).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (43%)
Chromamoderately saturated (0.090)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.76:1
White text7.60:1

Values

HEX#225F38
RGBrgb(34, 95, 56)
HSLhsl(142, 47%, 25%)
OKLCHoklch(43.5% 0.09 152.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 #225F38 7.60:1 AAA Lc -91.0 Preferred for body text
Black text on #225F38 2.76:1 Fails Lc 17.8 Dividers and decoration only
#225F38 text on white 7.60:1 AAA Lc 86.2 Fine for body text
#225F38 text on black 2.76:1 Fails Lc -15.9 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

    #F2F7F3

    oklch(97.1% 0.007 151.9)

  2. Step 100

    100

    #E3EDE5

    oklch(93.6% 0.015 151.8)

  3. Step 200

    200

    #CCDFD0

    oklch(88.5% 0.029 151.9)

  4. Step 300

    300

    #A8CBB0

    oklch(80.9% 0.053 151.9)

  5. Step 400

    400

    #78B087

    oklch(70.7% 0.084 152.2)

  6. Step 500

    500

    #519C69

    oklch(63% 0.108 152.6)

  7. Step 600

    600

    #328651

    oklch(55.5% 0.116 152.7)

  8. Step 700

    700

    #237241

    oklch(49.1% 0.109 152.4)

  9. Step 800

    800 (this color)

    #225F38

    oklch(43.5% 0.09 152.5)

  10. Step 900

    900

    #204C2F

    oklch(37.6% 0.07 152.7)

  11. Step 950

    950

    #142D1C

    oklch(27.1% 0.045 152.8)

Export this scale for Tailwind in the Tailwind colors tool

#225F38 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)#5F57350.077
Deuteranopia (no green cones)#57513B0.077
Tritanopia (no blue cones)#0E5E550.046
Achromatopsia (no color)#5454540.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #225F38

    #225F38

    oklch(43.5% 0.09 152.5)

  • #6E3D67

    #6E3D67

    oklch(43.6% 0.091 332.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #225F38

    #225F38

    oklch(43.5% 0.09 152.5)

  • #485919

    #485919

    oklch(43.5% 0.09 123)

  • #005F55

    #005F55

    oklch(43.6% 0.078 182.6)

Open the analogous palette in the generator

Split complementary

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

  • #225F38

    #225F38

    oklch(43.5% 0.09 152.5)

  • #5B447A

    #5B447A

    oklch(43.5% 0.09 302.5)

  • #793A4D

    #793A4D

    oklch(43.6% 0.09 2.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #225F38

    #225F38

    oklch(43.5% 0.09 152.5)

  • #414D82

    #414D82

    oklch(43.6% 0.089 272.6)

  • #7B3C30

    #7B3C30

    oklch(43.5% 0.091 32.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #225F38

    #225F38

    oklch(43.5% 0.09 152.5)

  • #19567E

    #19567E

    oklch(43.5% 0.09 242.3)

  • #6E3D67

    #6E3D67

    oklch(43.6% 0.091 332.4)

  • #734411

    #734411

    oklch(43.4% 0.09 62.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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