#CFC28E

Closest named color: Very Light Brown (#D3B683). oklch(81.2% 0.07 95.8), rgb(207, 194, 142).

Aa

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

About this color

#CFC28E is a light, moderately saturated yellow. In OKLCH its lightness is 81%, its chroma 0.070 and its hue 96°. Its hue sits on the warm side of the wheel. The nearest named color is Very Light Brown (#D3B683), ΔE 0.030 away. Black text reads best on it, at 11.76:1.

Hue familyYellows
Lightnesslight (81%)
Chromamoderately saturated (0.070)
Temperaturewarm
Nearest nameVery Light Brown (#D3B683)
Black text11.76:1
White text1.78:1

Values

HEX#CFC28E
RGBrgb(207, 194, 142)
HSLhsl(48, 40%, 68%)
OKLCHoklch(81.2% 0.07 95.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 #CFC28E 1.78:1 Fails Lc -37.0 Non-text elements, placeholder text
Black text on #CFC28E 11.76:1 AAA Lc 70.9 Content text, not long reading
#CFC28E text on white 1.78:1 Fails Lc 33.0 Non-text elements, placeholder text
#CFC28E text on black 11.76: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

    #F7F6EF

    oklch(97.2% 0.009 100)

  2. Step 100

    100

    #EEEADB

    oklch(93.6% 0.02 94.5)

  3. Step 200

    200

    #E1DABD

    oklch(88.6% 0.039 95.9)

  4. Step 300

    300 (this color)

    #CFC28E

    oklch(81.2% 0.07 95.8)

  5. Step 400

    400

    #B6A046

    oklch(70.7% 0.113 95.6)

  6. Step 500

    500

    #A18800

    oklch(63.1% 0.13 96)

  7. Step 600

    600

    #887200

    oklch(55.6% 0.114 95.6)

  8. Step 700

    700

    #726000

    oklch(49.2% 0.101 96.3)

  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

    #2F2600

    oklch(27.1% 0.056 95.5)

Export this scale for Tailwind in the Tailwind colors tool

#CFC28E 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)#CDBF8B0.009
Deuteranopia (no green cones)#D0C4900.005
Tritanopia (no blue cones)#D9BAB40.064
Achromatopsia (no color)#C2C2C20.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #CFC28E

    #CFC28E

    oklch(81.2% 0.07 95.8)

  • #B5BFF0

    #B5BFF0

    oklch(81.4% 0.07 275.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CFC28E

    #CFC28E

    oklch(81.2% 0.07 95.8)

  • #E2B992

    #E2B992

    oklch(81.3% 0.07 65.1)

  • #B6CA99

    #B6CA99

    oklch(81.1% 0.07 126)

Open the analogous palette in the generator

Split complementary

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

  • #CFC28E

    #CFC28E

    oklch(81.2% 0.07 95.8)

  • #9CC7ED

    #9CC7ED

    oklch(81.2% 0.071 245.5)

  • #CDB7E6

    #CDB7E6

    oklch(81.3% 0.069 306.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CFC28E

    #CFC28E

    oklch(81.2% 0.07 95.8)

  • #8CCEDF

    #8CCEDF

    oklch(81.3% 0.071 215.7)

  • #DFB1D3

    #DFB1D3

    oklch(81.2% 0.07 335.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CFC28E

    #CFC28E

    oklch(81.2% 0.07 95.8)

  • #8CD1C8

    #8CD1C8

    oklch(81.2% 0.071 185.6)

  • #B5BFF0

    #B5BFF0

    oklch(81.4% 0.07 275.7)

  • #EAAFBB

    #EAAFBB

    oklch(81.2% 0.07 5.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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