#C7E26C

Closest named color: Dull Yellow (#EEDC5B). oklch(86.9% 0.147 120.3), rgb(199, 226, 108).

Aa

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

About this color

#C7E26C is a light, vivid yellow. In OKLCH its lightness is 87%, its chroma 0.147 and its hue 120°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dull Yellow (#EEDC5B), ΔE 0.051 away. Black text reads best on it, at 14.52:1.

Hue familyYellows
Lightnesslight (87%)
Chromavivid (0.147)
Temperaturein between
Nearest nameDull Yellow (#EEDC5B)
Black text14.52:1
White text1.44:1

Values

HEX#C7E26C
RGBrgb(199, 226, 108)
HSLhsl(74, 67%, 65%)
OKLCHoklch(86.9% 0.147 120.3)

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 #C7E26C 1.44:1 Fails Lc -24.1 Dividers and decoration only
Black text on #C7E26C 14.52:1 AAA Lc 82.5 Fine for body text
#C7E26C text on white 1.44:1 Fails Lc 21.2 Dividers and decoration only
#C7E26C text on black 14.52:1 AAA Lc -82.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

    #F3F8E6

    oklch(97.1% 0.024 119.5)

  2. Step 100

    100

    #E5F0C7

    oklch(93.6% 0.055 119.7)

  3. Step 200

    200 (this color)

    #C7E26C

    oklch(86.9% 0.147 120.3)

  4. Step 300

    300

    #B1D112

    oklch(80.9% 0.19 120.3)

  5. Step 400

    400

    #93AF00

    oklch(70.7% 0.169 120.5)

  6. Step 500

    500

    #7E9600

    oklch(63.2% 0.151 120.4)

  7. Step 600

    600

    #6A7E00

    oklch(55.7% 0.132 120.1)

  8. Step 700

    700

    #586A00

    oklch(49.2% 0.117 120.6)

  9. Step 800

    800

    #485600

    oklch(42.6% 0.101 120)

  10. Step 900

    900

    #3C4800

    oklch(37.7% 0.09 119.9)

  11. Step 950

    950

    #222B00

    oklch(27.1% 0.065 121.1)

Export this scale for Tailwind in the Tailwind colors tool

#C7E26C 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)#EED7610.056
Deuteranopia (no green cones)#EBD7730.057
Tritanopia (no blue cones)#D0D8C70.123
Achromatopsia (no color)#D7D7D70.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #C7E26C

    #C7E26C

    oklch(86.9% 0.147 120.3)

  • #DBC9FF

    #DBC9FF

    oklch(86.8% 0.076 300.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C7E26C

    #C7E26C

    oklch(86.9% 0.147 120.3)

  • #F9CF52

    #F9CF52

    oklch(86.9% 0.147 90.2)

  • #86EFA0

    #86EFA0

    oklch(86.9% 0.147 150.4)

Open the analogous palette in the generator

Split complementary

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

  • #C7E26C

    #C7E26C

    oklch(86.9% 0.147 120.3)

  • #C3D3FF

    #C3D3FF

    oklch(86.9% 0.064 269.4)

  • #FFB8F7

    #FFB8F7

    oklch(86.8% 0.115 330.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C7E26C

    #C7E26C

    oklch(86.9% 0.147 120.3)

  • #A9DBFF

    #A9DBFF

    oklch(86.9% 0.072 239.9)

  • #FFC0D1

    #FFC0D1

    oklch(86.9% 0.075 0.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C7E26C

    #C7E26C

    oklch(86.9% 0.147 120.3)

  • #65E9FF

    #65E9FF

    oklch(86.9% 0.119 210.2)

  • #DBC9FF

    #DBC9FF

    oklch(86.8% 0.076 300.1)

  • #FFC3B8

    #FFC3B8

    oklch(86.8% 0.071 30.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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