#C8C752

Closest named color: Mustard Yellow (#D2BD0A). oklch(80.8% 0.139 108.7), rgb(200, 199, 82).

Aa

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

About this color

#C8C752 is a light, moderately saturated yellow. In OKLCH its lightness is 81%, its chroma 0.139 and its hue 109°. Its hue sits on the warm side of the wheel. The nearest named color is Mustard Yellow (#D2BD0A), ΔE 0.036 away. Black text reads best on it, at 11.74:1.

Hue familyYellows
Lightnesslight (81%)
Chromamoderately saturated (0.139)
Temperaturewarm
Nearest nameMustard Yellow (#D2BD0A)
Black text11.74:1
White text1.78:1

Values

HEX#C8C752
RGBrgb(200, 199, 82)
HSLhsl(59, 52%, 55%)
OKLCHoklch(80.8% 0.139 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 #C8C752 1.78:1 Fails Lc -37.0 Non-text elements, placeholder text
Black text on #C8C752 11.74:1 AAA Lc 70.9 Content text, not long reading
#C8C752 text on white 1.78:1 Fails Lc 33.0 Non-text elements, placeholder text
#C8C752 text on black 11.74:1 AAA Lc -69.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

    #F6F7E9

    oklch(97.2% 0.018 110.1)

  2. Step 100

    100

    #ECEDCE

    oklch(93.7% 0.041 108.7)

  3. Step 200

    200

    #DDDEA3

    oklch(88.6% 0.077 108.7)

  4. Step 300

    300 (this color)

    #C8C752

    oklch(80.8% 0.139 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

#C8C752 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)#D6BF450.026
Deuteranopia (no green cones)#D8C4590.026
Tritanopia (no blue cones)#D5BBAE0.125
Achromatopsia (no color)#C2C2C20.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #C8C752

    #C8C752

    oklch(80.8% 0.139 108.7)

  • #BDB6FF

    #BDB6FF

    oklch(80.8% 0.102 288.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C8C752

    #C8C752

    oklch(80.8% 0.139 108.7)

  • #F0B54A

    #F0B54A

    oklch(80.9% 0.139 79.2)

  • #91D67C

    #91D67C

    oklch(80.9% 0.14 138.7)

Open the analogous palette in the generator

Split complementary

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

  • #C8C752

    #C8C752

    oklch(80.8% 0.139 108.7)

  • #9AC2FF

    #9AC2FF

    oklch(80.8% 0.097 258.7)

  • #E6A2F9

    #E6A2F9

    oklch(80.7% 0.139 318.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C8C752

    #C8C752

    oklch(80.8% 0.139 108.7)

  • #5DCFFF

    #5DCFFF

    oklch(80.8% 0.123 228.9)

  • #FF9CCE

    #FF9CCE

    oklch(80.8% 0.132 348.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C8C752

    #C8C752

    oklch(80.8% 0.139 108.7)

  • #00DAE1

    #00DAE1

    oklch(80.7% 0.137 198.9)

  • #BDB6FF

    #BDB6FF

    oklch(80.8% 0.102 288.3)

  • #FFA3A5

    #FFA3A5

    oklch(80.8% 0.109 18.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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