#CAC398

Closest named color: Ash Gray (#BFC8AD). oklch(81.2% 0.058 99.8), rgb(202, 195, 152).

Aa

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

About this color

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

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

Values

HEX#CAC398
RGBrgb(202, 195, 152)
HSLhsl(52, 32%, 69%)
OKLCHoklch(81.2% 0.058 99.8)

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 #CAC398 1.78:1 Fails Lc -37.0 Non-text elements, placeholder text
Black text on #CAC398 11.77:1 AAA Lc 70.9 Content text, not long reading
#CAC398 text on white 1.78:1 Fails Lc 32.9 Non-text elements, placeholder text
#CAC398 text on black 11.77:1 AAA Lc -69.7 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

    #F6F6F0

    oklch(97.1% 0.008 106.5)

  2. Step 100

    100

    #ECEADE

    oklch(93.5% 0.016 99)

  3. Step 200

    200

    #DEDAC2

    oklch(88.5% 0.032 99.3)

  4. Step 300

    300 (this color)

    #CAC398

    oklch(81.2% 0.058 99.8)

  5. Step 400

    400

    #AEA25B

    oklch(70.7% 0.093 99.9)

  6. Step 500

    500

    #9B8A24

    oklch(63.1% 0.118 99.3)

  7. Step 600

    600

    #847400

    oklch(55.7% 0.116 99.7)

  8. Step 700

    700

    #6F6100

    oklch(49.1% 0.102 99.4)

  9. Step 800

    800

    #5B4F00

    oklch(42.7% 0.088 99.2)

  10. Step 900

    900

    #4B4202

    oklch(37.7% 0.077 100.4)

  11. Step 950

    950

    #2C2706

    oklch(27.1% 0.049 100.6)

Export this scale for Tailwind in the Tailwind colors tool

#CAC398 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.008
Deuteranopia (no green cones)#CEC3990.006
Tritanopia (no blue cones)#D2BDB70.052
Achromatopsia (no color)#C2C2C20.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #CAC398

    #CAC398

    oklch(81.2% 0.058 99.8)

  • #B9BEE7

    #B9BEE7

    oklch(81.1% 0.058 279.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CAC398

    #CAC398

    oklch(81.2% 0.058 99.8)

  • #DABC99

    #DABC99

    oklch(81.2% 0.058 71.2)

  • #B5CAA2

    #B5CAA2

    oklch(81.3% 0.059 130.2)

Open the analogous palette in the generator

Split complementary

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

  • #CAC398

    #CAC398

    oklch(81.2% 0.058 99.8)

  • #A6C5E6

    #A6C5E6

    oklch(81.2% 0.058 250.2)

  • #CDB8DE

    #CDB8DE

    oklch(81.2% 0.057 309.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CAC398

    #CAC398

    oklch(81.2% 0.058 99.8)

  • #98CBDC

    #98CBDC

    oklch(81.2% 0.058 220.4)

  • #DCB4CE

    #DCB4CE

    oklch(81.3% 0.057 339.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CAC398

    #CAC398

    oklch(81.2% 0.058 99.8)

  • #96CECA

    #96CECA

    oklch(81.2% 0.058 190.5)

  • #B9BEE7

    #B9BEE7

    oklch(81.1% 0.058 279.6)

  • #E4B3B9

    #E4B3B9

    oklch(81.2% 0.057 10.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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