#31B22A

Closest named color: Shamrock (#01B44C). oklch(66.9% 0.204 142.3), rgb(49, 178, 42).

Aa

Black text reads best on this color (7.53:1).

About this color

#31B22A is a medium-light, vivid green. In OKLCH its lightness is 67%, its chroma 0.204 and its hue 142°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Shamrock (#01B44C), ΔE 0.026 away. Black text reads best on it, at 7.53:1.

Hue familyGreens
Lightnessmedium-light (67%)
Chromavivid (0.204)
Temperaturein between
Nearest nameShamrock (#01B44C)
Black text7.53:1
White text2.78:1

Values

HEX#31B22A
RGBrgb(49, 178, 42)
HSLhsl(117, 62%, 43%)
OKLCHoklch(66.9% 0.204 142.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 #31B22A 2.78:1 Fails Lc -58.4 Large or bold text, headings
Black text on #31B22A 7.53:1 AAA Lc 50.9 Large or bold text, headings
#31B22A text on white 2.78:1 Fails Lc 53.2 Large or bold text, headings
#31B22A text on black 7.53:1 AAA Lc -48.7 Large or bold text, headings

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 400.

  1. Step 50

    50

    #EFF9EE

    oklch(97.2% 0.018 142.8)

  2. Step 100

    100

    #DCF1DA

    oklch(93.6% 0.038 142.8)

  3. Step 200

    200

    #BFE6BB

    oklch(88.6% 0.071 142.5)

  4. Step 300

    300

    #8FD688

    oklch(81% 0.129 142.2)

  5. Step 400

    400 (this color)

    #31B22A

    oklch(66.9% 0.204 142.3)

  6. Step 500

    500

    #08A700

    oklch(63.2% 0.214 142.3)

  7. Step 600

    600

    #068C00

    oklch(55.5% 0.188 142.3)

  8. Step 700

    700

    #047600

    oklch(49.1% 0.166 142.3)

  9. Step 800

    800

    #036100

    oklch(42.7% 0.145 142.3)

  10. Step 900

    900

    #025100

    oklch(37.7% 0.128 142.3)

  11. Step 950

    950

    #013100

    oklch(27.2% 0.092 142.2)

Export this scale for Tailwind in the Tailwind colors tool

#31B22A 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)#B6A1090.143
Deuteranopia (no green cones)#A897390.144
Tritanopia (no blue cones)#01AD980.131
Achromatopsia (no color)#9B9B9B0.205

Harmonies

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

Complementary

The opposite hue (180°).

  • #31B22A

    #31B22A

    oklch(66.9% 0.204 142.3)

  • #CD61DD

    #CD61DD

    oklch(67% 0.203 322.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31B22A

    #31B22A

    oklch(66.9% 0.204 142.3)

  • #989D00

    #989D00

    oklch(66.9% 0.148 112)

  • #00AE8C

    #00AE8C

    oklch(66.9% 0.129 172.2)

Open the analogous palette in the generator

Split complementary

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

  • #31B22A

    #31B22A

    oklch(66.9% 0.204 142.3)

  • #9B78FF

    #9B78FF

    oklch(66.9% 0.193 292.3)

  • #ED52A1

    #ED52A1

    oklch(67% 0.204 352.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31B22A

    #31B22A

    oklch(66.9% 0.204 142.3)

  • #5790FF

    #5790FF

    oklch(66.9% 0.175 262.3)

  • #F95158

    #F95158

    oklch(66.9% 0.204 22.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31B22A

    #31B22A

    oklch(66.9% 0.204 142.3)

  • #00A2DA

    #00A2DA

    oklch(66.9% 0.137 232.1)

  • #CD61DD

    #CD61DD

    oklch(67% 0.203 322.3)

  • #E47000

    #E47000

    oklch(67% 0.172 52.2)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #31B22A.

Similar named colors

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

Use #31B22A 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.