#31B452

Closest named color: Shamrock (#01B44C). oklch(67.9% 0.178 147.6), rgb(49, 180, 82).

Aa

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

About this color

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

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

Values

HEX#31B452
RGBrgb(49, 180, 82)
HSLhsl(135, 57%, 45%)
OKLCHoklch(67.9% 0.178 147.6)

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 #31B452 2.69:1 Fails Lc -57.1 Large or bold text, headings
Black text on #31B452 7.78:1 AAA Lc 52.1 Large or bold text, headings
#31B452 text on white 2.69:1 Fails Lc 51.9 Large or bold text, headings
#31B452 text on black 7.78:1 AAA Lc -50.0 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

    #EFF8F0

    oklch(97% 0.014 148.8)

  2. Step 100

    100

    #DCF0DE

    oklch(93.5% 0.032 148.2)

  3. Step 200

    200

    #BFE5C2

    oklch(88.5% 0.062 147.2)

  4. Step 300

    300

    #8ED497

    oklch(80.8% 0.111 147.7)

  5. Step 400

    400 (this color)

    #31B452

    oklch(67.9% 0.178 147.6)

  6. Step 500

    500

    #00A63F

    oklch(63.2% 0.185 147.5)

  7. Step 600

    600

    #008B34

    oklch(55.5% 0.162 147.6)

  8. Step 700

    700

    #00752B

    oklch(49% 0.143 147.8)

  9. Step 800

    800

    #006021

    oklch(42.6% 0.125 147.5)

  10. Step 900

    900

    #00501B

    oklch(37.6% 0.109 147.8)

  11. Step 950

    950

    #00300D

    oklch(27% 0.078 147.8)

Export this scale for Tailwind in the Tailwind colors tool

#31B452 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)#B6A4490.140
Deuteranopia (no green cones)#A799590.139
Tritanopia (no blue cones)#00B09E0.104
Achromatopsia (no color)#9D9D9D0.178

Harmonies

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

Complementary

The opposite hue (180°).

  • #31B452

    #31B452

    oklch(67.9% 0.178 147.6)

  • #D06ACF

    #D06ACF

    oklch(67.8% 0.178 327.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31B452

    #31B452

    oklch(67.9% 0.178 147.6)

  • #91A400

    #91A400

    oklch(68% 0.158 117.7)

  • #00B097

    #00B097

    oklch(67.7% 0.125 177.7)

Open the analogous palette in the generator

Split complementary

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

  • #31B452

    #31B452

    oklch(67.9% 0.178 147.6)

  • #A67BF6

    #A67BF6

    oklch(67.9% 0.178 297.6)

  • #EA6198

    #EA6198

    oklch(68% 0.177 357.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31B452

    #31B452

    oklch(67.9% 0.178 147.6)

  • #6A90FF

    #6A90FF

    oklch(67.8% 0.169 267.6)

  • #F26357

    #F26357

    oklch(67.9% 0.179 27.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31B452

    #31B452

    oklch(67.9% 0.178 147.6)

  • #00A3E8

    #00A3E8

    oklch(67.9% 0.149 237.6)

  • #D06ACF

    #D06ACF

    oklch(67.8% 0.178 327.7)

  • #E07900

    #E07900

    oklch(67.8% 0.163 57.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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