#C7CD98

Closest named color: Ash Gray (#BFC8AD). oklch(83% 0.071 113.2), rgb(199, 205, 152).

Aa

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

About this color

#C7CD98 is a light, moderately saturated yellow. In OKLCH its lightness is 83%, its chroma 0.071 and its hue 113°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Ash Gray (#BFC8AD), ΔE 0.036 away. Black text reads best on it, at 12.61:1.

Hue familyYellows
Lightnesslight (83%)
Chromamoderately saturated (0.071)
Temperaturein between
Nearest nameAsh Gray (#BFC8AD)
Black text12.61:1
White text1.66:1

Values

HEX#C7CD98
RGBrgb(199, 205, 152)
HSLhsl(67, 35%, 70%)
OKLCHoklch(83% 0.071 113.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 #C7CD98 1.66:1 Fails Lc -32.9 Non-text elements, placeholder text
Black text on #C7CD98 12.61:1 AAA Lc 74.6 Content text, not long reading
#C7CD98 text on white 1.66:1 Fails Lc 29.2 Dividers and decoration only
#C7CD98 text on black 12.61:1 AAA Lc -73.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

    #F5F6EF

    oklch(97% 0.009 113.2)

  2. Step 100

    100

    #E9ECDC

    oklch(93.6% 0.021 115.4)

  3. Step 200

    200

    #D9DCBF

    oklch(88.4% 0.039 112)

  4. Step 300

    300 (this color)

    #C7CD98

    oklch(83% 0.071 113.2)

  5. Step 400

    400

    #A1A850

    oklch(70.7% 0.113 113)

  6. Step 500

    500

    #8A9100

    oklch(63% 0.141 113.2)

  7. Step 600

    600

    #747A00

    oklch(55.6% 0.124 113.2)

  8. Step 700

    700

    #616700

    oklch(49.2% 0.11 113.7)

  9. Step 800

    800

    #505400

    oklch(42.8% 0.095 112.9)

  10. Step 900

    900

    #424600

    oklch(37.8% 0.084 113.4)

  11. Step 950

    950

    #272900

    oklch(27% 0.06 112.6)

Export this scale for Tailwind in the Tailwind colors tool

#C7CD98 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)#D5C8950.022
Deuteranopia (no green cones)#D5C99A0.022
Tritanopia (no blue cones)#CEC7BF0.061
Achromatopsia (no color)#C8C8C80.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #C7CD98

    #C7CD98

    oklch(83% 0.071 113.2)

  • #C9BFF2

    #C9BFF2

    oklch(83% 0.071 293.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C7CD98

    #C7CD98

    oklch(83% 0.071 113.2)

  • #DEC493

    #DEC493

    oklch(83.1% 0.071 83)

  • #ADD4AA

    #ADD4AA

    oklch(83.1% 0.071 143)

Open the analogous palette in the generator

Split complementary

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

  • #C7CD98

    #C7CD98

    oklch(83% 0.071 113.2)

  • #B0C8F6

    #B0C8F6

    oklch(83.1% 0.07 263.3)

  • #DFB9E2

    #DFB9E2

    oklch(83.2% 0.07 323.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C7CD98

    #C7CD98

    oklch(83% 0.071 113.2)

  • #9AD0EE

    #9AD0EE

    oklch(83.1% 0.07 233)

  • #EDB5CB

    #EDB5CB

    oklch(83% 0.071 353.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C7CD98

    #C7CD98

    oklch(83% 0.071 113.2)

  • #8FD6DC

    #8FD6DC

    oklch(83.1% 0.071 202.6)

  • #C9BFF2

    #C9BFF2

    oklch(83% 0.071 293.8)

  • #F2B6B2

    #F2B6B2

    oklch(83% 0.07 23)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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