#C7BC40

Closest named color: Mustard Yellow (#D2BD0A). oklch(78.2% 0.142 104.2), rgb(199, 188, 64).

Aa

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

About this color

#C7BC40 is a light, vivid yellow. In OKLCH its lightness is 78%, its chroma 0.142 and its hue 104°. Its hue sits on the warm side of the wheel. The nearest named color is Mustard Yellow (#D2BD0A), ΔE 0.025 away. Black text reads best on it, at 10.69:1.

Hue familyYellows
Lightnesslight (78%)
Chromavivid (0.142)
Temperaturewarm
Nearest nameMustard Yellow (#D2BD0A)
Black text10.69:1
White text1.96:1

Values

HEX#C7BC40
RGBrgb(199, 188, 64)
HSLhsl(55, 55%, 52%)
OKLCHoklch(78.2% 0.142 104.2)

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 #C7BC40 1.96:1 Fails Lc -42.1 Non-text elements, placeholder text
Black text on #C7BC40 10.69:1 AAA Lc 66.2 Content text, not long reading
#C7BC40 text on white 1.96:1 Fails Lc 37.7 Non-text elements, placeholder text
#C7BC40 text on black 10.69:1 AAA Lc -64.7 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

    #F7F6E8

    oklch(97% 0.018 103.4)

  2. Step 100

    100

    #EEECCD

    oklch(93.7% 0.041 104.1)

  3. Step 200

    200

    #E1DCA0

    oklch(88.4% 0.078 103.9)

  4. Step 300

    300 (this color)

    #C7BC40

    oklch(78.2% 0.142 104.2)

  5. Step 400

    400

    #B0A400

    oklch(70.6% 0.149 104.3)

  6. Step 500

    500

    #978C00

    oklch(63% 0.133 104)

  7. Step 600

    600

    #7F7600

    oklch(55.6% 0.118 104.3)

  8. Step 700

    700

    #6B6300

    oklch(49.2% 0.104 104)

  9. Step 800

    800

    #575100

    oklch(42.7% 0.09 104.7)

  10. Step 900

    900

    #494300

    oklch(37.7% 0.08 103.8)

  11. Step 950

    950

    #2B2700

    oklch(26.9% 0.057 103.7)

Export this scale for Tailwind in the Tailwind colors tool

#C7BC40 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)#CCB62E0.016
Deuteranopia (no green cones)#D0BC480.016
Tritanopia (no blue cones)#D6AFA30.130
Achromatopsia (no color)#B9B9B90.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #C7BC40

    #C7BC40

    oklch(78.2% 0.142 104.2)

  • #AFAEFF

    #AFAEFF

    oklch(78.2% 0.115 284)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C7BC40

    #C7BC40

    oklch(78.2% 0.142 104.2)

  • #EDA940

    #EDA940

    oklch(78.2% 0.141 74.3)

  • #91CC6B

    #91CC6B

    oklch(78.3% 0.142 134.3)

Open the analogous palette in the generator

Split complementary

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

  • #C7BC40

    #C7BC40

    oklch(78.2% 0.142 104.2)

  • #85BBFF

    #85BBFF

    oklch(78.1% 0.113 254.7)

  • #D99BF7

    #D99BF7

    oklch(78.1% 0.142 314.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C7BC40

    #C7BC40

    oklch(78.2% 0.142 104.2)

  • #22CAFB

    #22CAFB

    oklch(78.1% 0.142 224.4)

  • #F791CE

    #F791CE

    oklch(78.2% 0.142 344.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C7BC40

    #C7BC40

    oklch(78.2% 0.142 104.2)

  • #00D2D1

    #00D2D1

    oklch(78.2% 0.134 194.2)

  • #AFAEFF

    #AFAEFF

    oklch(78.2% 0.115 284)

  • #FF949F

    #FF949F

    oklch(78.2% 0.129 13.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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