#CDBA45

Closest named color: Dark Yellow (#D5B60A). oklch(78.4% 0.136 100), rgb(205, 186, 69).

Aa

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

About this color

#CDBA45 is a light, moderately saturated yellow. In OKLCH its lightness is 78%, its chroma 0.136 and its hue 100°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Yellow (#D5B60A), ΔE 0.025 away. Black text reads best on it, at 10.70:1.

Hue familyYellows
Lightnesslight (78%)
Chromamoderately saturated (0.136)
Temperaturewarm
Nearest nameDark Yellow (#D5B60A)
Black text10.70:1
White text1.96:1

Values

HEX#CDBA45
RGBrgb(205, 186, 69)
HSLhsl(52, 58%, 54%)
OKLCHoklch(78.4% 0.136 100)

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 #CDBA45 1.96:1 Fails Lc -42.0 Non-text elements, placeholder text
Black text on #CDBA45 10.70:1 AAA Lc 66.2 Content text, not long reading
#CDBA45 text on white 1.96:1 Fails Lc 37.7 Non-text elements, placeholder text
#CDBA45 text on black 10.70:1 AAA Lc -64.7 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

    #F8F6E8

    oklch(97.1% 0.019 100.1)

  2. Step 100

    100

    #F0EBCD

    oklch(93.6% 0.04 99.3)

  3. Step 200

    200

    #E4DBA1

    oklch(88.5% 0.076 100.3)

  4. Step 300

    300 (this color)

    #CDBA45

    oklch(78.4% 0.136 100)

  5. Step 400

    400

    #B6A100

    oklch(70.6% 0.147 99.9)

  6. Step 500

    500

    #9C8A00

    oklch(63% 0.131 100.1)

  7. Step 600

    600

    #837400

    oklch(55.6% 0.116 100.3)

  8. Step 700

    700

    #6E6100

    oklch(49% 0.102 100.2)

  9. Step 800

    800

    #5B4F00

    oklch(42.7% 0.088 99.2)

  10. Step 900

    900

    #4B4200

    oklch(37.7% 0.078 100.6)

  11. Step 950

    950

    #2D2700

    oklch(27.1% 0.056 100.5)

Export this scale for Tailwind in the Tailwind colors tool

#CDBA45 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)#CBB5360.015
Deuteranopia (no green cones)#D0BC4C0.009
Tritanopia (no blue cones)#DCADA20.125
Achromatopsia (no color)#B9B9B90.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #CDBA45

    #CDBA45

    oklch(78.4% 0.136 100)

  • #AAB1FF

    #AAB1FF

    oklch(78.4% 0.111 279.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CDBA45

    #CDBA45

    oklch(78.4% 0.136 100)

  • #F0A84C

    #F0A84C

    oklch(78.4% 0.136 69.9)

  • #9BCA68

    #9BCA68

    oklch(78.4% 0.137 130.1)

Open the analogous palette in the generator

Split complementary

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

  • #CDBA45

    #CDBA45

    oklch(78.4% 0.136 100)

  • #7EBEFF

    #7EBEFF

    oklch(78.4% 0.114 249.8)

  • #D39FFA

    #D39FFA

    oklch(78.4% 0.137 309.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CDBA45

    #CDBA45

    oklch(78.4% 0.136 100)

  • #27CCF4

    #27CCF4

    oklch(78.4% 0.136 219.8)

  • #F295D4

    #F295D4

    oklch(78.4% 0.136 340)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CDBA45

    #CDBA45

    oklch(78.4% 0.136 100)

  • #00D4CC

    #00D4CC

    oklch(78.5% 0.136 189.9)

  • #AAB1FF

    #AAB1FF

    oklch(78.4% 0.111 279.6)

  • #FF94A6

    #FF94A6

    oklch(78.4% 0.13 9.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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