#CFD996

Closest named color: Light Grey Green (#B7E1A1). oklch(86.2% 0.088 115.2), rgb(207, 217, 150).

Aa

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

About this color

#CFD996 is a light, moderately saturated yellow. In OKLCH its lightness is 86%, its chroma 0.088 and its hue 115°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Grey Green (#B7E1A1), ΔE 0.033 away. Black text reads best on it, at 14.01:1.

Hue familyYellows
Lightnesslight (86%)
Chromamoderately saturated (0.088)
Temperaturein between
Nearest nameLight Grey Green (#B7E1A1)
Black text14.01:1
White text1.49:1

Values

HEX#CFD996
RGBrgb(207, 217, 150)
HSLhsl(69, 47%, 72%)
OKLCHoklch(86.2% 0.088 115.2)

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 #CFD996 1.49:1 Fails Lc -26.5 Dividers and decoration only
Black text on #CFD996 14.01:1 AAA Lc 80.4 Fine for body text
#CFD996 text on white 1.49:1 Fails Lc 23.3 Dividers and decoration only
#CFD996 text on black 14.01:1 AAA Lc -79.9 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 200.

  1. Step 50

    50

    #F5F7EC

    oklch(97.2% 0.015 115)

  2. Step 100

    100

    #E9EDD4

    oklch(93.6% 0.033 114.4)

  3. Step 200

    200 (this color)

    #CFD996

    oklch(86.2% 0.088 115.2)

  4. Step 300

    300

    #BECA71

    oklch(81% 0.114 115.3)

  5. Step 400

    400

    #9EAB00

    oklch(70.7% 0.16 115.1)

  6. Step 500

    500

    #879300

    oklch(63.2% 0.144 115.4)

  7. Step 600

    600

    #717B00

    oklch(55.5% 0.126 115.3)

  8. Step 700

    700

    #5F6700

    oklch(49% 0.111 115)

  9. Step 800

    800

    #4E5500

    oklch(42.8% 0.097 115.1)

  10. Step 900

    900

    #404600

    oklch(37.6% 0.085 115.2)

  11. Step 950

    950

    #262A00

    oklch(27.2% 0.062 115.2)

Export this scale for Tailwind in the Tailwind colors tool

#CFD996 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)#E2D2910.029
Deuteranopia (no green cones)#E2D4990.029
Tritanopia (no blue cones)#D6D2C80.076
Achromatopsia (no color)#D3D3D30.088

Harmonies

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

Complementary

The opposite hue (180°).

  • #CFD996

    #CFD996

    oklch(86.2% 0.088 115.2)

  • #D5C8FF

    #D5C8FF

    oklch(86.2% 0.077 295.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CFD996

    #CFD996

    oklch(86.2% 0.088 115.2)

  • #ECCE8E

    #ECCE8E

    oklch(86.2% 0.088 85.5)

  • #AEE1AE

    #AEE1AE

    oklch(86.1% 0.087 144.8)

Open the analogous palette in the generator

Split complementary

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

  • #CFD996

    #CFD996

    oklch(86.2% 0.088 115.2)

  • #BCD2FF

    #BCD2FF

    oklch(86.2% 0.067 264.5)

  • #F0BEF2

    #F0BEF2

    oklch(86.2% 0.089 325.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CFD996

    #CFD996

    oklch(86.2% 0.088 115.2)

  • #9EDBFF

    #9EDBFF

    oklch(86.3% 0.08 234.8)

  • #FFBBD4

    #FFBBD4

    oklch(86.2% 0.084 355.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CFD996

    #CFD996

    oklch(86.2% 0.088 115.2)

  • #88E3ED

    #88E3ED

    oklch(86.2% 0.088 204.7)

  • #D5C8FF

    #D5C8FF

    oklch(86.2% 0.077 295.6)

  • #FFBFB9

    #FFBFB9

    oklch(86.1% 0.075 24.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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