#C7C52E

Closest named color: Mustard Yellow (#D2BD0A). oklch(80% 0.161 108.7), rgb(199, 197, 46).

Aa

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

About this color

#C7C52E is a light, vivid yellow. In OKLCH its lightness is 80%, its chroma 0.161 and its hue 109°. Its hue sits on the warm side of the wheel. The nearest named color is Mustard Yellow (#D2BD0A), ΔE 0.023 away. Black text reads best on it, at 11.45:1.

Hue familyYellows
Lightnesslight (80%)
Chromavivid (0.161)
Temperaturewarm
Nearest nameMustard Yellow (#D2BD0A)
Black text11.45:1
White text1.83:1

Values

HEX#C7C52E
RGBrgb(199, 197, 46)
HSLhsl(59, 62%, 48%)
OKLCHoklch(80% 0.161 108.7)

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 #C7C52E 1.83:1 Fails Lc -38.3 Non-text elements, placeholder text
Black text on #C7C52E 11.45:1 AAA Lc 69.7 Content text, not long reading
#C7C52E text on white 1.83:1 Fails Lc 34.2 Non-text elements, placeholder text
#C7C52E text on black 11.45:1 AAA Lc -68.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

    #F6F7E7

    oklch(97.1% 0.021 109.7)

  2. Step 100

    100

    #ECEDCA

    oklch(93.6% 0.046 108.6)

  3. Step 200

    200

    #DDDE99

    oklch(88.4% 0.089 108.8)

  4. Step 300

    300 (this color)

    #C7C52E

    oklch(80% 0.161 108.7)

  5. Step 400

    400

    #A9A700

    oklch(70.7% 0.153 108.9)

  6. Step 500

    500

    #918F00

    oklch(63.1% 0.137 108.8)

  7. Step 600

    600

    #7A7800

    oklch(55.6% 0.12 108.6)

  8. Step 700

    700

    #666500

    oklch(49.1% 0.107 109.1)

  9. Step 800

    800

    #545200

    oklch(42.7% 0.092 108.1)

  10. Step 900

    900

    #464400

    oklch(37.6% 0.081 107.8)

  11. Step 950

    950

    #292800

    oklch(26.9% 0.058 108.3)

Export this scale for Tailwind in the Tailwind colors tool

#C7C52E 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)#D6BD000.027
Deuteranopia (no green cones)#D8C23B0.029
Tritanopia (no blue cones)#D6B8A90.145
Achromatopsia (no color)#BFBFBF0.161

Harmonies

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

Complementary

The opposite hue (180°).

  • #C7C52E

    #C7C52E

    oklch(80% 0.161 108.7)

  • #BBB3FF

    #BBB3FF

    oklch(80.1% 0.107 288.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C7C52E

    #C7C52E

    oklch(80% 0.161 108.7)

  • #F5AF1D

    #F5AF1D

    oklch(80% 0.161 78.5)

  • #85D66D

    #85D66D

    oklch(80% 0.161 138.9)

Open the analogous palette in the generator

Split complementary

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

  • #C7C52E

    #C7C52E

    oklch(80% 0.161 108.7)

  • #96BFFF

    #96BFFF

    oklch(79.9% 0.102 259.1)

  • #E99AFF

    #E99AFF

    oklch(80% 0.16 318.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C7C52E

    #C7C52E

    oklch(80% 0.161 108.7)

  • #53CDFF

    #53CDFF

    oklch(80% 0.128 228.8)

  • #FF97CC

    #FF97CC

    oklch(80% 0.139 348.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C7C52E

    #C7C52E

    oklch(80% 0.161 108.7)

  • #00D8DE

    #00D8DE

    oklch(80.1% 0.136 198.4)

  • #BBB3FF

    #BBB3FF

    oklch(80.1% 0.107 288.6)

  • #FF9FA1

    #FF9FA1

    oklch(80% 0.115 18.6)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #C7C52E.

Similar named colors

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

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