#C7CB4A

Closest named color: Mustard Yellow (#D2BD0A). oklch(81.5% 0.149 111), rgb(199, 203, 74).

Aa

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

About this color

#C7CB4A is a light, vivid yellow. In OKLCH its lightness is 82%, its chroma 0.149 and its hue 111°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Mustard Yellow (#D2BD0A), ΔE 0.038 away. Black text reads best on it, at 12.06:1.

Hue familyYellows
Lightnesslight (82%)
Chromavivid (0.149)
Temperaturein between
Nearest nameMustard Yellow (#D2BD0A)
Black text12.06:1
White text1.73:1

Values

HEX#C7CB4A
RGBrgb(199, 203, 74)
HSLhsl(62, 55%, 54%)
OKLCHoklch(81.5% 0.149 111)

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 #C7CB4A 1.73:1 Fails Lc -35.4 Non-text elements, placeholder text
Black text on #C7CB4A 12.06:1 AAA Lc 72.3 Content text, not long reading
#C7CB4A text on white 1.73:1 Fails Lc 31.5 Non-text elements, placeholder text
#C7CB4A text on black 12.06:1 AAA Lc -71.2 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

    #F6F7E8

    oklch(97.1% 0.02 109.9)

  2. Step 100

    100

    #EAEDCC

    oklch(93.5% 0.044 111.5)

  3. Step 200

    200

    #DBDF9F

    oklch(88.5% 0.083 111)

  4. Step 300

    300 (this color)

    #C7CB4A

    oklch(81.5% 0.149 111)

  5. Step 400

    400

    #A6A800

    oklch(70.6% 0.155 110.6)

  6. Step 500

    500

    #8E9000

    oklch(63.1% 0.138 110.8)

  7. Step 600

    600

    #777900

    oklch(55.6% 0.122 110.9)

  8. Step 700

    700

    #646600

    oklch(49.2% 0.108 111.1)

  9. Step 800

    800

    #525300

    oklch(42.7% 0.094 110.6)

  10. Step 900

    900

    #444500

    oklch(37.7% 0.083 110.7)

  11. Step 950

    950

    #282900

    oklch(27.1% 0.06 111.2)

Export this scale for Tailwind in the Tailwind colors tool

#C7CB4A 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)#DAC2390.032
Deuteranopia (no green cones)#DBC6520.033
Tritanopia (no blue cones)#D4BFB00.133
Achromatopsia (no color)#C4C4C40.149

Harmonies

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

Complementary

The opposite hue (180°).

  • #C7CB4A

    #C7CB4A

    oklch(81.5% 0.149 111)

  • #C2B7FF

    #C2B7FF

    oklch(81.4% 0.101 291)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C7CB4A

    #C7CB4A

    oklch(81.5% 0.149 111)

  • #F3B73C

    #F3B73C

    oklch(81.4% 0.149 81.1)

  • #8ADA7D

    #8ADA7D

    oklch(81.5% 0.149 141)

Open the analogous palette in the generator

Split complementary

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

  • #C7CB4A

    #C7CB4A

    oklch(81.5% 0.149 111)

  • #A1C3FF

    #A1C3FF

    oklch(81.4% 0.093 261.6)

  • #EEA1FD

    #EEA1FD

    oklch(81.5% 0.149 320.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C7CB4A

    #C7CB4A

    oklch(81.5% 0.149 111)

  • #6CD0FF

    #6CD0FF

    oklch(81.5% 0.115 230.8)

  • #FFA1CC

    #FFA1CC

    oklch(81.5% 0.122 351.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C7CB4A

    #C7CB4A

    oklch(81.5% 0.149 111)

  • #00DCE7

    #00DCE7

    oklch(81.4% 0.138 201.2)

  • #C2B7FF

    #C2B7FF

    oklch(81.4% 0.101 291)

  • #FFA7A5

    #FFA7A5

    oklch(81.4% 0.105 21)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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