#CDCF97

Closest named color: Greenish Beige (#C9D179). oklch(83.9% 0.074 109.6), rgb(205, 207, 151).

Aa

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

About this color

#CDCF97 is a light, moderately saturated yellow. In OKLCH its lightness is 84%, its chroma 0.074 and its hue 110°. Its hue sits on the warm side of the wheel. The nearest named color is Greenish Beige (#C9D179), ΔE 0.039 away. Black text reads best on it, at 12.96:1.

Hue familyYellows
Lightnesslight (84%)
Chromamoderately saturated (0.074)
Temperaturewarm
Nearest nameGreenish Beige (#C9D179)
Black text12.96:1
White text1.61:1

Values

HEX#CDCF97
RGBrgb(205, 207, 151)
HSLhsl(62, 37%, 70%)
OKLCHoklch(83.9% 0.074 109.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 #CDCF97 1.61:1 Fails Lc -31.3 Non-text elements, placeholder text
Black text on #CDCF97 12.96:1 AAA Lc 76.1 Fine for body text
#CDCF97 text on white 1.61:1 Fails Lc 27.7 Dividers and decoration only
#CDCF97 text on black 12.96:1 AAA Lc -75.2 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

    #EAEBDB

    oklch(93.5% 0.021 109.7)

  3. Step 200

    200

    #DADCBD

    oklch(88.5% 0.041 110.2)

  4. Step 300

    300 (this color)

    #CDCF97

    oklch(83.9% 0.074 109.6)

  5. Step 400

    400

    #A6A747

    oklch(70.8% 0.119 109.6)

  6. Step 500

    500

    #908F00

    oklch(63% 0.137 109.3)

  7. Step 600

    600

    #797800

    oklch(55.5% 0.121 109.2)

  8. Step 700

    700

    #656500

    oklch(49.1% 0.107 109.8)

  9. Step 800

    800

    #535300

    oklch(42.8% 0.093 109.8)

  10. Step 900

    900

    #454500

    oklch(37.8% 0.082 109.8)

  11. Step 950

    950

    #292800

    oklch(26.9% 0.058 108.3)

Export this scale for Tailwind in the Tailwind colors tool

#CDCF97 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.018
Deuteranopia (no green cones)#D9CC990.019
Tritanopia (no blue cones)#D5C8C00.065
Achromatopsia (no color)#CBCBCB0.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #CDCF97

    #CDCF97

    oklch(83.9% 0.074 109.6)

  • #C9C3F8

    #C9C3F8

    oklch(84% 0.074 289.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CDCF97

    #CDCF97

    oklch(83.9% 0.074 109.6)

  • #E4C694

    #E4C694

    oklch(84% 0.074 80.2)

  • #B2D7A9

    #B2D7A9

    oklch(84% 0.074 139.6)

Open the analogous palette in the generator

Split complementary

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

  • #CDCF97

    #CDCF97

    oklch(83.9% 0.074 109.6)

  • #AECCFB

    #AECCFB

    oklch(83.9% 0.074 259.3)

  • #E0BBE9

    #E0BBE9

    oklch(83.9% 0.075 319.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CDCF97

    #CDCF97

    oklch(83.9% 0.074 109.6)

  • #98D4F1

    #98D4F1

    oklch(83.9% 0.073 229.5)

  • #F0B7D1

    #F0B7D1

    oklch(83.9% 0.074 349.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CDCF97

    #CDCF97

    oklch(83.9% 0.074 109.6)

  • #8FD9DD

    #8FD9DD

    oklch(83.8% 0.074 200.2)

  • #C9C3F8

    #C9C3F8

    oklch(84% 0.074 289.9)

  • #F7B8B7

    #F7B8B7

    oklch(84% 0.073 19.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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