#C7D27C

Closest named color: Greenish Beige (#C9D179). oklch(83.6% 0.111 114.8), rgb(199, 210, 124).

Aa

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

About this color

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

Hue familyYellows
Lightnesslight (84%)
Chromamoderately saturated (0.111)
Temperaturein between
Nearest nameGreenish Beige (#C9D179)
Black text12.93:1
White text1.62:1

Values

HEX#C7D27C
RGBrgb(199, 210, 124)
HSLhsl(68, 49%, 65%)
OKLCHoklch(83.6% 0.111 114.8)

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 #C7D27C 1.62:1 Fails Lc -31.4 Non-text elements, placeholder text
Black text on #C7D27C 12.93:1 AAA Lc 76.0 Fine for body text
#C7D27C text on white 1.62:1 Fails Lc 27.8 Dividers and decoration only
#C7D27C text on black 12.93:1 AAA Lc -75.1 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

    #F5F7EC

    oklch(97.2% 0.015 115)

  2. Step 100

    100

    #E9EDD5

    oklch(93.7% 0.032 114.7)

  3. Step 200

    200

    #D7DEB0

    oklch(88.4% 0.061 114.7)

  4. Step 300

    300 (this color)

    #C7D27C

    oklch(83.6% 0.111 114.8)

  5. Step 400

    400

    #9FAB00

    oklch(70.7% 0.16 114.7)

  6. Step 500

    500

    #889200

    oklch(63% 0.142 114.5)

  7. Step 600

    600

    #727B00

    oklch(55.6% 0.126 114.8)

  8. Step 700

    700

    #5F6700

    oklch(49% 0.111 115)

  9. Step 800

    800

    #4E5400

    oklch(42.6% 0.096 114.4)

  10. Step 900

    900

    #414600

    oklch(37.7% 0.085 114.3)

  11. Step 950

    950

    #262900

    oklch(26.9% 0.06 113.9)

Export this scale for Tailwind in the Tailwind colors tool

#C7D27C 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)#DDCA750.034
Deuteranopia (no green cones)#DCCC800.034
Tritanopia (no blue cones)#D0C9BD0.096
Achromatopsia (no color)#CBCBCB0.111

Harmonies

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

Complementary

The opposite hue (180°).

  • #C7D27C

    #C7D27C

    oklch(83.6% 0.111 114.8)

  • #CDBEFF

    #CDBEFF

    oklch(83.6% 0.091 294.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C7D27C

    #C7D27C

    oklch(83.6% 0.111 114.8)

  • #EBC471

    #EBC471

    oklch(83.7% 0.111 84.8)

  • #9BDD9C

    #9BDD9C

    oklch(83.7% 0.112 144.9)

Open the analogous palette in the generator

Split complementary

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

  • #C7D27C

    #C7D27C

    oklch(83.6% 0.111 114.8)

  • #AFC9FF

    #AFC9FF

    oklch(83.6% 0.081 264.7)

  • #EEB0F1

    #EEB0F1

    oklch(83.5% 0.111 325)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C7D27C

    #C7D27C

    oklch(83.6% 0.111 114.8)

  • #89D4FF

    #89D4FF

    oklch(83.7% 0.096 234.7)

  • #FFADCD

    #FFADCD

    oklch(83.5% 0.103 354.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C7D27C

    #C7D27C

    oklch(83.6% 0.111 114.8)

  • #63DEEB

    #63DEEB

    oklch(83.6% 0.11 204.8)

  • #CDBEFF

    #CDBEFF

    oklch(83.6% 0.091 294.9)

  • #FFB3AC

    #FFB3AC

    oklch(83.7% 0.09 25)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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