#CBF087

Closest named color: Pistachio (#C0FA8B). oklch(90.6% 0.138 125), rgb(203, 240, 135).

Aa

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

About this color

#CBF087 is a very light, moderately saturated yellow. In OKLCH its lightness is 91%, its chroma 0.138 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.027 away. Black text reads best on it, at 16.35:1.

Hue familyYellows
Lightnessvery light (91%)
Chromamoderately saturated (0.138)
Temperaturein between
Nearest namePistachio (#C0FA8B)
Black text16.35:1
White text1.28:1

Values

HEX#CBF087
RGBrgb(203, 240, 135)
HSLhsl(81, 78%, 74%)
OKLCHoklch(90.6% 0.138 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 #CBF087 1.28:1 Fails Lc -16.2 Dividers and decoration only
Black text on #CBF087 16.35:1 AAA Lc 89.6 Fine for body text
#CBF087 text on white 1.28:1 Fails Lc 14.0 Not readable
#CBF087 text on black 16.35:1 AAA Lc -89.8 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

    #F2F9E7

    oklch(97.2% 0.025 124.3)

  2. Step 100

    100

    #E2F0CB

    oklch(93.5% 0.051 124.3)

  3. Step 200

    200 (this color)

    #CBF087

    oklch(90.6% 0.138 125)

  4. Step 300

    300

    #A7D340

    oklch(80.8% 0.177 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

#CBF087 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)#FAE47F0.065
Deuteranopia (no green cones)#F5E38D0.065
Tritanopia (no blue cones)#D1E7D70.111
Achromatopsia (no color)#E3E3E30.138

Harmonies

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

Complementary

The opposite hue (180°).

  • #CBF087

    #CBF087

    oklch(90.6% 0.138 125)

  • #E8D7FF

    #E8D7FF

    oklch(90.5% 0.057 304.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CBF087

    #CBF087

    oklch(90.6% 0.138 125)

  • #FDDF6C

    #FDDF6C

    oklch(90.7% 0.138 94.9)

  • #8FFBB7

    #8FFBB7

    oklch(90.5% 0.138 154.9)

Open the analogous palette in the generator

Split complementary

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

  • #CBF087

    #CBF087

    oklch(90.6% 0.138 125)

  • #D7DEFF

    #D7DEFF

    oklch(90.6% 0.046 276)

  • #FFCFF3

    #FFCFF3

    oklch(90.6% 0.071 335.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CBF087

    #CBF087

    oklch(90.6% 0.138 125)

  • #C6E4FF

    #C6E4FF

    oklch(90.6% 0.049 245.5)

  • #FFD2DB

    #FFD2DB

    oklch(90.5% 0.052 4.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CBF087

    #CBF087

    oklch(90.6% 0.138 125)

  • #A6EDFF

    #A6EDFF

    oklch(90.5% 0.074 215.3)

  • #E8D7FF

    #E8D7FF

    oklch(90.5% 0.057 304.5)

  • #FFD5CA

    #FFD5CA

    oklch(90.6% 0.05 35.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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