#C8EB7B

Closest named color: Pistachio (#C0FA8B). oklch(89.1% 0.144 123.6), rgb(200, 235, 123).

Aa

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

About this color

#C8EB7B is a light, vivid yellow. In OKLCH its lightness is 89%, its chroma 0.144 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.037 away. Black text reads best on it, at 15.62:1.

Hue familyYellows
Lightnesslight (89%)
Chromavivid (0.144)
Temperaturein between
Nearest namePistachio (#C0FA8B)
Black text15.62:1
White text1.34:1

Values

HEX#C8EB7B
RGBrgb(200, 235, 123)
HSLhsl(79, 74%, 70%)
OKLCHoklch(89.1% 0.144 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 #C8EB7B 1.34:1 Fails Lc -19.3 Dividers and decoration only
Black text on #C8EB7B 15.62:1 AAA Lc 86.8 Fine for body text
#C8EB7B text on white 1.34:1 Fails Lc 16.8 Dividers and decoration only
#C8EB7B text on black 15.62:1 AAA Lc -86.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

    #E2F1C9

    oklch(93.7% 0.055 124.2)

  3. Step 200

    200 (this color)

    #C8EB7B

    oklch(89.1% 0.144 123.6)

  4. Step 300

    300

    #A9D32F

    oklch(80.9% 0.185 123.6)

  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

#C8EB7B 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)#F6DF710.064
Deuteranopia (no green cones)#F1DE810.064
Tritanopia (no blue cones)#CFE2D10.117
Achromatopsia (no color)#DEDEDE0.145

Harmonies

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

Complementary

The opposite hue (180°).

  • #C8EB7B

    #C8EB7B

    oklch(89.1% 0.144 123.6)

  • #E4D1FF

    #E4D1FF

    oklch(89.1% 0.065 303.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C8EB7B

    #C8EB7B

    oklch(89.1% 0.144 123.6)

  • #FBD95E

    #FBD95E

    oklch(89.1% 0.145 93.8)

  • #88F7AE

    #88F7AE

    oklch(89.1% 0.145 153.6)

Open the analogous palette in the generator

Split complementary

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

  • #C8EB7B

    #C8EB7B

    oklch(89.1% 0.144 123.6)

  • #CFD9FF

    #CFD9FF

    oklch(89% 0.053 273.7)

  • #FFC6F3

    #FFC6F3

    oklch(89.1% 0.087 333.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C8EB7B

    #C8EB7B

    oklch(89.1% 0.144 123.6)

  • #BBE0FF

    #BBE0FF

    oklch(89% 0.058 243.7)

  • #FFCBD7

    #FFCBD7

    oklch(89.1% 0.061 3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C8EB7B

    #C8EB7B

    oklch(89.1% 0.144 123.6)

  • #92EBFF

    #92EBFF

    oklch(89.1% 0.09 213.6)

  • #E4D1FF

    #E4D1FF

    oklch(89.1% 0.065 303.9)

  • #FFCEC2

    #FFCEC2

    oklch(89.1% 0.058 34.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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