#C2C797

Closest named color: Ash Gray (#BFC8AD). oklch(81.4% 0.065 112.7), rgb(194, 199, 151).

Aa

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

About this color

#C2C797 is a light, muted yellow. In OKLCH its lightness is 81%, its chroma 0.065 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.028 away. Black text reads best on it, at 11.91:1.

Hue familyYellows
Lightnesslight (81%)
Chromamuted (0.065)
Temperaturein between
Nearest nameAsh Gray (#BFC8AD)
Black text11.91:1
White text1.76:1

Values

HEX#C2C797
RGBrgb(194, 199, 151)
HSLhsl(66, 30%, 69%)
OKLCHoklch(81.4% 0.065 112.7)

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 #C2C797 1.76:1 Fails Lc -36.3 Non-text elements, placeholder text
Black text on #C2C797 11.91:1 AAA Lc 71.5 Content text, not long reading
#C2C797 text on white 1.76:1 Fails Lc 32.3 Non-text elements, placeholder text
#C2C797 text on black 11.91:1 AAA Lc -70.4 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

    #F5F6F0

    oklch(97.1% 0.008 114.2)

  2. Step 100

    100

    #EAEBDD

    oklch(93.5% 0.019 110.1)

  3. Step 200

    200

    #D9DCC1

    oklch(88.5% 0.036 112.3)

  4. Step 300

    300 (this color)

    #C2C797

    oklch(81.4% 0.065 112.7)

  5. Step 400

    400

    #A1A758

    oklch(70.6% 0.103 112.6)

  6. Step 500

    500

    #8B911B

    oklch(63.1% 0.132 112.7)

  7. Step 600

    600

    #757A00

    oklch(55.6% 0.124 112.6)

  8. Step 700

    700

    #626600

    oklch(49% 0.109 112.4)

  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

    #272904

    oklch(27% 0.055 112.6)

Export this scale for Tailwind in the Tailwind colors tool

#C2C797 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)#CEC2940.019
Deuteranopia (no green cones)#CEC4990.019
Tritanopia (no blue cones)#C8C1BA0.056
Achromatopsia (no color)#C3C3C30.065

Harmonies

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

Complementary

The opposite hue (180°).

  • #C2C797

    #C2C797

    oklch(81.4% 0.065 112.7)

  • #C3BBE9

    #C3BBE9

    oklch(81.4% 0.065 292.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C2C797

    #C2C797

    oklch(81.4% 0.065 112.7)

  • #D7BF93

    #D7BF93

    oklch(81.4% 0.064 82.5)

  • #AACDA7

    #AACDA7

    oklch(81.3% 0.065 142.9)

Open the analogous palette in the generator

Split complementary

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

  • #C2C797

    #C2C797

    oklch(81.4% 0.065 112.7)

  • #ACC3ED

    #ACC3ED

    oklch(81.4% 0.065 262.4)

  • #D7B5DB

    #D7B5DB

    oklch(81.5% 0.064 322.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C2C797

    #C2C797

    oklch(81.4% 0.065 112.7)

  • #98CAE5

    #98CAE5

    oklch(81.3% 0.065 232.2)

  • #E4B1C6

    #E4B1C6

    oklch(81.3% 0.065 352.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C2C797

    #C2C797

    oklch(81.4% 0.065 112.7)

  • #90CFD4

    #90CFD4

    oklch(81.4% 0.064 202.2)

  • #C3BBE9

    #C3BBE9

    oklch(81.4% 0.065 292.9)

  • #E9B2AF

    #E9B2AF

    oklch(81.3% 0.065 22.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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