#C2BB42

Closest named color: Olive Yellow (#C2B709). oklch(77.6% 0.14 106), rgb(194, 187, 66).

Aa

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

About this color

#C2BB42 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 78%, its chroma 0.140 and its hue 106°. Its hue sits on the warm side of the wheel. The nearest named color is Olive Yellow (#C2B709), ΔE 0.024 away. Black text reads best on it, at 10.48:1.

Hue familyYellows
Lightnessmedium-light (78%)
Chromamoderately saturated (0.140)
Temperaturewarm
Nearest nameOlive Yellow (#C2B709)
Black text10.48:1
White text2.00:1

Values

HEX#C2BB42
RGBrgb(194, 187, 66)
HSLhsl(57, 51%, 51%)
OKLCHoklch(77.6% 0.14 106)

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 #C2BB42 2.00:1 Fails Lc -43.2 Non-text elements, placeholder text
Black text on #C2BB42 10.48:1 AAA Lc 65.2 Content text, not long reading
#C2BB42 text on white 2.00:1 Fails Lc 38.7 Non-text elements, placeholder text
#C2BB42 text on black 10.48:1 AAA Lc -63.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

    #F7F7E8

    oklch(97.2% 0.02 106.8)

  2. Step 100

    100

    #EDECCD

    oklch(93.6% 0.041 105.6)

  3. Step 200

    200

    #DFDDA1

    oklch(88.5% 0.078 106.3)

  4. Step 300

    300 (this color)

    #C2BB42

    oklch(77.6% 0.14 106)

  5. Step 400

    400

    #AEA500

    oklch(70.7% 0.151 105.7)

  6. Step 500

    500

    #958D00

    oklch(63% 0.134 105.6)

  7. Step 600

    600

    #7D7700

    oklch(55.7% 0.119 106.2)

  8. Step 700

    700

    #696400

    oklch(49.2% 0.105 106.3)

  9. Step 800

    800

    #565100

    oklch(42.6% 0.091 105.5)

  10. Step 900

    900

    #474400

    oklch(37.7% 0.081 106.8)

  11. Step 950

    950

    #2A2800

    oklch(27% 0.058 106.8)

Export this scale for Tailwind in the Tailwind colors tool

#C2BB42 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)#CBB4320.020
Deuteranopia (no green cones)#CDB94A0.019
Tritanopia (no blue cones)#D0AFA20.127
Achromatopsia (no color)#B7B7B70.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #C2BB42

    #C2BB42

    oklch(77.6% 0.14 106)

  • #AFAAFF

    #AFAAFF

    oklch(77.5% 0.12 285.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C2BB42

    #C2BB42

    oklch(77.6% 0.14 106)

  • #E9A83E

    #E9A83E

    oklch(77.5% 0.14 75.7)

  • #8CCA6D

    #8CCA6D

    oklch(77.5% 0.14 136)

Open the analogous palette in the generator

Split complementary

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

  • #C2BB42

    #C2BB42

    oklch(77.6% 0.14 106)

  • #84B9FF

    #84B9FF

    oklch(77.6% 0.115 255.7)

  • #D999F2

    #D999F2

    oklch(77.6% 0.14 316.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C2BB42

    #C2BB42

    oklch(77.6% 0.14 106)

  • #2BC7FA

    #2BC7FA

    oklch(77.5% 0.14 226.3)

  • #F590C9

    #F590C9

    oklch(77.6% 0.139 345.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C2BB42

    #C2BB42

    oklch(77.6% 0.14 106)

  • #00CFD1

    #00CFD1

    oklch(77.4% 0.132 196)

  • #AFAAFF

    #AFAAFF

    oklch(77.5% 0.12 285.9)

  • #FF9199

    #FF9199

    oklch(77.6% 0.133 16)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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