#C2C74B

Closest named color: Mustard Yellow (#D2BD0A). oklch(80.2% 0.145 111.5), rgb(194, 199, 75).

Aa

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

About this color

#C2C74B is a light, vivid yellow. In OKLCH its lightness is 80%, its chroma 0.145 and its hue 111°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Mustard Yellow (#D2BD0A), ΔE 0.035 away. Black text reads best on it, at 11.56:1.

Hue familyYellows
Lightnesslight (80%)
Chromavivid (0.145)
Temperaturein between
Nearest nameMustard Yellow (#D2BD0A)
Black text11.56:1
White text1.81:1

Values

HEX#C2C74B
RGBrgb(194, 199, 75)
HSLhsl(62, 53%, 54%)
OKLCHoklch(80.2% 0.145 111.5)

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 #C2C74B 1.81:1 Fails Lc -37.8 Non-text elements, placeholder text
Black text on #C2C74B 11.56:1 AAA Lc 70.1 Content text, not long reading
#C2C74B text on white 1.81:1 Fails Lc 33.8 Non-text elements, placeholder text
#C2C74B text on black 11.56:1 AAA Lc -68.8 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

    #F5F7E8

    oklch(97.1% 0.02 112.9)

  2. Step 100

    100

    #EAEDCD

    oklch(93.5% 0.042 111.6)

  3. Step 200

    200

    #DADFA1

    oklch(88.5% 0.081 111.8)

  4. Step 300

    300 (this color)

    #C2C74B

    oklch(80.2% 0.145 111.5)

  5. Step 400

    400

    #A5A900

    oklch(70.8% 0.156 111.5)

  6. Step 500

    500

    #8D9000

    oklch(63% 0.139 111.3)

  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

    #282900

    oklch(27.1% 0.06 111.2)

Export this scale for Tailwind in the Tailwind colors tool

#C2C74B 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)#D5BE3B0.032
Deuteranopia (no green cones)#D6C2530.033
Tritanopia (no blue cones)#CFBBAD0.130
Achromatopsia (no color)#C0C0C00.145

Harmonies

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

Complementary

The opposite hue (180°).

  • #C2C74B

    #C2C74B

    oklch(80.2% 0.145 111.5)

  • #BFB2FF

    #BFB2FF

    oklch(80.2% 0.108 291.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C2C74B

    #C2C74B

    oklch(80.2% 0.145 111.5)

  • #EDB43D

    #EDB43D

    oklch(80.2% 0.145 81.8)

  • #87D67C

    #87D67C

    oklch(80.3% 0.145 141.4)

Open the analogous palette in the generator

Split complementary

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

  • #C2C74B

    #C2C74B

    oklch(80.2% 0.145 111.5)

  • #9BBFFF

    #9BBFFF

    oklch(80.2% 0.099 261.6)

  • #E99EF7

    #E99EF7

    oklch(80.3% 0.145 321.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C2C74B

    #C2C74B

    oklch(80.2% 0.145 111.5)

  • #60CCFF

    #60CCFF

    oklch(80.2% 0.122 231.6)

  • #FF9AC8

    #FF9AC8

    oklch(80.3% 0.132 351.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C2C74B

    #C2C74B

    oklch(80.2% 0.145 111.5)

  • #00D8E3

    #00D8E3

    oklch(80.3% 0.137 201.3)

  • #BFB2FF

    #BFB2FF

    oklch(80.2% 0.108 291.5)

  • #FFA19E

    #FFA19E

    oklch(80.3% 0.112 21.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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