#CDC34A

Closest named color: Mustard Yellow (#D2BD0A). oklch(80.3% 0.14 104.6), rgb(205, 195, 74).

Aa

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

About this color

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

Hue familyYellows
Lightnesslight (80%)
Chromavivid (0.140)
Temperaturewarm
Nearest nameMustard Yellow (#D2BD0A)
Black text11.50:1
White text1.82:1

Values

HEX#CDC34A
RGBrgb(205, 195, 74)
HSLhsl(55, 57%, 55%)
OKLCHoklch(80.3% 0.14 104.6)

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 #CDC34A 1.82:1 Fails Lc -38.1 Non-text elements, placeholder text
Black text on #CDC34A 11.50:1 AAA Lc 69.8 Content text, not long reading
#CDC34A text on white 1.82:1 Fails Lc 34.0 Non-text elements, placeholder text
#CDC34A text on black 11.50:1 AAA Lc -68.5 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

    #E1DDA0

    oklch(88.6% 0.079 104.7)

  4. Step 300

    300 (this color)

    #CDC34A

    oklch(80.3% 0.14 104.6)

  5. Step 400

    400

    #B0A400

    oklch(70.6% 0.149 104.3)

  6. Step 500

    500

    #978D00

    oklch(63.2% 0.134 104.6)

  7. Step 600

    600

    #7F7600

    oklch(55.6% 0.118 104.3)

  8. Step 700

    700

    #6A6300

    oklch(49.1% 0.104 104.8)

  9. Step 800

    800

    #575100

    oklch(42.7% 0.09 104.7)

  10. Step 900

    900

    #484300

    oklch(37.6% 0.08 104.8)

  11. Step 950

    950

    #2B2800

    oklch(27.1% 0.058 105.3)

Export this scale for Tailwind in the Tailwind colors tool

#CDC34A 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)#D3BC3B0.018
Deuteranopia (no green cones)#D7C2510.017
Tritanopia (no blue cones)#DCB6AA0.129
Achromatopsia (no color)#C0C0C00.141

Harmonies

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

Complementary

The opposite hue (180°).

  • #CDC34A

    #CDC34A

    oklch(80.3% 0.14 104.6)

  • #B7B6FF

    #B7B6FF

    oklch(80.4% 0.103 284.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CDC34A

    #CDC34A

    oklch(80.3% 0.14 104.6)

  • #F3B049

    #F3B049

    oklch(80.2% 0.14 74.7)

  • #97D373

    #97D373

    oklch(80.4% 0.141 134.7)

Open the analogous palette in the generator

Split complementary

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

  • #CDC34A

    #CDC34A

    oklch(80.3% 0.14 104.6)

  • #92C2FF

    #92C2FF

    oklch(80.3% 0.101 254.8)

  • #E0A2FD

    #E0A2FD

    oklch(80.3% 0.14 314.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CDC34A

    #CDC34A

    oklch(80.3% 0.14 104.6)

  • #42D0FF

    #42D0FF

    oklch(80.2% 0.134 224.8)

  • #FE98D4

    #FE98D4

    oklch(80.3% 0.141 344.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CDC34A

    #CDC34A

    oklch(80.3% 0.14 104.6)

  • #00DAD9

    #00DAD9

    oklch(80.4% 0.137 194.2)

  • #B7B6FF

    #B7B6FF

    oklch(80.4% 0.103 284.5)

  • #FFA0A8

    #FFA0A8

    oklch(80.4% 0.113 14.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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