#C6CC40

Closest named color: Mustard Yellow (#D2BD0A). oklch(81.6% 0.158 111.8), rgb(198, 204, 64).

Aa

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

About this color

#C6CC40 is a light, vivid yellow. In OKLCH its lightness is 82%, its chroma 0.158 and its hue 112°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Mustard Yellow (#D2BD0A), ΔE 0.039 away. Black text reads best on it, at 12.11:1.

Hue familyYellows
Lightnesslight (82%)
Chromavivid (0.158)
Temperaturein between
Nearest nameMustard Yellow (#D2BD0A)
Black text12.11:1
White text1.73:1

Values

HEX#C6CC40
RGBrgb(198, 204, 64)
HSLhsl(63, 58%, 53%)
OKLCHoklch(81.6% 0.158 111.8)

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 #C6CC40 1.73:1 Fails Lc -35.2 Non-text elements, placeholder text
Black text on #C6CC40 12.11:1 AAA Lc 72.5 Content text, not long reading
#C6CC40 text on white 1.73:1 Fails Lc 31.3 Non-text elements, placeholder text
#C6CC40 text on black 12.11:1 AAA Lc -71.4 Content text, not long reading

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 300.

  1. Step 50

    50

    #F5F7E7

    oklch(97% 0.021 112.6)

  2. Step 100

    100

    #EAEDCB

    oklch(93.5% 0.045 111.4)

  3. Step 200

    200

    #DADF9C

    oklch(88.4% 0.087 111.6)

  4. Step 300

    300 (this color)

    #C6CC40

    oklch(81.6% 0.158 111.8)

  5. Step 400

    400

    #A4A900

    oklch(70.7% 0.156 111.9)

  6. Step 500

    500

    #8C9100

    oklch(63.1% 0.14 112.2)

  7. Step 600

    600

    #767900

    oklch(55.5% 0.122 111.5)

  8. Step 700

    700

    #636600

    oklch(49.1% 0.109 111.8)

  9. Step 800

    800

    #515300

    oklch(42.6% 0.094 111.4)

  10. Step 900

    900

    #434500

    oklch(37.6% 0.083 111.6)

  11. Step 950

    950

    #272900

    oklch(27% 0.06 112.6)

Export this scale for Tailwind in the Tailwind colors tool

#C6CC40 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)#DBC32A0.034
Deuteranopia (no green cones)#DCC64A0.037
Tritanopia (no blue cones)#D3C0B00.140
Achromatopsia (no color)#C5C5C50.158

Harmonies

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

Complementary

The opposite hue (180°).

  • #C6CC40

    #C6CC40

    oklch(81.6% 0.158 111.8)

  • #C3B7FF

    #C3B7FF

    oklch(81.5% 0.101 291.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C6CC40

    #C6CC40

    oklch(81.6% 0.158 111.8)

  • #F5B72B

    #F5B72B

    oklch(81.6% 0.158 82)

  • #84DC7A

    #84DC7A

    oklch(81.6% 0.158 141.8)

Open the analogous palette in the generator

Split complementary

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

  • #C6CC40

    #C6CC40

    oklch(81.6% 0.158 111.8)

  • #A2C3FF

    #A2C3FF

    oklch(81.5% 0.093 262.1)

  • #F29EFF

    #F29EFF

    oklch(81.5% 0.158 322)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C6CC40

    #C6CC40

    oklch(81.6% 0.158 111.8)

  • #6FD0FF

    #6FD0FF

    oklch(81.6% 0.113 231.4)

  • #FFA1CB

    #FFA1CB

    oklch(81.5% 0.122 351.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C6CC40

    #C6CC40

    oklch(81.6% 0.158 111.8)

  • #00DDE9

    #00DDE9

    oklch(81.7% 0.139 201.8)

  • #C3B7FF

    #C3B7FF

    oklch(81.5% 0.101 291.6)

  • #FFA8A5

    #FFA8A5

    oklch(81.6% 0.103 21.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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