#CDBE2A

Closest named color: Mustard Yellow (#D2BD0A). oklch(79% 0.156 103.2), rgb(205, 190, 42).

Aa

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

About this color

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

Hue familyYellows
Lightnesslight (79%)
Chromavivid (0.156)
Temperaturewarm
Nearest nameMustard Yellow (#D2BD0A)
Black text10.99:1
White text1.91:1

Values

HEX#CDBE2A
RGBrgb(205, 190, 42)
HSLhsl(54, 66%, 48%)
OKLCHoklch(79% 0.156 103.2)

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 #CDBE2A 1.91:1 Fails Lc -40.6 Non-text elements, placeholder text
Black text on #CDBE2A 10.99:1 AAA Lc 67.6 Content text, not long reading
#CDBE2A text on white 1.91:1 Fails Lc 36.3 Non-text elements, placeholder text
#CDBE2A text on black 10.99:1 AAA Lc -66.2 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

    #F8F6E7

    oklch(97.1% 0.02 100.6)

  2. Step 100

    100

    #EFECCA

    oklch(93.7% 0.045 103.1)

  3. Step 200

    200

    #E3DC99

    oklch(88.4% 0.086 102.9)

  4. Step 300

    300 (this color)

    #CDBE2A

    oklch(79% 0.156 103.2)

  5. Step 400

    400

    #B2A300

    oklch(70.6% 0.148 102.9)

  6. Step 500

    500

    #988C00

    oklch(63.1% 0.133 103.5)

  7. Step 600

    600

    #807500

    oklch(55.5% 0.117 103)

  8. Step 700

    700

    #6C6200

    oklch(49% 0.103 102.5)

  9. Step 800

    800

    #585000

    oklch(42.6% 0.089 102.9)

  10. Step 900

    900

    #494300

    oklch(37.7% 0.08 103.8)

  11. Step 950

    950

    #2C2700

    oklch(27% 0.057 102.1)

Export this scale for Tailwind in the Tailwind colors tool

#CDBE2A 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)#D0B8000.016
Deuteranopia (no green cones)#D5BF360.015
Tritanopia (no blue cones)#DDB0A30.143
Achromatopsia (no color)#BBBBBB0.156

Harmonies

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

Complementary

The opposite hue (180°).

  • #CDBE2A

    #CDBE2A

    oklch(79% 0.156 103.2)

  • #B1B1FF

    #B1B1FF

    oklch(79% 0.11 283.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CDBE2A

    #CDBE2A

    oklch(79% 0.156 103.2)

  • #F6A92D

    #F6A92D

    oklch(79.1% 0.156 73.3)

  • #92D062

    #92D062

    oklch(79.1% 0.156 133.2)

Open the analogous palette in the generator

Split complementary

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

  • #CDBE2A

    #CDBE2A

    oklch(79% 0.156 103.2)

  • #88BFFF

    #88BFFF

    oklch(79.1% 0.108 252.9)

  • #DD9CFF

    #DD9CFF

    oklch(79.1% 0.151 313.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CDBE2A

    #CDBE2A

    oklch(79% 0.156 103.2)

  • #04CEFF

    #04CEFF

    oklch(79% 0.147 223.2)

  • #FE8FD4

    #FE8FD4

    oklch(78.9% 0.156 343.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CDBE2A

    #CDBE2A

    oklch(79% 0.156 103.2)

  • #00D5D3

    #00D5D3

    oklch(79% 0.135 193.6)

  • #B1B1FF

    #B1B1FF

    oklch(79% 0.11 283.6)

  • #FF98A4

    #FF98A4

    oklch(79% 0.124 12.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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