#C7DA78

Closest named color: Greenish Beige (#C9D179). oklch(85.3% 0.125 118.1), rgb(199, 218, 120).

Aa

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

About this color

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

Hue familyYellows
Lightnesslight (85%)
Chromamoderately saturated (0.125)
Temperaturein between
Nearest nameGreenish Beige (#C9D179)
Black text13.72:1
White text1.52:1

Values

HEX#C7DA78
RGBrgb(199, 218, 120)
HSLhsl(72, 57%, 66%)
OKLCHoklch(85.3% 0.125 118.1)

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 #C7DA78 1.52:1 Fails Lc -27.7 Dividers and decoration only
Black text on #C7DA78 13.72:1 AAA Lc 79.3 Fine for body text
#C7DA78 text on white 1.52:1 Fails Lc 24.5 Dividers and decoration only
#C7DA78 text on black 13.72: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

    #F4F8E8

    oklch(97.2% 0.021 118.2)

  2. Step 100

    100

    #E6EFCC

    oklch(93.6% 0.047 119)

  3. Step 200

    200 (this color)

    #C7DA78

    oklch(85.3% 0.125 118.1)

  4. Step 300

    300

    #B8CE45

    oklch(80.9% 0.161 118)

  5. Step 400

    400

    #98AD00

    oklch(70.6% 0.165 118.1)

  6. Step 500

    500

    #829400

    oklch(63% 0.147 118)

  7. Step 600

    600

    #6D7D00

    oklch(55.7% 0.13 118.3)

  8. Step 700

    700

    #5B6900

    oklch(49.2% 0.115 118.5)

  9. Step 800

    800

    #4A5600

    oklch(42.8% 0.1 118.6)

  10. Step 900

    900

    #3E4700

    oklch(37.7% 0.087 117.6)

  11. Step 950

    950

    #242A00

    oklch(27% 0.063 117.7)

Export this scale for Tailwind in the Tailwind colors tool

#C7DA78 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)#E5D1700.044
Deuteranopia (no green cones)#E3D17D0.046
Tritanopia (no blue cones)#D0D1C30.106
Achromatopsia (no color)#D1D1D10.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #C7DA78

    #C7DA78

    oklch(85.3% 0.125 118.1)

  • #D5C3FF

    #D5C3FF

    oklch(85.2% 0.084 298.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C7DA78

    #C7DA78

    oklch(85.3% 0.125 118.1)

  • #F1CA67

    #F1CA67

    oklch(85.3% 0.126 88.1)

  • #94E5A0

    #94E5A0

    oklch(85.2% 0.124 148.1)

Open the analogous palette in the generator

Split complementary

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

  • #C7DA78

    #C7DA78

    oklch(85.3% 0.125 118.1)

  • #BACEFF

    #BACEFF

    oklch(85.3% 0.072 267.5)

  • #FBB1F8

    #FBB1F8

    oklch(85.2% 0.125 328)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C7DA78

    #C7DA78

    oklch(85.3% 0.125 118.1)

  • #9BD7FF

    #9BD7FF

    oklch(85.2% 0.083 238.2)

  • #FFB7CE

    #FFB7CE

    oklch(85.3% 0.088 358.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C7DA78

    #C7DA78

    oklch(85.3% 0.125 118.1)

  • #52E5F9

    #52E5F9

    oklch(85.2% 0.125 208)

  • #D5C3FF

    #D5C3FF

    oklch(85.2% 0.084 298.3)

  • #FFBBB2

    #FFBBB2

    oklch(85.2% 0.08 27.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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