#CABC2D

Closest named color: Mustard Yellow (#D2BD0A). oklch(78.3% 0.153 103.5), rgb(202, 188, 45).

Aa

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

About this color

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

Hue familyYellows
Lightnesslight (78%)
Chromavivid (0.153)
Temperaturewarm
Nearest nameMustard Yellow (#D2BD0A)
Black text10.74:1
White text1.95:1

Values

HEX#CABC2D
RGBrgb(202, 188, 45)
HSLhsl(55, 64%, 48%)
OKLCHoklch(78.3% 0.153 103.5)

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 #CABC2D 1.95:1 Fails Lc -41.8 Non-text elements, placeholder text
Black text on #CABC2D 10.74:1 AAA Lc 66.4 Content text, not long reading
#CABC2D text on white 1.95:1 Fails Lc 37.5 Non-text elements, placeholder text
#CABC2D text on black 10.74:1 AAA Lc -65.0 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

    #F7F6E7

    oklch(97% 0.02 103.7)

  2. Step 100

    100

    #EEECCA

    oklch(93.6% 0.045 104.5)

  3. Step 200

    200

    #E2DC9B

    oklch(88.4% 0.084 103.5)

  4. Step 300

    300 (this color)

    #CABC2D

    oklch(78.3% 0.153 103.5)

  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

#CABC2D 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)#CEB6040.016
Deuteranopia (no green cones)#D2BC380.015
Tritanopia (no blue cones)#DAAEA10.140
Achromatopsia (no color)#B9B9B90.153

Harmonies

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

Complementary

The opposite hue (180°).

  • #CABC2D

    #CABC2D

    oklch(78.3% 0.153 103.5)

  • #AFAFFF

    #AFAFFF

    oklch(78.4% 0.113 283.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CABC2D

    #CABC2D

    oklch(78.3% 0.153 103.5)

  • #F2A72F

    #F2A72F

    oklch(78.3% 0.153 73.5)

  • #90CD62

    #90CD62

    oklch(78.3% 0.153 133.4)

Open the analogous palette in the generator

Split complementary

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

  • #CABC2D

    #CABC2D

    oklch(78.3% 0.153 103.5)

  • #84BCFF

    #84BCFF

    oklch(78.3% 0.113 253.5)

  • #DB99FD

    #DB99FD

    oklch(78.3% 0.153 313.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CABC2D

    #CABC2D

    oklch(78.3% 0.153 103.5)

  • #00CBFD

    #00CBFD

    oklch(78.2% 0.147 223.9)

  • #FB8ED1

    #FB8ED1

    oklch(78.3% 0.153 343.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CABC2D

    #CABC2D

    oklch(78.3% 0.153 103.5)

  • #00D3D1

    #00D3D1

    oklch(78.4% 0.134 193.6)

  • #AFAFFF

    #AFAFFF

    oklch(78.4% 0.113 283.5)

  • #FF95A0

    #FF95A0

    oklch(78.4% 0.128 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 #CABC2D, closest first.

Similar named colors

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

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