#C7D989

Closest named color: Greenish Beige (#C9D179). oklch(85.3% 0.105 119), rgb(199, 217, 137).

Aa

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

About this color

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

Hue familyYellows
Lightnesslight (85%)
Chromamoderately saturated (0.105)
Temperaturein between
Nearest nameGreenish Beige (#C9D179)
Black text13.71:1
White text1.53:1

Values

HEX#C7D989
RGBrgb(199, 217, 137)
HSLhsl(73, 51%, 69%)
OKLCHoklch(85.3% 0.105 119)

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 #C7D989 1.53:1 Fails Lc -27.8 Dividers and decoration only
Black text on #C7D989 13.71:1 AAA Lc 79.2 Fine for body text
#C7D989 text on white 1.53:1 Fails Lc 24.6 Dividers and decoration only
#C7D989 text on black 13.71:1 AAA Lc -78.6 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

    #F4F7EA

    oklch(97% 0.017 117.3)

  2. Step 100

    100

    #E7EED1

    oklch(93.6% 0.039 118.2)

  3. Step 200

    200 (this color)

    #C7D989

    oklch(85.3% 0.105 119)

  4. Step 300

    300

    #B7CD62

    oklch(80.9% 0.135 119.2)

  5. Step 400

    400

    #96AE00

    oklch(70.7% 0.166 119.1)

  6. Step 500

    500

    #809500

    oklch(63.1% 0.149 119.2)

  7. Step 600

    600

    #6C7D00

    oklch(55.6% 0.13 118.8)

  8. Step 700

    700

    #5A6900

    oklch(49.1% 0.115 119)

  9. Step 800

    800

    #495600

    oklch(42.7% 0.101 119.3)

  10. Step 900

    900

    #3D4800

    oklch(37.8% 0.089 119.1)

  11. Step 950

    950

    #232A00

    oklch(26.9% 0.063 118.9)

Export this scale for Tailwind in the Tailwind colors tool

#C7D989 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)#E3D1830.040
Deuteranopia (no green cones)#E1D18D0.041
Tritanopia (no blue cones)#CED1C50.089
Achromatopsia (no color)#D1D1D10.106

Harmonies

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

Complementary

The opposite hue (180°).

  • #C7D989

    #C7D989

    oklch(85.3% 0.105 119)

  • #D6C3FF

    #D6C3FF

    oklch(85.3% 0.085 299.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C7D989

    #C7D989

    oklch(85.3% 0.105 119)

  • #EBCC7C

    #EBCC7C

    oklch(85.4% 0.105 88.9)

  • #9EE2A9

    #9EE2A9

    oklch(85.3% 0.104 148.8)

Open the analogous palette in the generator

Split complementary

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

  • #C7D989

    #C7D989

    oklch(85.3% 0.105 119)

  • #BBCEFF

    #BBCEFF

    oklch(85.4% 0.072 268.3)

  • #F6B6F1

    #F6B6F1

    oklch(85.3% 0.106 329.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C7D989

    #C7D989

    oklch(85.3% 0.105 119)

  • #9DD7FF

    #9DD7FF

    oklch(85.4% 0.082 239.1)

  • #FFB7CD

    #FFB7CD

    oklch(85.2% 0.088 359.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C7D989

    #C7D989

    oklch(85.3% 0.105 119)

  • #72E2F4

    #72E2F4

    oklch(85.4% 0.105 209.2)

  • #D6C3FF

    #D6C3FF

    oklch(85.3% 0.085 299.1)

  • #FFBCB1

    #FFBCB1

    oklch(85.4% 0.08 29.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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