#CCBF3C

Closest named color: Mustard Yellow (#D2BD0A). oklch(79.2% 0.147 103.6), rgb(204, 191, 60).

Aa

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

About this color

#CCBF3C is a light, vivid yellow. In OKLCH its lightness is 79%, its chroma 0.147 and its hue 104°. Its hue sits on the warm side of the wheel. The nearest named color is Mustard Yellow (#D2BD0A), ΔE 0.018 away. Black text reads best on it, at 11.08:1.

Hue familyYellows
Lightnesslight (79%)
Chromavivid (0.147)
Temperaturewarm
Nearest nameMustard Yellow (#D2BD0A)
Black text11.08:1
White text1.89:1

Values

HEX#CCBF3C
RGBrgb(204, 191, 60)
HSLhsl(55, 59%, 52%)
OKLCHoklch(79.2% 0.147 103.6)

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 #CCBF3C 1.89:1 Fails Lc -40.2 Non-text elements, placeholder text
Black text on #CCBF3C 11.08:1 AAA Lc 68.0 Content text, not long reading
#CCBF3C text on white 1.89:1 Fails Lc 35.9 Non-text elements, placeholder text
#CCBF3C text on black 11.08:1 AAA Lc -66.6 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

    #F7F6E8

    oklch(97% 0.018 103.4)

  2. Step 100

    100

    #EEECCC

    oklch(93.6% 0.042 104.2)

  3. Step 200

    200

    #E2DC9D

    oklch(88.4% 0.082 103.3)

  4. Step 300

    300 (this color)

    #CCBF3C

    oklch(79.2% 0.147 103.6)

  5. Step 400

    400

    #B1A400

    oklch(70.7% 0.149 103.9)

  6. Step 500

    500

    #988C00

    oklch(63.1% 0.133 103.5)

  7. Step 600

    600

    #807600

    oklch(55.7% 0.117 103.6)

  8. Step 700

    700

    #6B6300

    oklch(49.2% 0.104 104)

  9. Step 800

    800

    #585100

    oklch(42.8% 0.09 103.8)

  10. Step 900

    900

    #494300

    oklch(37.7% 0.08 103.8)

  11. Step 950

    950

    #2B2700

    oklch(26.9% 0.057 103.7)

Export this scale for Tailwind in the Tailwind colors tool

#CCBF3C 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)#D0B9270.016
Deuteranopia (no green cones)#D4BF450.015
Tritanopia (no blue cones)#DBB2A50.134
Achromatopsia (no color)#BCBCBC0.147

Harmonies

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

Complementary

The opposite hue (180°).

  • #CCBF3C

    #CCBF3C

    oklch(79.2% 0.147 103.6)

  • #B2B2FF

    #B2B2FF

    oklch(79.2% 0.109 283.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CCBF3C

    #CCBF3C

    oklch(79.2% 0.147 103.6)

  • #F3AB3D

    #F3AB3D

    oklch(79.2% 0.147 73.6)

  • #94CF6A

    #94CF6A

    oklch(79.1% 0.146 133.6)

Open the analogous palette in the generator

Split complementary

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

  • #CCBF3C

    #CCBF3C

    oklch(79.2% 0.147 103.6)

  • #8ABFFF

    #8ABFFF

    oklch(79.2% 0.107 253.7)

  • #DD9EFD

    #DD9EFD

    oklch(79.3% 0.146 313.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CCBF3C

    #CCBF3C

    oklch(79.2% 0.147 103.6)

  • #1CCEFF

    #1CCEFF

    oklch(79.2% 0.145 223.7)

  • #FC93D3

    #FC93D3

    oklch(79.2% 0.147 343.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CCBF3C

    #CCBF3C

    oklch(79.2% 0.147 103.6)

  • #00D6D4

    #00D6D4

    oklch(79.3% 0.136 193.6)

  • #B2B2FF

    #B2B2FF

    oklch(79.2% 0.109 283.6)

  • #FF9AA4

    #FF9AA4

    oklch(79.3% 0.121 13.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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