#CBEC7E

Closest named color: Pistachio (#C0FA8B). oklch(89.6% 0.142 123), rgb(203, 236, 126).

Aa

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

About this color

#CBEC7E is a light, vivid yellow. In OKLCH its lightness is 90%, its chroma 0.142 and its hue 123°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pistachio (#C0FA8B), ΔE 0.035 away. Black text reads best on it, at 15.83:1.

Hue familyYellows
Lightnesslight (90%)
Chromavivid (0.142)
Temperaturein between
Nearest namePistachio (#C0FA8B)
Black text15.83:1
White text1.32:1

Values

HEX#CBEC7E
RGBrgb(203, 236, 126)
HSLhsl(78, 74%, 71%)
OKLCHoklch(89.6% 0.142 123)

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 #CBEC7E 1.32:1 Fails Lc -18.4 Dividers and decoration only
Black text on #CBEC7E 15.83:1 AAA Lc 87.6 Fine for body text
#CBEC7E text on white 1.32:1 Fails Lc 16.0 Dividers and decoration only
#CBEC7E text on black 15.83:1 AAA Lc -87.7 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

    #F2F8E7

    oklch(97% 0.023 122.7)

  2. Step 100

    100

    #E3F0CA

    oklch(93.6% 0.052 122.8)

  3. Step 200

    200 (this color)

    #CBEC7E

    oklch(89.6% 0.142 123)

  4. Step 300

    300

    #ABD233

    oklch(80.8% 0.181 122.9)

  5. Step 400

    400

    #8DB100

    oklch(70.8% 0.174 123)

  6. Step 500

    500

    #789700

    oklch(63% 0.154 123)

  7. Step 600

    600

    #657F00

    oklch(55.6% 0.136 122.8)

  8. Step 700

    700

    #546B00

    oklch(49.1% 0.121 123.1)

  9. Step 800

    800

    #445800

    oklch(42.8% 0.106 123.5)

  10. Step 900

    900

    #394900

    oklch(37.8% 0.092 122.7)

  11. Step 950

    950

    #202B00

    oklch(26.9% 0.066 123.3)

Export this scale for Tailwind in the Tailwind colors tool

#CBEC7E 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)#F7E0750.062
Deuteranopia (no green cones)#F3DF840.063
Tritanopia (no blue cones)#D3E3D20.115
Achromatopsia (no color)#E0E0E00.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #CBEC7E

    #CBEC7E

    oklch(89.6% 0.142 123)

  • #E4D3FF

    #E4D3FF

    oklch(89.4% 0.062 302.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CBEC7E

    #CBEC7E

    oklch(89.6% 0.142 123)

  • #FDDA63

    #FDDA63

    oklch(89.6% 0.142 92.9)

  • #8DF8AF

    #8DF8AF

    oklch(89.6% 0.142 152.9)

Open the analogous palette in the generator

Split complementary

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

  • #CBEC7E

    #CBEC7E

    oklch(89.6% 0.142 123)

  • #D1DBFF

    #D1DBFF

    oklch(89.5% 0.051 273.1)

  • #FFC9F5

    #FFC9F5

    oklch(89.6% 0.083 332.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CBEC7E

    #CBEC7E

    oklch(89.6% 0.142 123)

  • #BEE2FF

    #BEE2FF

    oklch(89.6% 0.055 242.6)

  • #FFCDD9

    #FFCDD9

    oklch(89.5% 0.058 2.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CBEC7E

    #CBEC7E

    oklch(89.6% 0.142 123)

  • #96ECFF

    #96ECFF

    oklch(89.5% 0.087 213.3)

  • #E4D3FF

    #E4D3FF

    oklch(89.4% 0.062 302.7)

  • #FFD0C6

    #FFD0C6

    oklch(89.6% 0.055 32.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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