#C5C930

Closest named color: Mustard Yellow (#D2BD0A). oklch(80.7% 0.164 111.1), rgb(197, 201, 48).

Aa

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

About this color

#C5C930 is a light, vivid yellow. In OKLCH its lightness is 81%, its chroma 0.164 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.032 away. Black text reads best on it, at 11.77:1.

Hue familyYellows
Lightnesslight (81%)
Chromavivid (0.164)
Temperaturein between
Nearest nameMustard Yellow (#D2BD0A)
Black text11.77:1
White text1.78:1

Values

HEX#C5C930
RGBrgb(197, 201, 48)
HSLhsl(62, 61%, 49%)
OKLCHoklch(80.7% 0.164 111.1)

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 #C5C930 1.78:1 Fails Lc -36.8 Non-text elements, placeholder text
Black text on #C5C930 11.77:1 AAA Lc 71.1 Content text, not long reading
#C5C930 text on white 1.78:1 Fails Lc 32.8 Non-text elements, placeholder text
#C5C930 text on black 11.77:1 AAA Lc -69.9 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

    #EBEDC9

    oklch(93.5% 0.047 109.9)

  3. Step 200

    200

    #DBDF99

    oklch(88.4% 0.09 110.9)

  4. Step 300

    300 (this color)

    #C5C930

    oklch(80.7% 0.164 111.1)

  5. Step 400

    400

    #A5A800

    oklch(70.6% 0.155 111.1)

  6. Step 500

    500

    #8E9000

    oklch(63.1% 0.138 110.8)

  7. Step 600

    600

    #777900

    oklch(55.6% 0.122 110.9)

  8. Step 700

    700

    #646600

    oklch(49.2% 0.108 111.1)

  9. Step 800

    800

    #515300

    oklch(42.6% 0.094 111.4)

  10. Step 900

    900

    #444500

    oklch(37.7% 0.083 110.7)

  11. Step 950

    950

    #282900

    oklch(27.1% 0.06 111.2)

Export this scale for Tailwind in the Tailwind colors tool

#C5C930 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)#D9C0030.033
Deuteranopia (no green cones)#DAC43D0.035
Tritanopia (no blue cones)#D3BCAD0.148
Achromatopsia (no color)#C2C2C20.164

Harmonies

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

Complementary

The opposite hue (180°).

  • #C5C930

    #C5C930

    oklch(80.7% 0.164 111.1)

  • #C0B4FF

    #C0B4FF

    oklch(80.7% 0.105 291.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C5C930

    #C5C930

    oklch(80.7% 0.164 111.1)

  • #F5B312

    #F5B312

    oklch(80.7% 0.164 81.3)

  • #80DA72

    #80DA72

    oklch(80.8% 0.165 141.1)

Open the analogous palette in the generator

Split complementary

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

  • #C5C930

    #C5C930

    oklch(80.7% 0.164 111.1)

  • #9DC1FF

    #9DC1FF

    oklch(80.8% 0.097 261.1)

  • #EF9BFF

    #EF9BFF

    oklch(80.8% 0.162 321)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C5C930

    #C5C930

    oklch(80.7% 0.164 111.1)

  • #65CEFF

    #65CEFF

    oklch(80.8% 0.119 231)

  • #FF9CCA

    #FF9CCA

    oklch(80.7% 0.129 351.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C5C930

    #C5C930

    oklch(80.7% 0.164 111.1)

  • #00DAE4

    #00DAE4

    oklch(80.8% 0.137 200.7)

  • #C0B4FF

    #C0B4FF

    oklch(80.7% 0.105 291.2)

  • #FFA3A1

    #FFA3A1

    oklch(80.7% 0.11 21.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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