#C8D298

Closest named color: Greenish Beige (#C9D179). oklch(84.2% 0.077 116), rgb(200, 210, 152).

Aa

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

About this color

#C8D298 is a light, moderately saturated yellow. In OKLCH its lightness is 84%, its chroma 0.077 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.036 away. Black text reads best on it, at 13.12:1.

Hue familyYellows
Lightnesslight (84%)
Chromamoderately saturated (0.077)
Temperaturein between
Nearest nameGreenish Beige (#C9D179)
Black text13.12:1
White text1.59:1

Values

HEX#C8D298
RGBrgb(200, 210, 152)
HSLhsl(70, 39%, 71%)
OKLCHoklch(84.2% 0.077 116)

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 #C8D298 1.59:1 Fails Lc -30.5 Non-text elements, placeholder text
Black text on #C8D298 13.12:1 AAA Lc 76.7 Fine for body text
#C8D298 text on white 1.59:1 Fails Lc 27.0 Dividers and decoration only
#C8D298 text on black 13.12:1 AAA Lc -75.9 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

    #F5F6EF

    oklch(97% 0.009 113.2)

  2. Step 100

    100

    #E9ECDB

    oklch(93.6% 0.023 115)

  3. Step 200

    200

    #D7DDBD

    oklch(88.4% 0.043 115.9)

  4. Step 300

    300 (this color)

    #C8D298

    oklch(84.2% 0.077 116)

  5. Step 400

    400

    #9DAA48

    oklch(70.7% 0.124 116)

  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

    #404700

    oklch(37.8% 0.086 116)

  11. Step 950

    950

    #252A00

    oklch(27.1% 0.062 116.5)

Export this scale for Tailwind in the Tailwind colors tool

#C8D298 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)#DACC940.027
Deuteranopia (no green cones)#D9CD9A0.027
Tritanopia (no blue cones)#CECCC30.066
Achromatopsia (no color)#CCCCCC0.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #C8D298

    #C8D298

    oklch(84.2% 0.077 116)

  • #CFC1F9

    #CFC1F9

    oklch(84.1% 0.079 296.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C8D298

    #C8D298

    oklch(84.2% 0.077 116)

  • #E2C891

    #E2C891

    oklch(84.2% 0.077 85.5)

  • #ABD9AD

    #ABD9AD

    oklch(84.1% 0.077 146)

Open the analogous palette in the generator

Split complementary

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

  • #C8D298

    #C8D298

    oklch(84.2% 0.077 116)

  • #B4CBFF

    #B4CBFF

    oklch(84.3% 0.077 266.1)

  • #E6BAE7

    #E6BAE7

    oklch(84.2% 0.078 325.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C8D298

    #C8D298

    oklch(84.2% 0.077 116)

  • #9AD4F7

    #9AD4F7

    oklch(84.2% 0.077 235.4)

  • #F5B7CD

    #F5B7CD

    oklch(84.2% 0.077 355.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C8D298

    #C8D298

    oklch(84.2% 0.077 116)

  • #8DDAE4

    #8DDAE4

    oklch(84.2% 0.077 206.2)

  • #CFC1F9

    #CFC1F9

    oklch(84.1% 0.079 296.1)

  • #FAB8B1

    #FAB8B1

    oklch(84.2% 0.078 25.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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