#CABC27

Closest named color: Mustard Yellow (#D2BD0A). oklch(78.3% 0.156 103.6), rgb(202, 188, 39).

Aa

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

About this color

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

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

Values

HEX#CABC27
RGBrgb(202, 188, 39)
HSLhsl(55, 68%, 47%)
OKLCHoklch(78.3% 0.156 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 #CABC27 1.95:1 Fails Lc -41.9 Non-text elements, placeholder text
Black text on #CABC27 10.73:1 AAA Lc 66.4 Content text, not long reading
#CABC27 text on white 1.95:1 Fails Lc 37.5 Non-text elements, placeholder text
#CABC27 text on black 10.73:1 AAA Lc -64.9 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

    #EFECCA

    oklch(93.7% 0.045 103.1)

  3. Step 200

    200

    #E2DC99

    oklch(88.4% 0.086 103.7)

  4. Step 300

    300 (this color)

    #CABC27

    oklch(78.3% 0.156 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

#CABC27 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)#CEB6000.016
Deuteranopia (no green cones)#D2BC340.015
Tritanopia (no blue cones)#DAAEA10.143
Achromatopsia (no color)#B9B9B90.156

Harmonies

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

Complementary

The opposite hue (180°).

  • #CABC27

    #CABC27

    oklch(78.3% 0.156 103.6)

  • #AFAFFF

    #AFAFFF

    oklch(78.4% 0.113 283.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CABC27

    #CABC27

    oklch(78.3% 0.156 103.6)

  • #F3A729

    #F3A729

    oklch(78.3% 0.156 73.8)

  • #8FCD60

    #8FCD60

    oklch(78.2% 0.155 133.4)

Open the analogous palette in the generator

Split complementary

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

  • #CABC27

    #CABC27

    oklch(78.3% 0.156 103.6)

  • #84BCFF

    #84BCFF

    oklch(78.3% 0.113 253.5)

  • #DC98FE

    #DC98FE

    oklch(78.3% 0.156 313.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CABC27

    #CABC27

    oklch(78.3% 0.156 103.6)

  • #00CBFD

    #00CBFD

    oklch(78.2% 0.147 223.9)

  • #FC8DD1

    #FC8DD1

    oklch(78.3% 0.155 343.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CABC27

    #CABC27

    oklch(78.3% 0.156 103.6)

  • #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 #CABC27, closest first.

Similar named colors

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

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