#CFAF54

Closest named color: Desert (#CCAD60). oklch(76.4% 0.116 90.1), rgb(207, 175, 84).

Aa

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

About this color

#CFAF54 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 76%, its chroma 0.116 and its hue 90°. Its hue sits on the warm side of the wheel. The nearest named color is Desert (#CCAD60), ΔE 0.015 away. Black text reads best on it, at 9.91:1.

Hue familyYellows
Lightnessmedium-light (76%)
Chromamoderately saturated (0.116)
Temperaturewarm
Nearest nameDesert (#CCAD60)
Black text9.91:1
White text2.11:1

Values

HEX#CFAF54
RGBrgb(207, 175, 84)
HSLhsl(44, 56%, 57%)
OKLCHoklch(76.4% 0.116 90.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 #CFAF54 2.11:1 Fails Lc -46.1 Large or bold text, headings
Black text on #CFAF54 9.91:1 AAA Lc 62.5 Content text, not long reading
#CFAF54 text on white 2.11:1 Fails Lc 41.4 Non-text elements, placeholder text
#CFAF54 text on black 9.91:1 AAA Lc -60.8 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

    #F9F5EA

    oklch(97% 0.015 90.2)

  2. Step 100

    100

    #F2E9D1

    oklch(93.5% 0.033 89.9)

  3. Step 200

    200

    #EAD8A9

    oklch(88.5% 0.064 89.6)

  4. Step 300

    300 (this color)

    #CFAF54

    oklch(76.4% 0.116 90.1)

  5. Step 400

    400

    #C39B00

    oklch(70.6% 0.144 90.2)

  6. Step 500

    500

    #A88500

    oklch(63.2% 0.129 90)

  7. Step 600

    600

    #8D6F00

    oklch(55.5% 0.113 89.9)

  8. Step 700

    700

    #775D00

    oklch(49.1% 0.1 89.6)

  9. Step 800

    800

    #614C00

    oklch(42.6% 0.087 90.4)

  10. Step 900

    900

    #513F00

    oklch(37.6% 0.077 90.4)

  11. Step 950

    950

    #312500

    oklch(27.1% 0.055 90.3)

Export this scale for Tailwind in the Tailwind colors tool

#CFAF54 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)#C0AD4B0.026
Deuteranopia (no green cones)#C8B6580.019
Tritanopia (no blue cones)#DFA29B0.107
Achromatopsia (no color)#B2B2B20.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #CFAF54

    #CFAF54

    oklch(76.4% 0.116 90.1)

  • #96AEFD

    #96AEFD

    oklch(76.4% 0.117 270.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CFAF54

    #CFAF54

    oklch(76.4% 0.116 90.1)

  • #E8A063

    #E8A063

    oklch(76.4% 0.116 60.1)

  • #A9BD65

    #A9BD65

    oklch(76.3% 0.116 119.8)

Open the analogous palette in the generator

Split complementary

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

  • #CFAF54

    #CFAF54

    oklch(76.4% 0.116 90.1)

  • #67BCF5

    #67BCF5

    oklch(76.4% 0.116 240)

  • #BEA1F1

    #BEA1F1

    oklch(76.4% 0.116 300.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CFAF54

    #CFAF54

    oklch(76.4% 0.116 90.1)

  • #3FC6DB

    #3FC6DB

    oklch(76.4% 0.116 210.1)

  • #DC97D6

    #DC97D6

    oklch(76.4% 0.116 329.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CFAF54

    #CFAF54

    oklch(76.4% 0.116 90.1)

  • #4ACAB5

    #4ACAB5

    oklch(76.3% 0.116 180.2)

  • #96AEFD

    #96AEFD

    oklch(76.4% 0.117 270.5)

  • #EF92AF

    #EF92AF

    oklch(76.4% 0.117 0.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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