#C7EC7F

Closest named color: Pistachio (#C0FA8B). oklch(89.3% 0.142 124.6), rgb(199, 236, 127).

Aa

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

About this color

#C7EC7F is a light, vivid yellow. In OKLCH its lightness is 89%, its chroma 0.142 and its hue 125°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pistachio (#C0FA8B), ΔE 0.035 away. Black text reads best on it, at 15.73:1.

Hue familyYellows
Lightnesslight (89%)
Chromavivid (0.142)
Temperaturein between
Nearest namePistachio (#C0FA8B)
Black text15.73:1
White text1.33:1

Values

HEX#C7EC7F
RGBrgb(199, 236, 127)
HSLhsl(80, 74%, 71%)
OKLCHoklch(89.3% 0.142 124.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 #C7EC7F 1.33:1 Fails Lc -18.8 Dividers and decoration only
Black text on #C7EC7F 15.73:1 AAA Lc 87.2 Fine for body text
#C7EC7F text on white 1.33:1 Fails Lc 16.4 Dividers and decoration only
#C7EC7F text on black 15.73:1 AAA Lc -87.3 Fine 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

    #F2F9E7

    oklch(97.2% 0.025 124.3)

  2. Step 100

    100

    #E2F1CA

    oklch(93.7% 0.054 124.6)

  3. Step 200

    200 (this color)

    #C7EC7F

    oklch(89.3% 0.142 124.6)

  4. Step 300

    300

    #A7D437

    oklch(81% 0.183 124.7)

  5. Step 400

    400

    #89B200

    oklch(70.8% 0.177 124.5)

  6. Step 500

    500

    #759800

    oklch(63% 0.157 124.4)

  7. Step 600

    600

    #628000

    oklch(55.6% 0.139 124.4)

  8. Step 700

    700

    #516C00

    oklch(49.2% 0.123 125)

  9. Step 800

    800

    #425800

    oklch(42.6% 0.107 124.6)

  10. Step 900

    900

    #374900

    oklch(37.6% 0.094 124.1)

  11. Step 950

    950

    #1F2C00

    oklch(27.1% 0.068 125.1)

Export this scale for Tailwind in the Tailwind colors tool

#C7EC7F 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)#F7E0760.066
Deuteranopia (no green cones)#F1DE850.066
Tritanopia (no blue cones)#CEE3D20.114
Achromatopsia (no color)#DFDFDF0.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #C7EC7F

    #C7EC7F

    oklch(89.3% 0.142 124.6)

  • #E5D2FF

    #E5D2FF

    oklch(89.3% 0.064 304.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C7EC7F

    #C7EC7F

    oklch(89.3% 0.142 124.6)

  • #FADA62

    #FADA62

    oklch(89.3% 0.142 94.4)

  • #88F7B1

    #88F7B1

    oklch(89.2% 0.142 154.6)

Open the analogous palette in the generator

Split complementary

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

  • #C7EC7F

    #C7EC7F

    oklch(89.3% 0.142 124.6)

  • #D1DAFF

    #D1DAFF

    oklch(89.3% 0.052 274.5)

  • #FFC8F2

    #FFC8F2

    oklch(89.4% 0.082 334.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C7EC7F

    #C7EC7F

    oklch(89.3% 0.142 124.6)

  • #BDE1FF

    #BDE1FF

    oklch(89.4% 0.056 243.6)

  • #FFCCD7

    #FFCCD7

    oklch(89.3% 0.059 3.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C7EC7F

    #C7EC7F

    oklch(89.3% 0.142 124.6)

  • #97EBFF

    #97EBFF

    oklch(89.3% 0.086 214.5)

  • #E5D2FF

    #E5D2FF

    oklch(89.3% 0.064 304.3)

  • #FFCFC3

    #FFCFC3

    oklch(89.3% 0.057 34.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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