#CBEF87

Closest named color: Pistachio (#C0FA8B). oklch(90.4% 0.137 124.7), rgb(203, 239, 135).

Aa

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

About this color

#CBEF87 is a very light, moderately saturated yellow. In OKLCH its lightness is 90%, its chroma 0.137 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.029 away. Black text reads best on it, at 16.23:1.

Hue familyYellows
Lightnessvery light (90%)
Chromamoderately saturated (0.137)
Temperaturein between
Nearest namePistachio (#C0FA8B)
Black text16.23:1
White text1.29:1

Values

HEX#CBEF87
RGBrgb(203, 239, 135)
HSLhsl(81, 76%, 73%)
OKLCHoklch(90.4% 0.137 124.7)

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 #CBEF87 1.29:1 Fails Lc -16.7 Dividers and decoration only
Black text on #CBEF87 16.23:1 AAA Lc 89.1 Fine for body text
#CBEF87 text on white 1.29:1 Fails Lc 14.5 Not readable
#CBEF87 text on black 16.23:1 AAA Lc -89.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

    #F2F9E8

    oklch(97.2% 0.024 125.2)

  2. Step 100

    100

    #E2F0CC

    oklch(93.5% 0.05 124.7)

  3. Step 200

    200 (this color)

    #CBEF87

    oklch(90.4% 0.137 124.7)

  4. Step 300

    300

    #A8D341

    oklch(80.9% 0.176 124.5)

  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

    #364900

    oklch(37.5% 0.094 124.8)

  11. Step 950

    950

    #1F2C00

    oklch(27.1% 0.068 125.1)

Export this scale for Tailwind in the Tailwind colors tool

#CBEF87 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)#F9E37F0.064
Deuteranopia (no green cones)#F4E28D0.064
Tritanopia (no blue cones)#D1E6D60.110
Achromatopsia (no color)#E2E2E20.137

Harmonies

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

Complementary

The opposite hue (180°).

  • #CBEF87

    #CBEF87

    oklch(90.4% 0.137 124.7)

  • #E8D6FF

    #E8D6FF

    oklch(90.3% 0.058 305.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CBEF87

    #CBEF87

    oklch(90.4% 0.137 124.7)

  • #FCDE6D

    #FCDE6D

    oklch(90.4% 0.136 94.7)

  • #90FAB7

    #90FAB7

    oklch(90.4% 0.136 154.9)

Open the analogous palette in the generator

Split complementary

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

  • #CBEF87

    #CBEF87

    oklch(90.4% 0.137 124.7)

  • #D5DEFF

    #D5DEFF

    oklch(90.4% 0.046 273.4)

  • #FFCDF3

    #FFCDF3

    oklch(90.3% 0.074 334.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CBEF87

    #CBEF87

    oklch(90.4% 0.137 124.7)

  • #C4E4FF

    #C4E4FF

    oklch(90.4% 0.05 243.8)

  • #FFD1DB

    #FFD1DB

    oklch(90.3% 0.053 3.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CBEF87

    #CBEF87

    oklch(90.4% 0.137 124.7)

  • #A3EDFF

    #A3EDFF

    oklch(90.4% 0.077 214.6)

  • #E8D6FF

    #E8D6FF

    oklch(90.3% 0.058 305.1)

  • #FFD4C9

    #FFD4C9

    oklch(90.4% 0.051 34.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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