#CFDF7B

Closest named color: Greenish Beige (#C9D179). oklch(87% 0.126 116.6), rgb(207, 223, 123).

Aa

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

About this color

#CFDF7B is a light, moderately saturated yellow. In OKLCH its lightness is 87%, its chroma 0.126 and its hue 117°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Greenish Beige (#C9D179), ΔE 0.038 away. Black text reads best on it, at 14.49:1.

Hue familyYellows
Lightnesslight (87%)
Chromamoderately saturated (0.126)
Temperaturein between
Nearest nameGreenish Beige (#C9D179)
Black text14.49:1
White text1.44:1

Values

HEX#CFDF7B
RGBrgb(207, 223, 123)
HSLhsl(70, 61%, 68%)
OKLCHoklch(87% 0.126 116.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 #CFDF7B 1.44:1 Fails Lc -24.3 Dividers and decoration only
Black text on #CFDF7B 14.49:1 AAA Lc 82.4 Fine for body text
#CFDF7B text on white 1.44:1 Fails Lc 21.4 Dividers and decoration only
#CFDF7B text on black 14.49:1 AAA Lc -82.0 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

    #F4F8E7

    oklch(97.2% 0.023 117.6)

  2. Step 100

    100

    #E7EECB

    oklch(93.5% 0.047 116.5)

  3. Step 200

    200 (this color)

    #CFDF7B

    oklch(87% 0.126 116.6)

  4. Step 300

    300

    #BBCD3F

    oklch(80.9% 0.162 116.4)

  5. Step 400

    400

    #9BAC00

    oklch(70.7% 0.162 116.6)

  6. Step 500

    500

    #859300

    oklch(63% 0.144 116.3)

  7. Step 600

    600

    #6F7C00

    oklch(55.6% 0.128 116.8)

  8. Step 700

    700

    #5D6800

    oklch(49.1% 0.113 116.8)

  9. Step 800

    800

    #4C5500

    oklch(42.7% 0.098 116.6)

  10. Step 900

    900

    #3F4700

    oklch(37.7% 0.087 116.8)

  11. Step 950

    950

    #252A00

    oklch(27.1% 0.062 116.5)

Export this scale for Tailwind in the Tailwind colors tool

#CFDF7B 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)#EBD6730.041
Deuteranopia (no green cones)#EAD7800.043
Tritanopia (no blue cones)#D9D5C70.109
Achromatopsia (no color)#D6D6D60.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #CFDF7B

    #CFDF7B

    oklch(87% 0.126 116.6)

  • #D8CBFF

    #D8CBFF

    oklch(87% 0.072 296.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CFDF7B

    #CFDF7B

    oklch(87% 0.126 116.6)

  • #F9CF6C

    #F9CF6C

    oklch(87.1% 0.127 86.6)

  • #9BEBA3

    #9BEBA3

    oklch(87% 0.126 146.8)

Open the analogous palette in the generator

Split complementary

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

  • #CFDF7B

    #CFDF7B

    oklch(87% 0.126 116.6)

  • #C1D4FF

    #C1D4FF

    oklch(87% 0.063 266.3)

  • #FFB8FF

    #FFB8FF

    oklch(87.1% 0.122 326.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CFDF7B

    #CFDF7B

    oklch(87% 0.126 116.6)

  • #A6DCFF

    #A6DCFF

    oklch(86.9% 0.074 237.1)

  • #FFC0D5

    #FFC0D5

    oklch(87.1% 0.077 357)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CFDF7B

    #CFDF7B

    oklch(87% 0.126 116.6)

  • #56ECFE

    #56ECFE

    oklch(87.1% 0.127 206.5)

  • #D8CBFF

    #D8CBFF

    oklch(87% 0.072 296.3)

  • #FFC3BC

    #FFC3BC

    oklch(86.9% 0.07 26.2)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #CFDF7B.

Similar named colors

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

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