#CDB651

Closest named color: Dark Khaki (#BDB76B). oklch(77.6% 0.123 96.6), rgb(205, 182, 81).

Aa

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

About this color

#CDB651 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 78%, its chroma 0.123 and its hue 97°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Khaki (#BDB76B), ΔE 0.031 away. Black text reads best on it, at 10.40:1.

Hue familyYellows
Lightnessmedium-light (78%)
Chromamoderately saturated (0.123)
Temperaturewarm
Nearest nameDark Khaki (#BDB76B)
Black text10.40:1
White text2.01:1

Values

HEX#CDB651
RGBrgb(205, 182, 81)
HSLhsl(49, 55%, 56%)
OKLCHoklch(77.6% 0.123 96.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 #CDB651 2.01:1 Fails Lc -43.6 Non-text elements, placeholder text
Black text on #CDB651 10.40:1 AAA Lc 64.8 Content text, not long reading
#CDB651 text on white 2.01:1 Fails Lc 39.1 Non-text elements, placeholder text
#CDB651 text on black 10.40:1 AAA Lc -63.3 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

    #F8F6E9

    oklch(97.1% 0.017 99.6)

  2. Step 100

    100

    #F0EAD0

    oklch(93.5% 0.035 96.3)

  3. Step 200

    200

    #E6DAA6

    oklch(88.5% 0.069 96.6)

  4. Step 300

    300 (this color)

    #CDB651

    oklch(77.6% 0.123 96.6)

  5. Step 400

    400

    #BB9F00

    oklch(70.6% 0.145 96.4)

  6. Step 500

    500

    #A08800

    oklch(63% 0.13 96.6)

  7. Step 600

    600

    #877200

    oklch(55.5% 0.114 96.2)

  8. Step 700

    700

    #716000

    oklch(49.1% 0.101 97)

  9. Step 800

    800

    #5D4E00

    oklch(42.6% 0.088 96.3)

  10. Step 900

    900

    #4E4100

    oklch(37.8% 0.078 96.2)

  11. Step 950

    950

    #2E2600

    oklch(27% 0.056 97.1)

Export this scale for Tailwind in the Tailwind colors tool

#CDB651 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)#C7B2460.016
Deuteranopia (no green cones)#CDBA560.010
Tritanopia (no blue cones)#DCAAA00.112
Achromatopsia (no color)#B6B6B60.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #CDB651

    #CDB651

    oklch(77.6% 0.123 96.6)

  • #A3B0FF

    #A3B0FF

    oklch(77.7% 0.114 276.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CDB651

    #CDB651

    oklch(77.6% 0.123 96.6)

  • #EBA65A

    #EBA65A

    oklch(77.7% 0.123 66.9)

  • #A2C56B

    #A2C56B

    oklch(77.7% 0.124 126.5)

Open the analogous palette in the generator

Split complementary

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

  • #CDB651

    #CDB651

    oklch(77.6% 0.123 96.6)

  • #72BDFF

    #72BDFF

    oklch(77.6% 0.121 246.7)

  • #CAA1F4

    #CAA1F4

    oklch(77.6% 0.123 306.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CDB651

    #CDB651

    oklch(77.6% 0.123 96.6)

  • #3DC9E9

    #3DC9E9

    oklch(77.6% 0.123 216.8)

  • #E897D4

    #E897D4

    oklch(77.6% 0.124 336.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CDB651

    #CDB651

    oklch(77.6% 0.123 96.6)

  • #39CFC3

    #39CFC3

    oklch(77.6% 0.123 187)

  • #A3B0FF

    #A3B0FF

    oklch(77.7% 0.114 276.3)

  • #F994A9

    #F994A9

    oklch(77.7% 0.123 6.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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