#CFAD23

Closest named color: Burnt Yellow (#D5AB09). oklch(75.6% 0.147 93.7), rgb(207, 173, 35).

Aa

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

About this color

#CFAD23 is a medium-light, vivid yellow. In OKLCH its lightness is 76%, its chroma 0.147 and its hue 94°. Its hue sits on the warm side of the wheel. The nearest named color is Burnt Yellow (#D5AB09), ΔE 0.010 away. Black text reads best on it, at 9.65:1.

Hue familyYellows
Lightnessmedium-light (76%)
Chromavivid (0.147)
Temperaturewarm
Nearest nameBurnt Yellow (#D5AB09)
Black text9.65:1
White text2.17:1

Values

HEX#CFAD23
RGBrgb(207, 173, 35)
HSLhsl(48, 71%, 47%)
OKLCHoklch(75.6% 0.147 93.7)

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 #CFAD23 2.17:1 Fails Lc -47.3 Large or bold text, headings
Black text on #CFAD23 9.65:1 AAA Lc 61.4 Content text, not long reading
#CFAD23 text on white 2.17:1 Fails Lc 42.6 Non-text elements, placeholder text
#CFAD23 text on black 9.65:1 AAA Lc -59.6 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

    #F8F5EC

    oklch(97% 0.012 91.5)

  2. Step 100

    100

    #F0EAD6

    oklch(93.6% 0.027 93.1)

  3. Step 200

    200

    #E4D9B4

    oklch(88.5% 0.05 93.4)

  4. Step 300

    300

    #D4C07B

    oklch(80.9% 0.091 93.8)

  5. Step 400

    400 (this color)

    #CFAD23

    oklch(75.6% 0.147 93.7)

  6. Step 500

    500

    #A48700

    oklch(63.2% 0.129 93.7)

  7. Step 600

    600

    #8A7100

    oklch(55.6% 0.114 93.5)

  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

    #4F4000

    oklch(37.6% 0.077 93.9)

  11. Step 950

    950

    #2F2500

    oklch(26.8% 0.055 93.5)

Export this scale for Tailwind in the Tailwind colors tool

#CFAD23 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)#C1AA000.027
Deuteranopia (no green cones)#C9B42E0.018
Tritanopia (no blue cones)#E09E940.134
Achromatopsia (no color)#B0B0B00.147

Harmonies

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

Complementary

The opposite hue (180°).

  • #CFAD23

    #CFAD23

    oklch(75.6% 0.147 93.7)

  • #97AAFF

    #97AAFF

    oklch(75.7% 0.124 273.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CFAD23

    #CFAD23

    oklch(75.6% 0.147 93.7)

  • #F0993C

    #F0993C

    oklch(75.6% 0.147 63.5)

  • #9DBF4C

    #9DBF4C

    oklch(75.6% 0.147 123.8)

Open the analogous palette in the generator

Split complementary

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

  • #CFAD23

    #CFAD23

    oklch(75.6% 0.147 93.7)

  • #5AB8FF

    #5AB8FF

    oklch(75.5% 0.136 243.9)

  • #C497FB

    #C497FB

    oklch(75.6% 0.146 303.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CFAD23

    #CFAD23

    oklch(75.6% 0.147 93.7)

  • #00C5E3

    #00C5E3

    oklch(75.7% 0.133 213.8)

  • #E78AD7

    #E78AD7

    oklch(75.6% 0.148 333.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CFAD23

    #CFAD23

    oklch(75.6% 0.147 93.7)

  • #00CBB9

    #00CBB9

    oklch(75.6% 0.134 183.7)

  • #97AAFF

    #97AAFF

    oklch(75.7% 0.124 273.5)

  • #FB85A6

    #FB85A6

    oklch(75.6% 0.147 3.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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