#CFA828

Closest named color: Burnt Yellow (#D5AB09). oklch(74.6% 0.142 90.4), rgb(207, 168, 40).

Aa

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

About this color

#CFA828 is a medium-light, vivid yellow. In OKLCH its lightness is 75%, its chroma 0.142 and its hue 90°. Its hue sits on the warm side of the wheel. The nearest named color is Burnt Yellow (#D5AB09), ΔE 0.016 away. Black text reads best on it, at 9.28:1.

Hue familyYellows
Lightnessmedium-light (75%)
Chromavivid (0.142)
Temperaturewarm
Nearest nameBurnt Yellow (#D5AB09)
Black text9.28:1
White text2.26:1

Values

HEX#CFA828
RGBrgb(207, 168, 40)
HSLhsl(46, 68%, 48%)
OKLCHoklch(74.6% 0.142 90.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 #CFA828 2.26:1 Fails Lc -49.2 Large or bold text, headings
Black text on #CFA828 9.28:1 AAA Lc 59.6 Large or bold text, headings
#CFA828 text on white 2.26:1 Fails Lc 44.4 Non-text elements, placeholder text
#CFA828 text on black 9.28:1 AAA Lc -57.7 Large or bold text, headings

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 400.

  1. Step 50

    50

    #F8F5ED

    oklch(97% 0.011 89.7)

  2. Step 100

    100

    #F0EAD7

    oklch(93.7% 0.026 92.4)

  3. Step 200

    200

    #E5D8B5

    oklch(88.4% 0.048 90.1)

  4. Step 300

    300

    #D6BF7D

    oklch(80.9% 0.089 91)

  5. Step 400

    400 (this color)

    #CFA828

    oklch(74.6% 0.142 90.4)

  6. Step 500

    500

    #A78500

    oklch(63.1% 0.129 90.6)

  7. Step 600

    600

    #8D6F00

    oklch(55.5% 0.113 89.9)

  8. Step 700

    700

    #765D00

    oklch(49% 0.1 90.4)

  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

#CFA828 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)#BCA6030.035
Deuteranopia (no green cones)#C5B1300.026
Tritanopia (no blue cones)#E199900.129
Achromatopsia (no color)#ACACAC0.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #CFA828

    #CFA828

    oklch(74.6% 0.142 90.4)

  • #8EA8FF

    #8EA8FF

    oklch(74.7% 0.129 270.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CFA828

    #CFA828

    oklch(74.6% 0.142 90.4)

  • #ED9544

    #ED9544

    oklch(74.6% 0.142 60.2)

  • #A1BA48

    #A1BA48

    oklch(74.7% 0.142 120.4)

Open the analogous palette in the generator

Split complementary

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

  • #CFA828

    #CFA828

    oklch(74.6% 0.142 90.4)

  • #48B7FD

    #48B7FD

    oklch(74.6% 0.142 240.4)

  • #BC97F8

    #BC97F8

    oklch(74.8% 0.141 300.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CFA828

    #CFA828

    oklch(74.6% 0.142 90.4)

  • #00C2DA

    #00C2DA

    oklch(74.6% 0.129 210.4)

  • #DF8AD7

    #DF8AD7

    oklch(74.7% 0.142 330.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CFA828

    #CFA828

    oklch(74.6% 0.142 90.4)

  • #00C8B1

    #00C8B1

    oklch(74.6% 0.135 180.6)

  • #8EA8FF

    #8EA8FF

    oklch(74.7% 0.129 270.4)

  • #F484A8

    #F484A8

    oklch(74.6% 0.141 0.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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