#CFC99F

Closest named color: Ash Gray (#BFC8AD). oklch(83% 0.056 100.7), rgb(207, 201, 159).

Aa

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

About this color

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

Hue familyYellows
Lightnesslight (83%)
Chromamuted (0.056)
Temperaturewarm
Nearest nameAsh Gray (#BFC8AD)
Black text12.50:1
White text1.67:1

Values

HEX#CFC99F
RGBrgb(207, 201, 159)
HSLhsl(52, 33%, 72%)
OKLCHoklch(83% 0.056 100.7)

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 #CFC99F 1.67:1 Fails Lc -33.4 Non-text elements, placeholder text
Black text on #CFC99F 12.50:1 AAA Lc 74.1 Content text, not long reading
#CFC99F text on white 1.67:1 Fails Lc 29.7 Dividers and decoration only
#CFC99F text on black 12.50: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

    #F6F6F0

    oklch(97.1% 0.008 106.5)

  2. Step 100

    100

    #ECEADE

    oklch(93.5% 0.016 99)

  3. Step 200

    200

    #DDDAC3

    oklch(88.5% 0.031 100.9)

  4. Step 300

    300 (this color)

    #CFC99F

    oklch(83% 0.056 100.7)

  5. Step 400

    400

    #ADA25E

    oklch(70.6% 0.09 100.3)

  6. Step 500

    500

    #998B2A

    oklch(63.1% 0.115 100.9)

  7. Step 600

    600

    #837400

    oklch(55.6% 0.116 100.3)

  8. Step 700

    700

    #6E6200

    oklch(49.2% 0.103 101)

  9. Step 800

    800

    #5A5000

    oklch(42.8% 0.089 101.1)

  10. Step 900

    900

    #4B4205

    oklch(37.7% 0.075 100.1)

  11. Step 950

    950

    #2C2707

    oklch(27.1% 0.048 100.4)

Export this scale for Tailwind in the Tailwind colors tool

#CFC99F 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)#D1C69C0.008
Deuteranopia (no green cones)#D3C9A00.006
Tritanopia (no blue cones)#D7C3BE0.052
Achromatopsia (no color)#C8C8C80.056

Harmonies

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

Complementary

The opposite hue (180°).

  • #CFC99F

    #CFC99F

    oklch(83% 0.056 100.7)

  • #C0C4EC

    #C0C4EC

    oklch(83% 0.056 280.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CFC99F

    #CFC99F

    oklch(83% 0.056 100.7)

  • #DFC2A0

    #DFC2A0

    oklch(83% 0.056 71.4)

  • #BBCFA9

    #BBCFA9

    oklch(82.9% 0.056 130.2)

Open the analogous palette in the generator

Split complementary

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

  • #CFC99F

    #CFC99F

    oklch(83% 0.056 100.7)

  • #ADCBEC

    #ADCBEC

    oklch(83.1% 0.057 251)

  • #D3BEE3

    #D3BEE3

    oklch(83.1% 0.056 310.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CFC99F

    #CFC99F

    oklch(83% 0.056 100.7)

  • #9FD0E1

    #9FD0E1

    oklch(82.9% 0.056 221.2)

  • #E2BAD2

    #E2BAD2

    oklch(83.1% 0.056 341.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CFC99F

    #CFC99F

    oklch(83% 0.056 100.7)

  • #9DD4D0

    #9DD4D0

    oklch(83.1% 0.057 190.5)

  • #C0C4EC

    #C0C4EC

    oklch(83% 0.056 280.6)

  • #E9B9BE

    #E9B9BE

    oklch(83% 0.056 11.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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