#CDCA98

Closest named color: Ash Gray (#BFC8AD). oklch(82.9% 0.066 104.9), rgb(205, 202, 152).

Aa

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

About this color

#CDCA98 is a light, muted yellow. In OKLCH its lightness is 83%, its chroma 0.066 and its hue 105°. Its hue sits on the warm side of the wheel. The nearest named color is Ash Gray (#BFC8AD), ΔE 0.034 away. Black text reads best on it, at 12.49:1.

Hue familyYellows
Lightnesslight (83%)
Chromamuted (0.066)
Temperaturewarm
Nearest nameAsh Gray (#BFC8AD)
Black text12.49:1
White text1.68:1

Values

HEX#CDCA98
RGBrgb(205, 202, 152)
HSLhsl(57, 35%, 70%)
OKLCHoklch(82.9% 0.066 104.9)

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 #CDCA98 1.68:1 Fails Lc -33.5 Non-text elements, placeholder text
Black text on #CDCA98 12.49:1 AAA Lc 74.1 Content text, not long reading
#CDCA98 text on white 1.68:1 Fails Lc 29.7 Dividers and decoration only
#CDCA98 text on black 12.49:1 AAA Lc -73.1 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

    #F6F6EF

    oklch(97.1% 0.009 106.6)

  2. Step 100

    100

    #EBEBDC

    oklch(93.6% 0.02 106.8)

  3. Step 200

    200

    #DCDBBF

    oklch(88.5% 0.037 105.5)

  4. Step 300

    300 (this color)

    #CDCA98

    oklch(82.9% 0.066 104.9)

  5. Step 400

    400

    #ABA451

    oklch(70.7% 0.106 104.4)

  6. Step 500

    500

    #968D00

    oklch(63.1% 0.134 105.1)

  7. Step 600

    600

    #7E7600

    oklch(55.5% 0.118 104.9)

  8. Step 700

    700

    #6A6300

    oklch(49.1% 0.104 104.8)

  9. Step 800

    800

    #575100

    oklch(42.7% 0.09 104.7)

  10. Step 900

    900

    #484300

    oklch(37.6% 0.08 104.8)

  11. Step 950

    950

    #2B2801

    oklch(27.2% 0.056 105.1)

Export this scale for Tailwind in the Tailwind colors tool

#CDCA98 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)#D3C6950.012
Deuteranopia (no green cones)#D4C99A0.011
Tritanopia (no blue cones)#D5C3BD0.061
Achromatopsia (no color)#C8C8C80.066

Harmonies

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

Complementary

The opposite hue (180°).

  • #CDCA98

    #CDCA98

    oklch(82.9% 0.066 104.9)

  • #C2C2F1

    #C2C2F1

    oklch(83% 0.066 284.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CDCA98

    #CDCA98

    oklch(82.9% 0.066 104.9)

  • #E1C197

    #E1C197

    oklch(82.8% 0.067 74.2)

  • #B5D1A6

    #B5D1A6

    oklch(82.9% 0.066 134.7)

Open the analogous palette in the generator

Split complementary

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

  • #CDCA98

    #CDCA98

    oklch(82.9% 0.066 104.9)

  • #AACAF2

    #AACAF2

    oklch(82.9% 0.066 254.2)

  • #D8BBE5

    #D8BBE5

    oklch(83% 0.066 315.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CDCA98

    #CDCA98

    oklch(82.9% 0.066 104.9)

  • #98D1E8

    #98D1E8

    oklch(82.9% 0.067 224.9)

  • #E8B6D1

    #E8B6D1

    oklch(82.9% 0.067 345)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CDCA98

    #CDCA98

    oklch(82.9% 0.066 104.9)

  • #93D5D4

    #93D5D4

    oklch(82.9% 0.067 194.7)

  • #C2C2F1

    #C2C2F1

    oklch(83% 0.066 284.9)

  • #EFB6B9

    #EFB6B9

    oklch(82.9% 0.066 15.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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