#C7BE1A

Closest named color: Mustard Yellow (#D2BD0A). oklch(78.4% 0.162 106), rgb(199, 190, 26).

Aa

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

About this color

#C7BE1A is a light, vivid yellow. In OKLCH its lightness is 78%, its chroma 0.162 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.80:1.

Hue familyYellows
Lightnesslight (78%)
Chromavivid (0.162)
Temperaturewarm
Nearest nameMustard Yellow (#D2BD0A)
Black text10.80:1
White text1.94:1

Values

HEX#C7BE1A
RGBrgb(199, 190, 26)
HSLhsl(57, 77%, 44%)
OKLCHoklch(78.4% 0.162 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 #C7BE1A 1.94:1 Fails Lc -41.5 Non-text elements, placeholder text
Black text on #C7BE1A 10.80:1 AAA Lc 66.8 Content text, not long reading
#C7BE1A text on white 1.94:1 Fails Lc 37.1 Non-text elements, placeholder text
#C7BE1A text on black 10.80:1 AAA Lc -65.3 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

    #F7F7E6

    oklch(97.2% 0.022 106.8)

  2. Step 100

    100

    #EDECC9

    oklch(93.5% 0.046 105.9)

  3. Step 200

    200

    #E0DD97

    oklch(88.4% 0.09 106)

  4. Step 300

    300 (this color)

    #C7BE1A

    oklch(78.4% 0.162 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

#C7BE1A 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)#D3BD2C0.021
Tritanopia (no blue cones)#D6B0A20.148
Achromatopsia (no color)#BABABA0.162

Harmonies

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

Complementary

The opposite hue (180°).

  • #C7BE1A

    #C7BE1A

    oklch(78.4% 0.162 106)

  • #B2AEFF

    #B2AEFF

    oklch(78.5% 0.114 285.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C7BE1A

    #C7BE1A

    oklch(78.4% 0.162 106)

  • #F3A80F

    #F3A80F

    oklch(78.4% 0.162 76.2)

  • #87D061

    #87D061

    oklch(78.5% 0.163 136)

Open the analogous palette in the generator

Split complementary

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

  • #C7BE1A

    #C7BE1A

    oklch(78.4% 0.162 106)

  • #89BBFF

    #89BBFF

    oklch(78.3% 0.111 256.3)

  • #E196FE

    #E196FE

    oklch(78.5% 0.162 316.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C7BE1A

    #C7BE1A

    oklch(78.4% 0.162 106)

  • #21CAFF

    #21CAFF

    oklch(78.3% 0.145 226.3)

  • #FF8CCE

    #FF8CCE

    oklch(78.4% 0.158 345.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C7BE1A

    #C7BE1A

    oklch(78.4% 0.162 106)

  • #00D2D5

    #00D2D5

    oklch(78.3% 0.133 196.6)

  • #B2AEFF

    #B2AEFF

    oklch(78.5% 0.114 285.7)

  • #FF969D

    #FF969D

    oklch(78.5% 0.126 16.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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