#C5F28A

Closest named color: Pistachio (#C0FA8B). oklch(90.6% 0.14 128.1), rgb(197, 242, 138).

Aa

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

About this color

#C5F28A is a very light, vivid green. In OKLCH its lightness is 91%, its chroma 0.140 and its hue 128°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pistachio (#C0FA8B), ΔE 0.021 away. Black text reads best on it, at 16.44:1.

Hue familyGreens
Lightnessvery light (91%)
Chromavivid (0.140)
Temperaturein between
Nearest namePistachio (#C0FA8B)
Black text16.44:1
White text1.27:1

Values

HEX#C5F28A
RGBrgb(197, 242, 138)
HSLhsl(86, 80%, 75%)
OKLCHoklch(90.6% 0.14 128.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 #C5F28A 1.27:1 Fails Lc -15.8 Dividers and decoration only
Black text on #C5F28A 16.44:1 AAA Lc 89.9 Fine for body text
#C5F28A text on white 1.27:1 Fails Lc 13.7 Not readable
#C5F28A text on black 16.44:1 AAA Lc -90.2 Preferred for body text

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

  1. Step 50

    50

    #F1F9E8

    oklch(97.2% 0.024 127.6)

  2. Step 100

    100

    #E0F1CC

    oklch(93.6% 0.052 127.5)

  3. Step 200

    200 (this color)

    #C5F28A

    oklch(90.6% 0.14 128.1)

  4. Step 300

    300

    #9ED646

    oklch(81% 0.181 128.3)

  5. Step 400

    400

    #7EB500

    oklch(70.8% 0.186 128.2)

  6. Step 500

    500

    #6C9B00

    oklch(63.2% 0.165 128)

  7. Step 600

    600

    #5A8200

    oklch(55.6% 0.145 128)

  8. Step 700

    700

    #4B6D00

    oklch(49% 0.128 127.9)

  9. Step 800

    800

    #3D5A00

    oklch(42.8% 0.112 128.1)

  10. Step 900

    900

    #324B00

    oklch(37.8% 0.099 128.2)

  11. Step 950

    950

    #1C2C00

    oklch(26.9% 0.07 127.9)

Export this scale for Tailwind in the Tailwind colors tool

#C5F28A 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)#FBE5820.073
Deuteranopia (no green cones)#F5E3900.073
Tritanopia (no blue cones)#CAEAD90.109
Achromatopsia (no color)#E4E4E40.141

Harmonies

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

Complementary

The opposite hue (180°).

  • #C5F28A

    #C5F28A

    oklch(90.6% 0.14 128.1)

  • #EBD6FF

    #EBD6FF

    oklch(90.6% 0.059 308.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C5F28A

    #C5F28A

    oklch(90.6% 0.14 128.1)

  • #F9E16B

    #F9E16B

    oklch(90.7% 0.14 98)

  • #87FCBC

    #87FCBC

    oklch(90.5% 0.14 158)

Open the analogous palette in the generator

Split complementary

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

  • #C5F28A

    #C5F28A

    oklch(90.6% 0.14 128.1)

  • #D8DEFF

    #D8DEFF

    oklch(90.6% 0.046 277.3)

  • #FFD0F0

    #FFD0F0

    oklch(90.7% 0.067 338)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C5F28A

    #C5F28A

    oklch(90.6% 0.14 128.1)

  • #C8E4FF

    #C8E4FF

    oklch(90.7% 0.048 247.4)

  • #FFD3DA

    #FFD3DA

    oklch(90.6% 0.05 7.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C5F28A

    #C5F28A

    oklch(90.6% 0.14 128.1)

  • #ACECFF

    #ACECFF

    oklch(90.6% 0.069 218.1)

  • #EBD6FF

    #EBD6FF

    oklch(90.6% 0.059 308.2)

  • #FFD6C9

    #FFD6C9

    oklch(90.7% 0.049 38.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

Use #C5F28A 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.