#C2CB40

Closest named color: Mustard Yellow (#D2BD0A). oklch(81% 0.158 113), rgb(194, 203, 64).

Aa

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

About this color

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

Hue familyYellows
Lightnesslight (81%)
Chromavivid (0.158)
Temperaturein between
Nearest nameMustard Yellow (#D2BD0A)
Black text11.91:1
White text1.76:1

Values

HEX#C2CB40
RGBrgb(194, 203, 64)
HSLhsl(64, 57%, 52%)
OKLCHoklch(81% 0.158 113)

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 #C2CB40 1.76:1 Fails Lc -36.2 Non-text elements, placeholder text
Black text on #C2CB40 11.91:1 AAA Lc 71.6 Content text, not long reading
#C2CB40 text on white 1.76:1 Fails Lc 32.2 Non-text elements, placeholder text
#C2CB40 text on black 11.91:1 AAA Lc -70.5 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

    #E9EECB

    oklch(93.6% 0.046 113.9)

  3. Step 200

    200

    #D9E09D

    oklch(88.5% 0.087 113)

  4. Step 300

    300 (this color)

    #C2CB40

    oklch(81% 0.158 113)

  5. Step 400

    400

    #A2AA00

    oklch(70.8% 0.158 113.1)

  6. Step 500

    500

    #8B9100

    oklch(63% 0.14 112.7)

  7. Step 600

    600

    #747A00

    oklch(55.6% 0.124 113.2)

  8. Step 700

    700

    #626600

    oklch(49% 0.109 112.4)

  9. Step 800

    800

    #505400

    oklch(42.8% 0.095 112.9)

  10. Step 900

    900

    #424600

    oklch(37.8% 0.084 113.4)

  11. Step 950

    950

    #272900

    oklch(27% 0.06 112.6)

Export this scale for Tailwind in the Tailwind colors tool

#C2CB40 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)#DAC22A0.037
Deuteranopia (no green cones)#DAC44A0.041
Tritanopia (no blue cones)#CFBFAF0.139
Achromatopsia (no color)#C3C3C30.158

Harmonies

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

Complementary

The opposite hue (180°).

  • #C2CB40

    #C2CB40

    oklch(81% 0.158 113)

  • #C3B4FF

    #C3B4FF

    oklch(80.9% 0.105 293.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C2CB40

    #C2CB40

    oklch(81% 0.158 113)

  • #F2B627

    #F2B627

    oklch(81% 0.158 83)

  • #7FDB7B

    #7FDB7B

    oklch(81.1% 0.158 143.1)

Open the analogous palette in the generator

Split complementary

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

  • #C2CB40

    #C2CB40

    oklch(81% 0.158 113)

  • #A1C1FF

    #A1C1FF

    oklch(81% 0.095 263.3)

  • #F19CFB

    #F19CFB

    oklch(80.9% 0.157 323.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C2CB40

    #C2CB40

    oklch(81% 0.158 113)

  • #6DCEFF

    #6DCEFF

    oklch(81.1% 0.115 232.6)

  • #FF9FC8

    #FF9FC8

    oklch(81.1% 0.124 353.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C2CB40

    #C2CB40

    oklch(81% 0.158 113)

  • #00DAE8

    #00DAE8

    oklch(80.9% 0.138 203.1)

  • #C3B4FF

    #C3B4FF

    oklch(80.9% 0.105 293.1)

  • #FFA5A0

    #FFA5A0

    oklch(81% 0.108 23.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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