#C2EC6F

Closest named color: Pistachio (#C0FA8B). oklch(88.8% 0.16 125), rgb(194, 236, 111).

Aa

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

About this color

#C2EC6F is a light, vivid yellow. In OKLCH its lightness is 89%, its chroma 0.160 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.038 away. Black text reads best on it, at 15.52:1.

Hue familyYellows
Lightnesslight (89%)
Chromavivid (0.160)
Temperaturein between
Nearest namePistachio (#C0FA8B)
Black text15.52:1
White text1.35:1

Values

HEX#C2EC6F
RGBrgb(194, 236, 111)
HSLhsl(80, 77%, 68%)
OKLCHoklch(88.8% 0.16 125)

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 #C2EC6F 1.35:1 Fails Lc -19.7 Dividers and decoration only
Black text on #C2EC6F 15.52:1 AAA Lc 86.4 Fine for body text
#C2EC6F text on white 1.35:1 Fails Lc 17.2 Dividers and decoration only
#C2EC6F text on black 15.52:1 AAA Lc -86.4 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

    #F1F9E5

    oklch(97.1% 0.028 124.8)

  2. Step 100

    100

    #E1F1C7

    oklch(93.5% 0.058 124.5)

  3. Step 200

    200 (this color)

    #C2EC6F

    oklch(88.8% 0.16 125)

  4. Step 300

    300

    #A3D500

    oklch(80.8% 0.203 124.9)

  5. Step 400

    400

    #88B200

    oklch(70.7% 0.177 124.8)

  6. Step 500

    500

    #749900

    oklch(63.2% 0.159 125)

  7. Step 600

    600

    #618000

    oklch(55.5% 0.139 124.8)

  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

    #364A00

    oklch(37.8% 0.095 125.3)

  11. Step 950

    950

    #1F2C00

    oklch(27.1% 0.068 125.1)

Export this scale for Tailwind in the Tailwind colors tool

#C2EC6F 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)#F7DF630.072
Deuteranopia (no green cones)#F2DD770.075
Tritanopia (no blue cones)#C9E2D00.129
Achromatopsia (no color)#DDDDDD0.160

Harmonies

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

Complementary

The opposite hue (180°).

  • #C2EC6F

    #C2EC6F

    oklch(88.8% 0.16 125)

  • #E4CFFF

    #E4CFFF

    oklch(88.7% 0.069 304.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C2EC6F

    #C2EC6F

    oklch(88.8% 0.16 125)

  • #FBD848

    #FBD848

    oklch(88.8% 0.159 95)

  • #77F9AB

    #77F9AB

    oklch(88.9% 0.16 154.9)

Open the analogous palette in the generator

Split complementary

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

  • #C2EC6F

    #C2EC6F

    oklch(88.8% 0.16 125)

  • #CFD8FF

    #CFD8FF

    oklch(88.8% 0.055 275)

  • #FFC5F1

    #FFC5F1

    oklch(88.8% 0.087 335.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C2EC6F

    #C2EC6F

    oklch(88.8% 0.16 125)

  • #BADFFF

    #BADFFF

    oklch(88.8% 0.059 244.6)

  • #FFCAD4

    #FFCAD4

    oklch(88.8% 0.061 5.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C2EC6F

    #C2EC6F

    oklch(88.8% 0.16 125)

  • #92EAFF

    #92EAFF

    oklch(88.9% 0.089 214.6)

  • #E4CFFF

    #E4CFFF

    oklch(88.7% 0.069 304.9)

  • #FFCDBF

    #FFCDBF

    oklch(88.8% 0.06 36.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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