#227C40

Closest named color: Jungle Green (#048243). oklch(51.9% 0.125 150.3), rgb(34, 124, 64).

Aa

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

About this color

#227C40 is a medium-dark, moderately saturated green. In OKLCH its lightness is 52%, its chroma 0.125 and its hue 150°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Jungle Green (#048243), ΔE 0.018 away. White text reads best on it, at 5.21:1.

Hue familyGreens
Lightnessmedium-dark (52%)
Chromamoderately saturated (0.125)
Temperaturein between
Nearest nameJungle Green (#048243)
Black text4.02:1
White text5.21:1

Values

HEX#227C40
RGBrgb(34, 124, 64)
HSLhsl(140, 57%, 31%)
OKLCHoklch(51.9% 0.125 150.3)

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 #227C40 5.21:1 AA Lc -80.9 Fine for body text
Black text on #227C40 4.02:1 AA large text Lc 28.6 Dividers and decoration only
#227C40 text on white 5.21:1 AA Lc 75.5 Fine for body text
#227C40 text on black 4.02:1 AA large text Lc -26.2 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 700.

  1. Step 50

    50

    #F2F7F3

    oklch(97.1% 0.007 151.9)

  2. Step 100

    100

    #E2EDE4

    oklch(93.5% 0.017 151.1)

  3. Step 200

    200

    #CAE0CE

    oklch(88.5% 0.034 150.8)

  4. Step 300

    300

    #A5CCAD

    oklch(80.8% 0.06 151)

  5. Step 400

    400

    #73B281

    oklch(70.8% 0.097 150.4)

  6. Step 500

    500

    #4A9E61

    oklch(63.1% 0.123 150.4)

  7. Step 600

    600

    #268847

    oklch(55.5% 0.133 150.4)

  8. Step 700

    700 (this color)

    #227C40

    oklch(51.9% 0.125 150.3)

  9. Step 800

    800

    #175E2F

    oklch(42.7% 0.103 150.4)

  10. Step 900

    900

    #1B4D2A

    oklch(37.6% 0.08 150.6)

  11. Step 950

    950

    #122D19

    oklch(26.9% 0.05 150.3)

Export this scale for Tailwind in the Tailwind colors tool

#227C40 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)#7D713B0.104
Deuteranopia (no green cones)#7269440.103
Tritanopia (no blue cones)#007A6E0.069
Achromatopsia (no color)#6C6C6C0.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #227C40

    #227C40

    oklch(51.9% 0.125 150.3)

  • #904B8A

    #904B8A

    oklch(52% 0.125 330.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #227C40

    #227C40

    oklch(51.9% 0.125 150.3)

  • #607200

    #607200

    oklch(51.9% 0.123 120)

  • #007A6B

    #007A6B

    oklch(51.9% 0.094 180.3)

Open the analogous palette in the generator

Split complementary

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

  • #227C40

    #227C40

    oklch(51.9% 0.125 150.3)

  • #7555A5

    #7555A5

    oklch(51.9% 0.126 300.6)

  • #A04565

    #A04565

    oklch(51.9% 0.125 0.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #227C40

    #227C40

    oklch(51.9% 0.125 150.3)

  • #4E62B0

    #4E62B0

    oklch(51.9% 0.125 270.7)

  • #A4483B

    #A4483B

    oklch(51.9% 0.125 30.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #227C40

    #227C40

    oklch(51.9% 0.125 150.3)

  • #0070A6

    #0070A6

    oklch(52% 0.119 240.1)

  • #904B8A

    #904B8A

    oklch(52% 0.125 330.5)

  • #9A5500

    #9A5500

    oklch(52% 0.121 60.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #227C40 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.