#CECF97

Closest named color: Pale Oak (#DBCFB0). oklch(84% 0.074 108.7), rgb(206, 207, 151).

Aa

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

About this color

#CECF97 is a light, moderately saturated yellow. In OKLCH its lightness is 84%, its chroma 0.074 and its hue 109°. Its hue sits on the warm side of the wheel. The nearest named color is Pale Oak (#DBCFB0), ΔE 0.039 away. Black text reads best on it, at 12.99:1.

Hue familyYellows
Lightnesslight (84%)
Chromamoderately saturated (0.074)
Temperaturewarm
Nearest namePale Oak (#DBCFB0)
Black text12.99:1
White text1.61:1

Values

HEX#CECF97
RGBrgb(206, 207, 151)
HSLhsl(61, 37%, 70%)
OKLCHoklch(84% 0.074 108.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 #CECF97 1.61:1 Fails Lc -31.2 Non-text elements, placeholder text
Black text on #CECF97 12.99:1 AAA Lc 76.2 Fine for body text
#CECF97 text on white 1.61:1 Fails Lc 27.6 Dividers and decoration only
#CECF97 text on black 12.99:1 AAA Lc -75.3 Fine for body text

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

    #EBEBDB

    oklch(93.6% 0.021 106.8)

  3. Step 200

    200

    #DBDCBD

    oklch(88.6% 0.041 108.7)

  4. Step 300

    300 (this color)

    #CECF97

    oklch(84% 0.074 108.7)

  5. Step 400

    400

    #A7A647

    oklch(70.7% 0.118 108.5)

  6. Step 500

    500

    #918F00

    oklch(63.1% 0.137 108.8)

  7. Step 600

    600

    #7A7800

    oklch(55.6% 0.12 108.6)

  8. Step 700

    700

    #666500

    oklch(49.1% 0.107 109.1)

  9. Step 800

    800

    #545200

    oklch(42.7% 0.092 108.1)

  10. Step 900

    900

    #464400

    oklch(37.6% 0.081 107.8)

  11. Step 950

    950

    #292800

    oklch(26.9% 0.058 108.3)

Export this scale for Tailwind in the Tailwind colors tool

#CECF97 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)#D8CA930.017
Deuteranopia (no green cones)#D9CD990.017
Tritanopia (no blue cones)#D6C8C00.065
Achromatopsia (no color)#CBCBCB0.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #CECF97

    #CECF97

    oklch(84% 0.074 108.7)

  • #C8C3F9

    #C8C3F9

    oklch(83.9% 0.075 288.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CECF97

    #CECF97

    oklch(84% 0.074 108.7)

  • #E5C594

    #E5C594

    oklch(83.9% 0.074 78.1)

  • #B3D7A8

    #B3D7A8

    oklch(84.1% 0.075 138.4)

Open the analogous palette in the generator

Split complementary

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

  • #CECF97

    #CECF97

    oklch(84% 0.074 108.7)

  • #AECCFB

    #AECCFB

    oklch(83.9% 0.074 259.3)

  • #E0BCEA

    #E0BCEA

    oklch(84.1% 0.074 318.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CECF97

    #CECF97

    oklch(84% 0.074 108.7)

  • #98D5F1

    #98D5F1

    oklch(84.1% 0.073 228.2)

  • #F0B7D2

    #F0B7D2

    oklch(83.9% 0.074 348.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CECF97

    #CECF97

    oklch(84% 0.074 108.7)

  • #8FDADC

    #8FDADC

    oklch(84% 0.074 198)

  • #C8C3F9

    #C8C3F9

    oklch(83.9% 0.075 288.9)

  • #F7B8B8

    #F7B8B8

    oklch(84% 0.073 18.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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