#C2CB39

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

Aa

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

About this color

#C2CB39 is a light, vivid yellow. In OKLCH its lightness is 81%, its chroma 0.162 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.89:1.

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

Values

HEX#C2CB39
RGBrgb(194, 203, 57)
HSLhsl(64, 58%, 51%)
OKLCHoklch(81% 0.162 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 #C2CB39 1.76:1 Fails Lc -36.2 Non-text elements, placeholder text
Black text on #C2CB39 11.89:1 AAA Lc 71.6 Content text, not long reading
#C2CB39 text on white 1.76:1 Fails Lc 32.3 Non-text elements, placeholder text
#C2CB39 text on black 11.89:1 AAA Lc -70.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

    #E9EECA

    oklch(93.6% 0.048 113.7)

  3. Step 200

    200

    #D9E09B

    oklch(88.5% 0.09 112.9)

  4. Step 300

    300 (this color)

    #C2CB39

    oklch(81% 0.162 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

#C2CB39 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)#DAC11D0.038
Deuteranopia (no green cones)#DAC4450.041
Tritanopia (no blue cones)#CFBFAF0.143
Achromatopsia (no color)#C3C3C30.162

Harmonies

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

Complementary

The opposite hue (180°).

  • #C2CB39

    #C2CB39

    oklch(81% 0.162 113)

  • #C3B4FF

    #C3B4FF

    oklch(80.9% 0.105 293.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C2CB39

    #C2CB39

    oklch(81% 0.162 113)

  • #F3B51A

    #F3B51A

    oklch(80.9% 0.162 82.8)

  • #7DDB78

    #7DDB78

    oklch(81% 0.162 142.9)

Open the analogous palette in the generator

Split complementary

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

  • #C2CB39

    #C2CB39

    oklch(81% 0.162 113)

  • #A0C1FF

    #A0C1FF

    oklch(80.9% 0.095 262.7)

  • #F29BFD

    #F29BFD

    oklch(81% 0.162 322.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C2CB39

    #C2CB39

    oklch(81% 0.162 113)

  • #6DCDFF

    #6DCDFF

    oklch(80.9% 0.115 233.4)

  • #FF9EC8

    #FF9EC8

    oklch(80.9% 0.125 352.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C2CB39

    #C2CB39

    oklch(81% 0.162 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 #C2CB39, closest first.

Similar named colors

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

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