#B4A71E

Closest named color: Muddy Yellow (#BFAC05). oklch(71.8% 0.144 103.5), rgb(180, 167, 30).

Aa

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

About this color

#B4A71E is a medium-light, vivid yellow. In OKLCH its lightness is 72%, its chroma 0.144 and its hue 104°. Its hue sits on the warm side of the wheel. The nearest named color is Muddy Yellow (#BFAC05), ΔE 0.023 away. Black text reads best on it, at 8.48:1.

Hue familyYellows
Lightnessmedium-light (72%)
Chromavivid (0.144)
Temperaturewarm
Nearest nameMuddy Yellow (#BFAC05)
Black text8.48:1
White text2.47:1

Values

HEX#B4A71E
RGBrgb(180, 167, 30)
HSLhsl(55, 71%, 41%)
OKLCHoklch(71.8% 0.144 103.5)

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 #B4A71E 2.47:1 Fails Lc -53.5 Large or bold text, headings
Black text on #B4A71E 8.48:1 AAA Lc 55.5 Large or bold text, headings
#B4A71E text on white 2.47:1 Fails Lc 48.5 Large or bold text, headings
#B4A71E text on black 8.48:1 AAA Lc -53.5 Large or bold text, headings

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 400.

  1. Step 50

    50

    #F7F6ED

    oklch(97.1% 0.012 101.5)

  2. Step 100

    100

    #ECEBD7

    oklch(93.5% 0.027 104.6)

  3. Step 200

    200

    #DEDBB6

    oklch(88.4% 0.049 103.5)

  4. Step 300

    300

    #CAC47F

    oklch(80.9% 0.09 103.9)

  5. Step 400

    400 (this color)

    #B4A71E

    oklch(71.8% 0.144 103.5)

  6. Step 500

    500

    #988C00

    oklch(63.1% 0.133 103.5)

  7. Step 600

    600

    #807600

    oklch(55.7% 0.117 103.6)

  8. Step 700

    700

    #6B6300

    oklch(49.2% 0.104 104)

  9. Step 800

    800

    #585100

    oklch(42.8% 0.09 103.8)

  10. Step 900

    900

    #494300

    oklch(37.7% 0.08 103.8)

  11. Step 950

    950

    #2B2700

    oklch(26.9% 0.057 103.7)

Export this scale for Tailwind in the Tailwind colors tool

#B4A71E 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)#B7A1000.015
Deuteranopia (no green cones)#BBA72B0.014
Tritanopia (no blue cones)#C29B8F0.132
Achromatopsia (no color)#A5A5A50.144

Harmonies

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

Complementary

The opposite hue (180°).

  • #B4A71E

    #B4A71E

    oklch(71.8% 0.144 103.5)

  • #9996FA

    #9996FA

    oklch(71.8% 0.144 283.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B4A71E

    #B4A71E

    oklch(71.8% 0.144 103.5)

  • #D99420

    #D99420

    oklch(71.8% 0.144 73.7)

  • #7EB754

    #7EB754

    oklch(71.8% 0.144 133.6)

Open the analogous palette in the generator

Split complementary

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

  • #B4A71E

    #B4A71E

    oklch(71.8% 0.144 103.5)

  • #5EA7FB

    #5EA7FB

    oklch(71.8% 0.144 253.3)

  • #C487E3

    #C487E3

    oklch(71.8% 0.144 313.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B4A71E

    #B4A71E

    oklch(71.8% 0.144 103.5)

  • #00B5E1

    #00B5E1

    oklch(71.8% 0.134 223.4)

  • #E17DBB

    #E17DBB

    oklch(71.8% 0.144 343.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B4A71E

    #B4A71E

    oklch(71.8% 0.144 103.5)

  • #00BBBA

    #00BBBA

    oklch(71.7% 0.123 194.1)

  • #9996FA

    #9996FA

    oklch(71.8% 0.144 283.5)

  • #EF7A89

    #EF7A89

    oklch(71.6% 0.144 13.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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