#CDA72B

Closest named color: Goldenrod (#DAA520). oklch(74.2% 0.139 90.6), rgb(205, 167, 43).

Aa

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

About this color

#CDA72B is a medium-light, moderately saturated yellow. In OKLCH its lightness is 74%, its chroma 0.139 and its hue 91°. Its hue sits on the warm side of the wheel. The nearest named color is Goldenrod (#DAA520), ΔE 0.020 away. Black text reads best on it, at 9.15:1.

Hue familyYellows
Lightnessmedium-light (74%)
Chromamoderately saturated (0.139)
Temperaturewarm
Nearest nameGoldenrod (#DAA520)
Black text9.15:1
White text2.29:1

Values

HEX#CDA72B
RGBrgb(205, 167, 43)
HSLhsl(46, 65%, 49%)
OKLCHoklch(74.2% 0.139 90.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 #CDA72B 2.29:1 Fails Lc -49.9 Large or bold text, headings
Black text on #CDA72B 9.15:1 AAA Lc 58.9 Large or bold text, headings
#CDA72B text on white 2.29:1 Fails Lc 45.0 Large or bold text, headings
#CDA72B text on black 9.15:1 AAA Lc -57.1 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

    #F8F5ED

    oklch(97% 0.011 89.7)

  2. Step 100

    100

    #F0EAD7

    oklch(93.7% 0.026 92.4)

  3. Step 200

    200

    #E5D9B5

    oklch(88.6% 0.049 91.8)

  4. Step 300

    300

    #D6BF7E

    oklch(80.9% 0.088 90.7)

  5. Step 400

    400 (this color)

    #CDA72B

    oklch(74.2% 0.139 90.6)

  6. Step 500

    500

    #A78500

    oklch(63.1% 0.129 90.6)

  7. Step 600

    600

    #8D7000

    oklch(55.8% 0.114 90.7)

  8. Step 700

    700

    #765D00

    oklch(49% 0.1 90.4)

  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

#CDA72B 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)#BBA50E0.033
Deuteranopia (no green cones)#C4B0330.025
Tritanopia (no blue cones)#DE98900.128
Achromatopsia (no color)#ABABAB0.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #CDA72B

    #CDA72B

    oklch(74.2% 0.139 90.6)

  • #8CA6FF

    #8CA6FF

    oklch(74.2% 0.132 270.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CDA72B

    #CDA72B

    oklch(74.2% 0.139 90.6)

  • #EA9545

    #EA9545

    oklch(74.3% 0.139 60.9)

  • #A0B84A

    #A0B84A

    oklch(74.2% 0.139 120.3)

Open the analogous palette in the generator

Split complementary

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

  • #CDA72B

    #CDA72B

    oklch(74.2% 0.139 90.6)

  • #4AB6FB

    #4AB6FB

    oklch(74.4% 0.14 240.6)

  • #BA96F6

    #BA96F6

    oklch(74.3% 0.139 300.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CDA72B

    #CDA72B

    oklch(74.2% 0.139 90.6)

  • #00C1D9

    #00C1D9

    oklch(74.3% 0.129 210.4)

  • #DD89D4

    #DD89D4

    oklch(74.2% 0.14 330.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CDA72B

    #CDA72B

    oklch(74.2% 0.139 90.6)

  • #00C7B0

    #00C7B0

    oklch(74.4% 0.134 180.6)

  • #8CA6FF

    #8CA6FF

    oklch(74.2% 0.132 270.6)

  • #F284A7

    #F284A7

    oklch(74.3% 0.139 0.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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