#C7BF2B

Closest named color: Mustard Yellow (#D2BD0A). oklch(78.7% 0.157 106.2), rgb(199, 191, 43).

Aa

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

About this color

#C7BF2B is a light, vivid yellow. In OKLCH its lightness is 79%, its chroma 0.157 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.91:1.

Hue familyYellows
Lightnesslight (79%)
Chromavivid (0.157)
Temperaturewarm
Nearest nameMustard Yellow (#D2BD0A)
Black text10.91:1
White text1.92:1

Values

HEX#C7BF2B
RGBrgb(199, 191, 43)
HSLhsl(57, 64%, 47%)
OKLCHoklch(78.7% 0.157 106.2)

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 #C7BF2B 1.92:1 Fails Lc -41.0 Non-text elements, placeholder text
Black text on #C7BF2B 10.91:1 AAA Lc 67.2 Content text, not long reading
#C7BF2B text on white 1.92:1 Fails Lc 36.7 Non-text elements, placeholder text
#C7BF2B text on black 10.91:1 AAA Lc -65.8 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)

    #C7BF2B

    oklch(78.7% 0.157 106.2)

  5. Step 400

    400

    #ADA500

    oklch(70.6% 0.151 106.2)

  6. Step 500

    500

    #948E00

    oklch(63.1% 0.135 106.7)

  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

#C7BF2B 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)#D0B8000.020
Deuteranopia (no green cones)#D3BD380.021
Tritanopia (no blue cones)#D6B2A40.143
Achromatopsia (no color)#BBBBBB0.157

Harmonies

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

Complementary

The opposite hue (180°).

  • #C7BF2B

    #C7BF2B

    oklch(78.7% 0.157 106.2)

  • #B3AFFF

    #B3AFFF

    oklch(78.7% 0.113 285.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C7BF2B

    #C7BF2B

    oklch(78.7% 0.157 106.2)

  • #F2AA24

    #F2AA24

    oklch(78.8% 0.157 76.4)

  • #89D066

    #89D066

    oklch(78.7% 0.157 136.3)

Open the analogous palette in the generator

Split complementary

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

  • #C7BF2B

    #C7BF2B

    oklch(78.7% 0.157 106.2)

  • #8BBCFF

    #8BBCFF

    oklch(78.7% 0.109 256.4)

  • #E198FC

    #E198FC

    oklch(78.7% 0.157 316.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C7BF2B

    #C7BF2B

    oklch(78.7% 0.157 106.2)

  • #2CCBFF

    #2CCBFF

    oklch(78.7% 0.142 226.3)

  • #FF8ECE

    #FF8ECE

    oklch(78.7% 0.155 346.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C7BF2B

    #C7BF2B

    oklch(78.7% 0.157 106.2)

  • #00D3D6

    #00D3D6

    oklch(78.6% 0.134 196.6)

  • #B3AFFF

    #B3AFFF

    oklch(78.7% 0.113 285.8)

  • #FF979E

    #FF979E

    oklch(78.6% 0.125 16)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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