#CBEF7B

Closest named color: Pistachio (#C0FA8B). oklch(90.2% 0.149 123.6), rgb(203, 239, 123).

Aa

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

About this color

#CBEF7B is a very light, vivid yellow. In OKLCH its lightness is 90%, its chroma 0.149 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.029 away. Black text reads best on it, at 16.17:1.

Hue familyYellows
Lightnessvery light (90%)
Chromavivid (0.149)
Temperaturein between
Nearest namePistachio (#C0FA8B)
Black text16.17:1
White text1.29:1

Values

HEX#CBEF7B
RGBrgb(203, 239, 123)
HSLhsl(79, 78%, 71%)
OKLCHoklch(90.2% 0.149 123.6)

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 #CBEF7B 1.29:1 Fails Lc -16.9 Dividers and decoration only
Black text on #CBEF7B 16.17:1 AAA Lc 88.9 Fine for body text
#CBEF7B text on white 1.29:1 Fails Lc 14.7 Not readable
#CBEF7B text on black 16.17:1 AAA Lc -89.1 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

    #E2F1C8

    oklch(93.6% 0.056 123.8)

  3. Step 200

    200 (this color)

    #CBEF7B

    oklch(90.2% 0.149 123.6)

  4. Step 300

    300

    #A9D423

    oklch(81% 0.191 123.5)

  5. Step 400

    400

    #8BB100

    oklch(70.6% 0.175 123.7)

  6. Step 500

    500

    #779800

    oklch(63.1% 0.156 123.6)

  7. Step 600

    600

    #648000

    oklch(55.8% 0.138 123.5)

  8. Step 700

    700

    #536B00

    oklch(49% 0.121 123.6)

  9. Step 800

    800

    #445800

    oklch(42.8% 0.106 123.5)

  10. Step 900

    900

    #384900

    oklch(37.7% 0.093 123.4)

  11. Step 950

    950

    #202B00

    oklch(26.9% 0.066 123.3)

Export this scale for Tailwind in the Tailwind colors tool

#CBEF7B 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)#FAE3710.065
Deuteranopia (no green cones)#F5E2820.065
Tritanopia (no blue cones)#D3E5D40.122
Achromatopsia (no color)#E2E2E20.149

Harmonies

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

Complementary

The opposite hue (180°).

  • #CBEF7B

    #CBEF7B

    oklch(90.2% 0.149 123.6)

  • #E6D6FF

    #E6D6FF

    oklch(90.2% 0.058 303)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CBEF7B

    #CBEF7B

    oklch(90.2% 0.149 123.6)

  • #FFDC61

    #FFDC61

    oklch(90.1% 0.145 93.4)

  • #89FBB0

    #89FBB0

    oklch(90.1% 0.148 153.5)

Open the analogous palette in the generator

Split complementary

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

  • #CBEF7B

    #CBEF7B

    oklch(90.2% 0.149 123.6)

  • #D4DDFF

    #D4DDFF

    oklch(90.1% 0.048 273.7)

  • #FFCCF4

    #FFCCF4

    oklch(90.1% 0.077 333.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CBEF7B

    #CBEF7B

    oklch(90.2% 0.149 123.6)

  • #C2E3FF

    #C2E3FF

    oklch(90.1% 0.052 244)

  • #FFD0DB

    #FFD0DB

    oklch(90.1% 0.055 2.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CBEF7B

    #CBEF7B

    oklch(90.2% 0.149 123.6)

  • #9FEDFF

    #9FEDFF

    oklch(90.2% 0.08 213.8)

  • #E6D6FF

    #E6D6FF

    oklch(90.2% 0.058 303)

  • #FFD3C9

    #FFD3C9

    oklch(90.2% 0.052 33)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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