#C5E978

Closest named color: Pistachio (#C0FA8B). oklch(88.4% 0.146 123.9), rgb(197, 233, 120).

Aa

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

About this color

#C5E978 is a light, vivid yellow. In OKLCH its lightness is 88%, its chroma 0.146 and its hue 124°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pistachio (#C0FA8B), ΔE 0.042 away. Black text reads best on it, at 15.30:1.

Hue familyYellows
Lightnesslight (88%)
Chromavivid (0.146)
Temperaturein between
Nearest namePistachio (#C0FA8B)
Black text15.30:1
White text1.37:1

Values

HEX#C5E978
RGBrgb(197, 233, 120)
HSLhsl(79, 72%, 69%)
OKLCHoklch(88.4% 0.146 123.9)

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 #C5E978 1.37:1 Fails Lc -20.7 Dividers and decoration only
Black text on #C5E978 15.30:1 AAA Lc 85.6 Fine for body text
#C5E978 text on white 1.37:1 Fails Lc 18.1 Dividers and decoration only
#C5E978 text on black 15.30:1 AAA Lc -85.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

    #F2F9E6

    oklch(97.2% 0.026 123.4)

  2. Step 100

    100

    #E2F1C9

    oklch(93.7% 0.055 124.2)

  3. Step 200

    200 (this color)

    #C5E978

    oklch(88.4% 0.146 123.9)

  4. Step 300

    300

    #A8D42C

    oklch(81% 0.188 124)

  5. Step 400

    400

    #8AB100

    oklch(70.6% 0.175 124)

  6. Step 500

    500

    #769800

    oklch(63.1% 0.157 124)

  7. Step 600

    600

    #638000

    oklch(55.7% 0.138 124)

  8. Step 700

    700

    #536B00

    oklch(49% 0.121 123.6)

  9. Step 800

    800

    #435800

    oklch(42.7% 0.106 124.1)

  10. Step 900

    900

    #374900

    oklch(37.6% 0.094 124.1)

  11. Step 950

    950

    #202B00

    oklch(26.9% 0.066 123.3)

Export this scale for Tailwind in the Tailwind colors tool

#C5E978 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)#F4DD6E0.065
Deuteranopia (no green cones)#EFDC7E0.065
Tritanopia (no blue cones)#CCE0CF0.118
Achromatopsia (no color)#DCDCDC0.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #C5E978

    #C5E978

    oklch(88.4% 0.146 123.9)

  • #E2CEFF

    #E2CEFF

    oklch(88.3% 0.07 303.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C5E978

    #C5E978

    oklch(88.4% 0.146 123.9)

  • #F9D75A

    #F9D75A

    oklch(88.5% 0.146 93.9)

  • #84F5AC

    #84F5AC

    oklch(88.4% 0.146 153.9)

Open the analogous palette in the generator

Split complementary

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

  • #C5E978

    #C5E978

    oklch(88.4% 0.146 123.9)

  • #CDD7FF

    #CDD7FF

    oklch(88.4% 0.056 274.2)

  • #FFC3F2

    #FFC3F2

    oklch(88.5% 0.091 334.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C5E978

    #C5E978

    oklch(88.4% 0.146 123.9)

  • #B7DEFF

    #B7DEFF

    oklch(88.4% 0.061 244.1)

  • #FFC8D4

    #FFC8D4

    oklch(88.5% 0.064 3.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C5E978

    #C5E978

    oklch(88.4% 0.146 123.9)

  • #8AE9FF

    #8AE9FF

    oklch(88.3% 0.095 214.3)

  • #E2CEFF

    #E2CEFF

    oklch(88.3% 0.07 303.6)

  • #FFCBBE

    #FFCBBE

    oklch(88.4% 0.062 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 #C5E978, closest first.

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

Similar named colors

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

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