#C8E671

Closest named color: Pistachio (#C0FA8B). oklch(87.9% 0.148 121.4), rgb(200, 230, 113).

Aa

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

About this color

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

Hue familyYellows
Lightnesslight (88%)
Chromavivid (0.148)
Temperaturein between
Nearest namePistachio (#C0FA8B)
Black text15.01:1
White text1.39:1

Values

HEX#C8E671
RGBrgb(200, 230, 113)
HSLhsl(75, 70%, 67%)
OKLCHoklch(87.9% 0.148 121.4)

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 #C8E671 1.39:1 Fails Lc -22.0 Dividers and decoration only
Black text on #C8E671 15.01:1 AAA Lc 84.4 Fine for body text
#C8E671 text on white 1.39:1 Fails Lc 19.2 Dividers and decoration only
#C8E671 text on black 15.01:1 AAA Lc -84.2 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

    #F2F8E6

    oklch(97% 0.025 121.9)

  2. Step 100

    100

    #E4F0C8

    oklch(93.6% 0.054 121)

  3. Step 200

    200 (this color)

    #C8E671

    oklch(87.9% 0.148 121.4)

  4. Step 300

    300

    #AED21A

    oklch(80.9% 0.19 121.5)

  5. Step 400

    400

    #91B000

    oklch(70.8% 0.171 121.5)

  6. Step 500

    500

    #7C9600

    oklch(63% 0.151 121.2)

  7. Step 600

    600

    #687E00

    oklch(55.5% 0.133 121.1)

  8. Step 700

    700

    #576A00

    oklch(49.1% 0.118 121.1)

  9. Step 800

    800

    #475700

    oklch(42.8% 0.103 121.1)

  10. Step 900

    900

    #3A4800

    oklch(37.6% 0.091 121.4)

  11. Step 950

    950

    #222B00

    oklch(27.1% 0.065 121.1)

Export this scale for Tailwind in the Tailwind colors tool

#C8E671 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)#F2DA660.060
Deuteranopia (no green cones)#EEDA780.061
Tritanopia (no blue cones)#D1DCCB0.123
Achromatopsia (no color)#DADADA0.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #C8E671

    #C8E671

    oklch(87.9% 0.148 121.4)

  • #DFCDFF

    #DFCDFF

    oklch(87.9% 0.071 301.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C8E671

    #C8E671

    oklch(87.9% 0.148 121.4)

  • #FBD355

    #FBD355

    oklch(87.9% 0.148 91.3)

  • #87F3A5

    #87F3A5

    oklch(88% 0.148 151.3)

Open the analogous palette in the generator

Split complementary

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

  • #C8E671

    #C8E671

    oklch(87.9% 0.148 121.4)

  • #C9D6FF

    #C9D6FF

    oklch(88% 0.059 271.3)

  • #FFBFF6

    #FFBFF6

    oklch(87.9% 0.101 331.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C8E671

    #C8E671

    oklch(87.9% 0.148 121.4)

  • #B1DDFF

    #B1DDFF

    oklch(87.8% 0.066 241.7)

  • #FFC5D4

    #FFC5D4

    oklch(87.9% 0.069 1.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C8E671

    #C8E671

    oklch(87.9% 0.148 121.4)

  • #7BEAFF

    #7BEAFF

    oklch(87.9% 0.106 211.4)

  • #DFCDFF

    #DFCDFF

    oklch(87.9% 0.071 301.4)

  • #FFC8BD

    #FFC8BD

    oklch(87.9% 0.065 31.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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