#CEC39F

Closest named color: Ash Gray (#BFC8AD). oklch(81.7% 0.05 93.1), rgb(206, 195, 159).

Aa

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

About this color

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

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

Values

HEX#CEC39F
RGBrgb(206, 195, 159)
HSLhsl(46, 32%, 72%)
OKLCHoklch(81.7% 0.05 93.1)

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 #CEC39F 1.76:1 Fails Lc -36.2 Non-text elements, placeholder text
Black text on #CEC39F 11.93:1 AAA Lc 71.6 Content text, not long reading
#CEC39F text on white 1.76:1 Fails Lc 32.2 Non-text elements, placeholder text
#CEC39F text on black 11.93:1 AAA Lc -70.5 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

    #EDEADF

    oklch(93.6% 0.015 94.2)

  3. Step 200

    200

    #DFD9C5

    oklch(88.5% 0.028 93.1)

  4. Step 300

    300 (this color)

    #CEC39F

    oklch(81.7% 0.05 93.1)

  5. Step 400

    400

    #B2A066

    oklch(70.8% 0.08 92.8)

  6. Step 500

    500

    #9F8839

    oklch(63.2% 0.102 93)

  7. Step 600

    600

    #8A710A

    oklch(55.7% 0.111 93)

  8. Step 700

    700

    #745E00

    oklch(49% 0.1 92.9)

  9. Step 800

    800

    #5F4D04

    oklch(42.7% 0.085 93)

  10. Step 900

    900

    #4E4011

    oklch(37.6% 0.066 92)

  11. Step 950

    950

    #2D260C

    oklch(27% 0.042 94.4)

Export this scale for Tailwind in the Tailwind colors tool

#CEC39F 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)#CBC19D0.007
Deuteranopia (no green cones)#CEC5A00.005
Tritanopia (no blue cones)#D6BDB90.046
Achromatopsia (no color)#C3C3C30.050

Harmonies

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

Complementary

The opposite hue (180°).

  • #CEC39F

    #CEC39F

    oklch(81.7% 0.05 93.1)

  • #B8C2E4

    #B8C2E4

    oklch(81.7% 0.049 272.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CEC39F

    #CEC39F

    oklch(81.7% 0.05 93.1)

  • #DBBDA2

    #DBBDA2

    oklch(81.7% 0.05 64)

  • #BDC9A6

    #BDC9A6

    oklch(81.7% 0.049 122.9)

Open the analogous palette in the generator

Split complementary

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

  • #CEC39F

    #CEC39F

    oklch(81.7% 0.05 93.1)

  • #A8C8E1

    #A8C8E1

    oklch(81.8% 0.049 241.8)

  • #C9BCDE

    #C9BCDE

    oklch(81.7% 0.049 302.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CEC39F

    #CEC39F

    oklch(81.7% 0.05 93.1)

  • #9FCCD7

    #9FCCD7

    oklch(81.7% 0.05 214.3)

  • #D8B8D1

    #D8B8D1

    oklch(81.8% 0.05 333.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CEC39F

    #CEC39F

    oklch(81.7% 0.05 93.1)

  • #A0CEC6

    #A0CEC6

    oklch(81.7% 0.05 183.3)

  • #B8C2E4

    #B8C2E4

    oklch(81.7% 0.049 272.4)

  • #E0B6C0

    #E0B6C0

    oklch(81.6% 0.05 2.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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