#CCBD1F

Closest named color: Mustard Yellow (#D2BD0A). oklch(78.7% 0.159 103.4), rgb(204, 189, 31).

Aa

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

About this color

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

Hue familyYellows
Lightnesslight (79%)
Chromavivid (0.159)
Temperaturewarm
Nearest nameMustard Yellow (#D2BD0A)
Black text10.86:1
White text1.93:1

Values

HEX#CCBD1F
RGBrgb(204, 189, 31)
HSLhsl(55, 74%, 46%)
OKLCHoklch(78.7% 0.159 103.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 #CCBD1F 1.93:1 Fails Lc -41.2 Non-text elements, placeholder text
Black text on #CCBD1F 10.86:1 AAA Lc 67.0 Content text, not long reading
#CCBD1F text on white 1.93:1 Fails Lc 36.9 Non-text elements, placeholder text
#CCBD1F text on black 10.86:1 AAA Lc -65.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

    #F8F6E6

    oklch(97% 0.021 101)

  2. Step 100

    100

    #EFECC9

    oklch(93.6% 0.046 103.2)

  3. Step 200

    200

    #E3DC98

    oklch(88.4% 0.087 103)

  4. Step 300

    300 (this color)

    #CCBD1F

    oklch(78.7% 0.159 103.4)

  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

#CCBD1F 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)#CFB6000.017
Deuteranopia (no green cones)#D4BE2F0.015
Tritanopia (no blue cones)#DCAFA10.145
Achromatopsia (no color)#BABABA0.159

Harmonies

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

Complementary

The opposite hue (180°).

  • #CCBD1F

    #CCBD1F

    oklch(78.7% 0.159 103.4)

  • #B0B0FF

    #B0B0FF

    oklch(78.7% 0.112 283.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CCBD1F

    #CCBD1F

    oklch(78.7% 0.159 103.4)

  • #F6A723

    #F6A723

    oklch(78.7% 0.159 73.2)

  • #8FCF5E

    #8FCF5E

    oklch(78.7% 0.16 133.4)

Open the analogous palette in the generator

Split complementary

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

  • #CCBD1F

    #CCBD1F

    oklch(78.7% 0.159 103.4)

  • #86BDFF

    #86BDFF

    oklch(78.6% 0.111 253.6)

  • #DC9AFF

    #DC9AFF

    oklch(78.6% 0.154 313.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CCBD1F

    #CCBD1F

    oklch(78.7% 0.159 103.4)

  • #00CDFE

    #00CDFE

    oklch(78.7% 0.147 223.2)

  • #FF8DD3

    #FF8DD3

    oklch(78.7% 0.159 343.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CCBD1F

    #CCBD1F

    oklch(78.7% 0.159 103.4)

  • #00D4D2

    #00D4D2

    oklch(78.7% 0.135 193.6)

  • #B0B0FF

    #B0B0FF

    oklch(78.7% 0.112 283.5)

  • #FF97A2

    #FF97A2

    oklch(78.7% 0.125 13.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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