#C7D671

Closest named color: Greenish Beige (#C9D179). oklch(84.3% 0.127 116.2), rgb(199, 214, 113).

Aa

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

About this color

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

Hue familyYellows
Lightnesslight (84%)
Chromamoderately saturated (0.127)
Temperaturein between
Nearest nameGreenish Beige (#C9D179)
Black text13.28:1
White text1.58:1

Values

HEX#C7D671
RGBrgb(199, 214, 113)
HSLhsl(69, 55%, 64%)
OKLCHoklch(84.3% 0.127 116.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 #C7D671 1.58:1 Fails Lc -29.8 Dividers and decoration only
Black text on #C7D671 13.28:1 AAA Lc 77.4 Fine for body text
#C7D671 text on white 1.58:1 Fails Lc 26.3 Dividers and decoration only
#C7D671 text on black 13.28:1 AAA Lc -76.7 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

    #F4F7EA

    oklch(97% 0.017 117.3)

  2. Step 100

    100

    #E8EDD2

    oklch(93.5% 0.036 115.6)

  3. Step 200

    200

    #D6E0AA

    oklch(88.6% 0.072 116.4)

  4. Step 300

    300 (this color)

    #C7D671

    oklch(84.3% 0.127 116.2)

  5. Step 400

    400

    #9CAC00

    oklch(70.7% 0.162 116.2)

  6. Step 500

    500

    #869300

    oklch(63.1% 0.144 115.9)

  7. Step 600

    600

    #707C00

    oklch(55.7% 0.128 116.3)

  8. Step 700

    700

    #5E6800

    oklch(49.2% 0.113 116.2)

  9. Step 800

    800

    #4D5500

    oklch(42.8% 0.098 115.9)

  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

#C7D671 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)#E2CD680.040
Deuteranopia (no green cones)#E1CE760.042
Tritanopia (no blue cones)#D1CCBE0.110
Achromatopsia (no color)#CECECE0.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #C7D671

    #C7D671

    oklch(84.3% 0.127 116.2)

  • #D0C0FF

    #D0C0FF

    oklch(84.2% 0.088 296.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C7D671

    #C7D671

    oklch(84.3% 0.127 116.2)

  • #F0C562

    #F0C562

    oklch(84.2% 0.127 85.9)

  • #93E299

    #93E299

    oklch(84.3% 0.127 146.1)

Open the analogous palette in the generator

Split complementary

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

  • #C7D671

    #C7D671

    oklch(84.3% 0.127 116.2)

  • #B4CBFF

    #B4CBFF

    oklch(84.3% 0.077 266.1)

  • #F7AEF8

    #F7AEF8

    oklch(84.3% 0.127 326.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C7D671

    #C7D671

    oklch(84.3% 0.127 116.2)

  • #91D5FF

    #91D5FF

    oklch(84.3% 0.09 236.4)

  • #FFB2CD

    #FFB2CD

    oklch(84.4% 0.095 356.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C7D671

    #C7D671

    oklch(84.3% 0.127 116.2)

  • #49E3F4

    #49E3F4

    oklch(84.4% 0.127 205.8)

  • #D0C0FF

    #D0C0FF

    oklch(84.2% 0.088 296.1)

  • #FFB6AE

    #FFB6AE

    oklch(84.3% 0.086 26.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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