#CCC298

Closest named color: Ash Gray (#BFC8AD). oklch(81.2% 0.057 96.2), rgb(204, 194, 152).

Aa

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

About this color

#CCC298 is a light, muted yellow. In OKLCH its lightness is 81%, its chroma 0.057 and its hue 96°. Its hue sits on the warm side of the wheel. The nearest named color is Ash Gray (#BFC8AD), ΔE 0.029 away. Black text reads best on it, at 11.73:1.

Hue familyYellows
Lightnesslight (81%)
Chromamuted (0.057)
Temperaturewarm
Nearest nameAsh Gray (#BFC8AD)
Black text11.73:1
White text1.78:1

Values

HEX#CCC298
RGBrgb(204, 194, 152)
HSLhsl(48, 34%, 70%)
OKLCHoklch(81.2% 0.057 96.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 #CCC298 1.78:1 Fails Lc -37.1 Non-text elements, placeholder text
Black text on #CCC298 11.73:1 AAA Lc 70.8 Content text, not long reading
#CCC298 text on white 1.78:1 Fails Lc 33.1 Non-text elements, placeholder text
#CCC298 text on black 11.73:1 AAA Lc -69.6 Content text, not long reading

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

    #F7F5F0

    oklch(97% 0.007 88.6)

  2. Step 100

    100

    #EDEADE

    oklch(93.6% 0.016 95.2)

  3. Step 200

    200

    #DFDAC2

    oklch(88.6% 0.033 97.3)

  4. Step 300

    300 (this color)

    #CCC298

    oklch(81.2% 0.057 96.2)

  5. Step 400

    400

    #B1A15C

    oklch(70.8% 0.091 96.6)

  6. Step 500

    500

    #9E8925

    oklch(63.1% 0.117 96.7)

  7. Step 600

    600

    #877200

    oklch(55.5% 0.114 96.2)

  8. Step 700

    700

    #726000

    oklch(49.2% 0.101 96.3)

  9. Step 800

    800

    #5D4E00

    oklch(42.6% 0.088 96.3)

  10. Step 900

    900

    #4E4102

    oklch(37.8% 0.076 95.9)

  11. Step 950

    950

    #2D2606

    oklch(26.9% 0.048 96.7)

Export this scale for Tailwind in the Tailwind colors tool

#CCC298 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)#CBC0950.006
Deuteranopia (no green cones)#CEC3990.004
Tritanopia (no blue cones)#D4BCB70.052
Achromatopsia (no color)#C2C2C20.057

Harmonies

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

Complementary

The opposite hue (180°).

  • #CCC298

    #CCC298

    oklch(81.2% 0.057 96.2)

  • #B7BFE7

    #B7BFE7

    oklch(81.2% 0.057 276.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CCC298

    #CCC298

    oklch(81.2% 0.057 96.2)

  • #DCBB9B

    #DCBB9B

    oklch(81.3% 0.057 66)

  • #B8C9A1

    #B8C9A1

    oklch(81.2% 0.058 126.4)

Open the analogous palette in the generator

Split complementary

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

  • #CCC298

    #CCC298

    oklch(81.2% 0.057 96.2)

  • #A4C6E5

    #A4C6E5

    oklch(81.2% 0.057 246.1)

  • #CBB8DF

    #CBB8DF

    oklch(81.1% 0.058 307.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CCC298

    #CCC298

    oklch(81.2% 0.057 96.2)

  • #97CBD9

    #97CBD9

    oklch(81.1% 0.057 216.2)

  • #DAB4D0

    #DAB4D0

    oklch(81.2% 0.057 335.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CCC298

    #CCC298

    oklch(81.2% 0.057 96.2)

  • #97CEC7

    #97CEC7

    oklch(81.1% 0.058 186.3)

  • #B7BFE7

    #B7BFE7

    oklch(81.2% 0.057 276.2)

  • #E3B3BB

    #E3B3BB

    oklch(81.2% 0.057 7.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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