#CDA303

Closest named color: Yellow Ochre (#CB9D06). oklch(73.3% 0.149 90), rgb(205, 163, 3).

Aa

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

About this color

#CDA303 is a medium-light, vivid yellow. In OKLCH its lightness is 73%, its chroma 0.149 and its hue 90°. Its hue sits on the warm side of the wheel. The nearest named color is Yellow Ochre (#CB9D06), ΔE 0.016 away. Black text reads best on it, at 8.83:1.

Hue familyYellows
Lightnessmedium-light (73%)
Chromavivid (0.149)
Temperaturewarm
Nearest nameYellow Ochre (#CB9D06)
Black text8.83:1
White text2.37:1

Values

HEX#CDA303
RGBrgb(205, 163, 3)
HSLhsl(48, 97%, 41%)
OKLCHoklch(73.3% 0.149 90)

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 #CDA303 2.37:1 Fails Lc -51.5 Large or bold text, headings
Black text on #CDA303 8.83:1 AAA Lc 57.4 Large or bold text, headings
#CDA303 text on white 2.37:1 Fails Lc 46.6 Large or bold text, headings
#CDA303 text on black 8.83:1 AAA Lc -55.5 Large or bold text, headings

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 400.

  1. Step 50

    50

    #F9F5EC

    oklch(97.1% 0.013 86.8)

  2. Step 100

    100

    #F1EAD6

    oklch(93.7% 0.028 90.9)

  3. Step 200

    200

    #E6D8B3

    oklch(88.4% 0.051 89.8)

  4. Step 300

    300

    #D8BE79

    oklch(80.8% 0.093 89.6)

  5. Step 400

    400 (this color)

    #CDA303

    oklch(73.3% 0.149 90)

  6. Step 500

    500

    #A88500

    oklch(63.2% 0.129 90)

  7. Step 600

    600

    #8D6F00

    oklch(55.5% 0.113 89.9)

  8. Step 700

    700

    #775D00

    oklch(49.1% 0.1 89.6)

  9. Step 800

    800

    #614C00

    oklch(42.6% 0.087 90.4)

  10. Step 900

    900

    #513F00

    oklch(37.6% 0.077 90.4)

  11. Step 950

    950

    #312500

    oklch(27.1% 0.055 90.3)

Export this scale for Tailwind in the Tailwind colors tool

#CDA303 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)#B8A1000.034
Deuteranopia (no green cones)#C2AD180.028
Tritanopia (no blue cones)#DF938B0.137
Achromatopsia (no color)#A8A8A80.149

Harmonies

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

Complementary

The opposite hue (180°).

  • #CDA303

    #CDA303

    oklch(73.3% 0.149 90)

  • #87A3FF

    #87A3FF

    oklch(73.3% 0.137 269.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CDA303

    #CDA303

    oklch(73.3% 0.149 90)

  • #EC8F36

    #EC8F36

    oklch(73.3% 0.15 59.9)

  • #9DB63A

    #9DB63A

    oklch(73.4% 0.15 120.1)

Open the analogous palette in the generator

Split complementary

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

  • #CDA303

    #CDA303

    oklch(73.3% 0.149 90)

  • #37B3FC

    #37B3FC

    oklch(73.2% 0.149 240)

  • #B891F8

    #B891F8

    oklch(73.3% 0.149 300.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CDA303

    #CDA303

    oklch(73.3% 0.149 90)

  • #00BED4

    #00BED4

    oklch(73.4% 0.127 209.4)

  • #DC84D5

    #DC84D5

    oklch(73.3% 0.148 329.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CDA303

    #CDA303

    oklch(73.3% 0.149 90)

  • #00C3AC

    #00C3AC

    oklch(73.2% 0.133 180.3)

  • #87A3FF

    #87A3FF

    oklch(73.3% 0.137 269.9)

  • #F37DA5

    #F37DA5

    oklch(73.4% 0.15 359.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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