#C7F28C

Closest named color: Pistachio (#C0FA8B). oklch(90.8% 0.137 127.6), rgb(199, 242, 140).

Aa

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

About this color

#C7F28C is a very light, moderately saturated green. In OKLCH its lightness is 91%, its chroma 0.137 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.022 away. Black text reads best on it, at 16.50:1.

Hue familyGreens
Lightnessvery light (91%)
Chromamoderately saturated (0.137)
Temperaturein between
Nearest namePistachio (#C0FA8B)
Black text16.50:1
White text1.27:1

Values

HEX#C7F28C
RGBrgb(199, 242, 140)
HSLhsl(85, 80%, 75%)
OKLCHoklch(90.8% 0.137 127.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 #C7F28C 1.27:1 Fails Lc -15.5 Dividers and decoration only
Black text on #C7F28C 16.50:1 AAA Lc 90.2 Preferred for body text
#C7F28C text on white 1.27:1 Fails Lc 13.4 Not readable
#C7F28C text on black 16.50:1 AAA Lc -90.5 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

    #E0F1CD

    oklch(93.6% 0.051 128)

  3. Step 200

    200 (this color)

    #C7F28C

    oklch(90.8% 0.137 127.6)

  4. Step 300

    300

    #A0D548

    oklch(80.9% 0.177 127.7)

  5. Step 400

    400

    #80B400

    oklch(70.7% 0.183 127.5)

  6. Step 500

    500

    #6D9A00

    oklch(63% 0.164 127.5)

  7. Step 600

    600

    #5B8200

    oklch(55.6% 0.145 127.6)

  8. Step 700

    700

    #4C6D00

    oklch(49.1% 0.127 127.5)

  9. Step 800

    800

    #3E5900

    oklch(42.6% 0.11 127.2)

  10. Step 900

    900

    #334A00

    oklch(37.6% 0.097 127.1)

  11. Step 950

    950

    #1D2C00

    oklch(26.9% 0.069 127)

Export this scale for Tailwind in the Tailwind colors tool

#C7F28C 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)#FBE6840.070
Deuteranopia (no green cones)#F5E3920.071
Tritanopia (no blue cones)#CCEAD90.107
Achromatopsia (no color)#E4E4E40.138

Harmonies

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

Complementary

The opposite hue (180°).

  • #C7F28C

    #C7F28C

    oklch(90.8% 0.137 127.6)

  • #EBD7FF

    #EBD7FF

    oklch(90.8% 0.058 307.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C7F28C

    #C7F28C

    oklch(90.8% 0.137 127.6)

  • #F9E16E

    #F9E16E

    oklch(90.7% 0.137 97.7)

  • #8BFCBD

    #8BFCBD

    oklch(90.7% 0.137 157.7)

Open the analogous palette in the generator

Split complementary

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

  • #C7F28C

    #C7F28C

    oklch(90.8% 0.137 127.6)

  • #D9DFFF

    #D9DFFF

    oklch(90.9% 0.044 277.1)

  • #FFD0F1

    #FFD0F1

    oklch(90.8% 0.068 337.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C7F28C

    #C7F28C

    oklch(90.8% 0.137 127.6)

  • #C9E4FF

    #C9E4FF

    oklch(90.8% 0.047 248.3)

  • #FFD4DB

    #FFD4DB

    oklch(90.8% 0.049 7.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C7F28C

    #C7F28C

    oklch(90.8% 0.137 127.6)

  • #ADEDFF

    #ADEDFF

    oklch(90.9% 0.069 217.1)

  • #EBD7FF

    #EBD7FF

    oklch(90.8% 0.058 307.8)

  • #FFD6CA

    #FFD6CA

    oklch(90.8% 0.049 36.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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