#C4C538

Closest named color: Mustard Yellow (#D2BD0A). oklch(79.8% 0.156 109.9), rgb(196, 197, 56).

Aa

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

About this color

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

Hue familyYellows
Lightnesslight (80%)
Chromavivid (0.156)
Temperaturewarm
Nearest nameMustard Yellow (#D2BD0A)
Black text11.39:1
White text1.84:1

Values

HEX#C4C538
RGBrgb(196, 197, 56)
HSLhsl(60, 56%, 50%)
OKLCHoklch(79.8% 0.156 109.9)

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 #C4C538 1.84:1 Fails Lc -38.7 Non-text elements, placeholder text
Black text on #C4C538 11.39:1 AAA Lc 69.4 Content text, not long reading
#C4C538 text on white 1.84:1 Fails Lc 34.5 Non-text elements, placeholder text
#C4C538 text on black 11.39:1 AAA Lc -68.1 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

    #EBEDCB

    oklch(93.6% 0.045 110)

  3. Step 200

    200

    #DCDF9C

    oklch(88.6% 0.087 110.2)

  4. Step 300

    300 (this color)

    #C4C538

    oklch(79.8% 0.156 109.9)

  5. Step 400

    400

    #A7A800

    oklch(70.7% 0.155 110.2)

  6. Step 500

    500

    #8F9000

    oklch(63.2% 0.138 110.3)

  7. Step 600

    600

    #787900

    oklch(55.7% 0.122 110.4)

  8. Step 700

    700

    #656500

    oklch(49.1% 0.107 109.8)

  9. Step 800

    800

    #535300

    oklch(42.8% 0.093 109.8)

  10. Step 900

    900

    #454500

    oklch(37.8% 0.082 109.8)

  11. Step 950

    950

    #282900

    oklch(27.1% 0.06 111.2)

Export this scale for Tailwind in the Tailwind colors tool

#C4C538 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)#D5BD1D0.029
Deuteranopia (no green cones)#D6C1430.030
Tritanopia (no blue cones)#D2B9AA0.140
Achromatopsia (no color)#BFBFBF0.156

Harmonies

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

Complementary

The opposite hue (180°).

  • #C4C538

    #C4C538

    oklch(79.8% 0.156 109.9)

  • #BCB1FF

    #BCB1FF

    oklch(79.8% 0.11 290.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C4C538

    #C4C538

    oklch(79.8% 0.156 109.9)

  • #F1B028

    #F1B028

    oklch(79.8% 0.156 79.9)

  • #84D572

    #84D572

    oklch(79.8% 0.155 140)

Open the analogous palette in the generator

Split complementary

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

  • #C4C538

    #C4C538

    oklch(79.8% 0.156 109.9)

  • #97BEFF

    #97BEFF

    oklch(79.8% 0.102 260.4)

  • #E99AFB

    #E99AFB

    oklch(79.8% 0.156 320)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C4C538

    #C4C538

    oklch(79.8% 0.156 109.9)

  • #55CCFF

    #55CCFF

    oklch(79.8% 0.128 229.8)

  • #FF97CA

    #FF97CA

    oklch(79.9% 0.138 349.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C4C538

    #C4C538

    oklch(79.8% 0.156 109.9)

  • #00D7DF

    #00D7DF

    oklch(79.9% 0.136 199.6)

  • #BCB1FF

    #BCB1FF

    oklch(79.8% 0.11 290.1)

  • #FF9E9E

    #FF9E9E

    oklch(79.8% 0.116 20)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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