#B7A643

Closest named color: Ocher (#BF9B0C). oklch(72.1% 0.12 99.6), rgb(183, 166, 67).

Aa

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

About this color

#B7A643 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 72%, its chroma 0.120 and its hue 100°. Its hue sits on the warm side of the wheel. The nearest named color is Ocher (#BF9B0C), ΔE 0.033 away. Black text reads best on it, at 8.54:1.

Hue familyYellows
Lightnessmedium-light (72%)
Chromamoderately saturated (0.120)
Temperaturewarm
Nearest nameOcher (#BF9B0C)
Black text8.54:1
White text2.45:1

Values

HEX#B7A643
RGBrgb(183, 166, 67)
HSLhsl(51, 46%, 49%)
OKLCHoklch(72.1% 0.12 99.6)

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 #B7A643 2.45:1 Fails Lc -53.2 Large or bold text, headings
Black text on #B7A643 8.54:1 AAA Lc 55.8 Large or bold text, headings
#B7A643 text on white 2.45:1 Fails Lc 48.2 Large or bold text, headings
#B7A643 text on black 8.54:1 AAA Lc -53.8 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

    #F7F6EE

    oklch(97.2% 0.011 100.8)

  2. Step 100

    100

    #EDEADA

    oklch(93.5% 0.021 98.1)

  3. Step 200

    200

    #DFDABB

    oklch(88.4% 0.042 99.6)

  4. Step 300

    300

    #CCC28A

    oklch(80.9% 0.075 99.2)

  5. Step 400

    400 (this color)

    #B7A643

    oklch(72.1% 0.12 99.6)

  6. Step 500

    500

    #9D8A00

    oklch(63.1% 0.131 99.5)

  7. Step 600

    600

    #847400

    oklch(55.7% 0.116 99.7)

  8. Step 700

    700

    #6F6100

    oklch(49.1% 0.102 99.4)

  9. Step 800

    800

    #5B4F00

    oklch(42.7% 0.088 99.2)

  10. Step 900

    900

    #4C4200

    oklch(37.8% 0.078 99.5)

  11. Step 950

    950

    #2D2700

    oklch(27.1% 0.056 100.5)

Export this scale for Tailwind in the Tailwind colors tool

#B7A643 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)#B5A2370.013
Deuteranopia (no green cones)#BAA8480.008
Tritanopia (no blue cones)#C59B910.110
Achromatopsia (no color)#A5A5A50.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #B7A643

    #B7A643

    oklch(72.1% 0.12 99.6)

  • #969CEF

    #969CEF

    oklch(72.1% 0.12 279.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B7A643

    #B7A643

    oklch(72.1% 0.12 99.6)

  • #D59649

    #D59649

    oklch(72% 0.12 69.2)

  • #8CB460

    #8CB460

    oklch(72.1% 0.121 129.9)

Open the analogous palette in the generator

Split complementary

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

  • #B7A643

    #B7A643

    oklch(72.1% 0.12 99.6)

  • #66AAED

    #66AAED

    oklch(72.1% 0.12 249.5)

  • #BB8FDD

    #BB8FDD

    oklch(72% 0.12 309.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B7A643

    #B7A643

    oklch(72.1% 0.12 99.6)

  • #2EB6D8

    #2EB6D8

    oklch(72.1% 0.12 219.3)

  • #D686BD

    #D686BD

    oklch(72% 0.12 339.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B7A643

    #B7A643

    oklch(72.1% 0.12 99.6)

  • #1DBCB5

    #1DBCB5

    oklch(72% 0.12 190)

  • #969CEF

    #969CEF

    oklch(72.1% 0.12 279.8)

  • #E58494

    #E58494

    oklch(72.2% 0.12 9.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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