#C5EB7C

Closest named color: Pistachio (#C0FA8B). oklch(88.9% 0.145 124.8), rgb(197, 235, 124).

Aa

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

About this color

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

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

Values

HEX#C5EB7C
RGBrgb(197, 235, 124)
HSLhsl(81, 74%, 70%)
OKLCHoklch(88.9% 0.145 124.8)

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 #C5EB7C 1.35:1 Fails Lc -19.6 Dividers and decoration only
Black text on #C5EB7C 15.54:1 AAA Lc 86.5 Fine for body text
#C5EB7C text on white 1.35:1 Fails Lc 17.1 Dividers and decoration only
#C5EB7C text on black 15.54:1 AAA Lc -86.5 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

    #F1F9E7

    oklch(97.1% 0.025 126.5)

  2. Step 100

    100

    #E2F1CA

    oklch(93.7% 0.054 124.6)

  3. Step 200

    200 (this color)

    #C5EB7C

    oklch(88.9% 0.145 124.8)

  4. Step 300

    300

    #A6D433

    oklch(80.9% 0.186 124.8)

  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

#C5EB7C 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)#F6DF730.067
Deuteranopia (no green cones)#F0DD820.067
Tritanopia (no blue cones)#CCE2D10.117
Achromatopsia (no color)#DEDEDE0.145

Harmonies

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

Complementary

The opposite hue (180°).

  • #C5EB7C

    #C5EB7C

    oklch(88.9% 0.145 124.8)

  • #E4D0FF

    #E4D0FF

    oklch(88.9% 0.067 304.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C5EB7C

    #C5EB7C

    oklch(88.9% 0.145 124.8)

  • #F9D95E

    #F9D95E

    oklch(89% 0.145 94.7)

  • #85F7B0

    #85F7B0

    oklch(89% 0.145 154.8)

Open the analogous palette in the generator

Split complementary

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

  • #C5EB7C

    #C5EB7C

    oklch(88.9% 0.145 124.8)

  • #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.

  • #C5EB7C

    #C5EB7C

    oklch(88.9% 0.145 124.8)

  • #BBDFFF

    #BBDFFF

    oklch(88.8% 0.058 245.4)

  • #FFCAD5

    #FFCAD5

    oklch(88.8% 0.062 4.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C5EB7C

    #C5EB7C

    oklch(88.9% 0.145 124.8)

  • #93EAFF

    #93EAFF

    oklch(88.9% 0.089 214.8)

  • #E4D0FF

    #E4D0FF

    oklch(88.9% 0.067 304.4)

  • #FFCDC0

    #FFCDC0

    oklch(88.8% 0.06 35)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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