#C7BE2A

Closest named color: Mustard Yellow (#D2BD0A). oklch(78.5% 0.156 105.8), rgb(199, 190, 42).

Aa

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

About this color

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

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

Values

HEX#C7BE2A
RGBrgb(199, 190, 42)
HSLhsl(57, 65%, 47%)
OKLCHoklch(78.5% 0.156 105.8)

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 #C7BE2A 1.93:1 Fails Lc -41.4 Non-text elements, placeholder text
Black text on #C7BE2A 10.82:1 AAA Lc 66.8 Content text, not long reading
#C7BE2A text on white 1.93:1 Fails Lc 37.1 Non-text elements, placeholder text
#C7BE2A text on black 10.82:1 AAA Lc -65.4 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

    #F7F7E7

    oklch(97.2% 0.021 106.8)

  2. Step 100

    100

    #EDECCA

    oklch(93.5% 0.045 105.8)

  3. Step 200

    200

    #E0DD9A

    oklch(88.4% 0.086 105.9)

  4. Step 300

    300 (this color)

    #C7BE2A

    oklch(78.5% 0.156 105.8)

  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

    #484400

    oklch(37.8% 0.081 105.9)

  11. Step 950

    950

    #2A2800

    oklch(27% 0.058 106.8)

Export this scale for Tailwind in the Tailwind colors tool

#C7BE2A 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)#CFB7000.019
Deuteranopia (no green cones)#D2BD370.019
Tritanopia (no blue cones)#D6B1A30.142
Achromatopsia (no color)#BABABA0.156

Harmonies

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

Complementary

The opposite hue (180°).

  • #C7BE2A

    #C7BE2A

    oklch(78.5% 0.156 105.8)

  • #B2AEFF

    #B2AEFF

    oklch(78.5% 0.114 285.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C7BE2A

    #C7BE2A

    oklch(78.5% 0.156 105.8)

  • #F1A925

    #F1A925

    oklch(78.5% 0.156 76.1)

  • #8ACF65

    #8ACF65

    oklch(78.5% 0.156 135.8)

Open the analogous palette in the generator

Split complementary

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

  • #C7BE2A

    #C7BE2A

    oklch(78.5% 0.156 105.8)

  • #89BCFF

    #89BCFF

    oklch(78.5% 0.11 255.5)

  • #DF98FC

    #DF98FC

    oklch(78.5% 0.156 315.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C7BE2A

    #C7BE2A

    oklch(78.5% 0.156 105.8)

  • #20CBFF

    #20CBFF

    oklch(78.5% 0.145 225.7)

  • #FF8DCE

    #FF8DCE

    oklch(78.5% 0.156 346)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C7BE2A

    #C7BE2A

    oklch(78.5% 0.156 105.8)

  • #00D3D4

    #00D3D4

    oklch(78.5% 0.134 195.4)

  • #B2AEFF

    #B2AEFF

    oklch(78.5% 0.114 285.7)

  • #FF969E

    #FF969E

    oklch(78.5% 0.126 15.5)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #C7BE2A.

Similar named colors

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

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