#CFC399

Closest named color: Ash Gray (#BFC8AD). oklch(81.7% 0.058 94), rgb(207, 195, 153).

Aa

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

About this color

#CFC399 is a light, muted yellow. In OKLCH its lightness is 82%, its chroma 0.058 and its hue 94°. 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.91:1.

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

Values

HEX#CFC399
RGBrgb(207, 195, 153)
HSLhsl(47, 36%, 71%)
OKLCHoklch(81.7% 0.058 94)

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 #CFC399 1.76:1 Fails Lc -36.2 Non-text elements, placeholder text
Black text on #CFC399 11.91:1 AAA Lc 71.6 Content text, not long reading
#CFC399 text on white 1.76:1 Fails Lc 32.3 Non-text elements, placeholder text
#CFC399 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

    #F7F5F0

    oklch(97% 0.007 88.6)

  2. Step 100

    100

    #EDEADE

    oklch(93.6% 0.016 95.2)

  3. Step 200

    200

    #E0D9C2

    oklch(88.5% 0.032 93)

  4. Step 300

    300 (this color)

    #CFC399

    oklch(81.7% 0.058 94)

  5. Step 400

    400

    #B3A05B

    oklch(70.7% 0.092 94.4)

  6. Step 500

    500

    #A18722

    oklch(63% 0.118 93.7)

  7. Step 600

    600

    #897100

    oklch(55.5% 0.114 94.1)

  8. Step 700

    700

    #745F00

    oklch(49.2% 0.101 93.8)

  9. Step 800

    800

    #5F4D00

    oklch(42.6% 0.087 93.4)

  10. Step 900

    900

    #4F4001

    oklch(37.6% 0.077 93.7)

  11. Step 950

    950

    #2E2606

    oklch(27% 0.049 94.9)

Export this scale for Tailwind in the Tailwind colors tool

#CFC399 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)#CCC1960.008
Deuteranopia (no green cones)#CFC59A0.005
Tritanopia (no blue cones)#D8BDB80.052
Achromatopsia (no color)#C3C3C30.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #CFC399

    #CFC399

    oklch(81.7% 0.058 94)

  • #B7C1E9

    #B7C1E9

    oklch(81.7% 0.057 274.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CFC399

    #CFC399

    oklch(81.7% 0.058 94)

  • #DEBC9D

    #DEBC9D

    oklch(81.7% 0.057 64.3)

  • #BBCAA1

    #BBCAA1

    oklch(81.7% 0.058 124)

Open the analogous palette in the generator

Split complementary

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

  • #CFC399

    #CFC399

    oklch(81.7% 0.058 94)

  • #A4C8E6

    #A4C8E6

    oklch(81.7% 0.057 243.7)

  • #CBBAE2

    #CBBAE2

    oklch(81.6% 0.058 304.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CFC399

    #CFC399

    oklch(81.7% 0.058 94)

  • #98CDDA

    #98CDDA

    oklch(81.6% 0.058 214.5)

  • #DBB6D3

    #DBB6D3

    oklch(81.7% 0.057 333.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CFC399

    #CFC399

    oklch(81.7% 0.058 94)

  • #99D0C7

    #99D0C7

    oklch(81.7% 0.058 183.7)

  • #B7C1E9

    #B7C1E9

    oklch(81.7% 0.057 274.1)

  • #E5B4BF

    #E5B4BF

    oklch(81.7% 0.058 3.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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