#CEC398

Closest named color: Ash Gray (#BFC8AD). oklch(81.5% 0.059 95.4), rgb(206, 195, 152).

Aa

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

About this color

#CEC398 is a light, muted yellow. In OKLCH its lightness is 82%, its chroma 0.059 and its hue 95°. Its hue sits on the warm side of the wheel. The nearest named color is Ash Gray (#BFC8AD), ΔE 0.030 away. Black text reads best on it, at 11.88:1.

Hue familyYellows
Lightnesslight (82%)
Chromamuted (0.059)
Temperaturewarm
Nearest nameAsh Gray (#BFC8AD)
Black text11.88:1
White text1.76:1

Values

HEX#CEC398
RGBrgb(206, 195, 152)
HSLhsl(48, 36%, 70%)
OKLCHoklch(81.5% 0.059 95.4)

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 #CEC398 1.76:1 Fails Lc -36.4 Non-text elements, placeholder text
Black text on #CEC398 11.88:1 AAA Lc 71.4 Content text, not long reading
#CEC398 text on white 1.76:1 Fails Lc 32.4 Non-text elements, placeholder text
#CEC398 text on black 11.88:1 AAA Lc -70.2 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

    #EDEADD

    oklch(93.6% 0.018 96.1)

  3. Step 200

    200

    #DFD9C2

    oklch(88.4% 0.031 94.9)

  4. Step 300

    300 (this color)

    #CEC398

    oklch(81.5% 0.059 95.4)

  5. Step 400

    400

    #B2A059

    oklch(70.6% 0.094 95.5)

  6. Step 500

    500

    #A0881F

    oklch(63.1% 0.12 95.2)

  7. Step 600

    600

    #887200

    oklch(55.6% 0.114 95.6)

  8. Step 700

    700

    #725F00

    oklch(49% 0.101 95.4)

  9. Step 800

    800

    #5E4E00

    oklch(42.8% 0.088 95.4)

  10. Step 900

    900

    #4E4100

    oklch(37.8% 0.078 96.2)

  11. Step 950

    950

    #2E2605

    oklch(27% 0.05 95.3)

Export this scale for Tailwind in the Tailwind colors tool

#CEC398 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)#CCC1950.007
Deuteranopia (no green cones)#CFC4990.003
Tritanopia (no blue cones)#D7BDB70.052
Achromatopsia (no color)#C3C3C30.059

Harmonies

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

Complementary

The opposite hue (180°).

  • #CEC398

    #CEC398

    oklch(81.5% 0.059 95.4)

  • #B7C0E9

    #B7C0E9

    oklch(81.5% 0.059 275.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CEC398

    #CEC398

    oklch(81.5% 0.059 95.4)

  • #DEBC9B

    #DEBC9B

    oklch(81.6% 0.059 66)

  • #B9CAA1

    #B9CAA1

    oklch(81.5% 0.059 126)

Open the analogous palette in the generator

Split complementary

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

  • #CEC398

    #CEC398

    oklch(81.5% 0.059 95.4)

  • #A4C7E7

    #A4C7E7

    oklch(81.5% 0.059 246.2)

  • #CCBAE2

    #CCBAE2

    oklch(81.7% 0.059 305.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CEC398

    #CEC398

    oklch(81.5% 0.059 95.4)

  • #97CDDB

    #97CDDB

    oklch(81.6% 0.059 215.5)

  • #DCB5D2

    #DCB5D2

    oklch(81.6% 0.059 335.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CEC398

    #CEC398

    oklch(81.5% 0.059 95.4)

  • #98D0C8

    #98D0C8

    oklch(81.7% 0.059 185.2)

  • #B7C0E9

    #B7C0E9

    oklch(81.5% 0.059 275.3)

  • #E5B3BD

    #E5B3BD

    oklch(81.5% 0.059 5.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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