#B3AF71

Closest named color: Dark Khaki (#BDB76B). oklch(74.3% 0.082 105.1), rgb(179, 175, 113).

Aa

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

About this color

#B3AF71 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 74%, its chroma 0.082 and its hue 105°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Khaki (#BDB76B), ΔE 0.029 away. Black text reads best on it, at 9.28:1.

Hue familyYellows
Lightnessmedium-light (74%)
Chromamoderately saturated (0.082)
Temperaturewarm
Nearest nameDark Khaki (#BDB76B)
Black text9.28:1
White text2.26:1

Values

HEX#B3AF71
RGBrgb(179, 175, 113)
HSLhsl(56, 30%, 57%)
OKLCHoklch(74.3% 0.082 105.1)

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 #B3AF71 2.26:1 Fails Lc -49.4 Large or bold text, headings
Black text on #B3AF71 9.28:1 AAA Lc 59.4 Large or bold text, headings
#B3AF71 text on white 2.26:1 Fails Lc 44.6 Non-text elements, placeholder text
#B3AF71 text on black 9.28:1 AAA Lc -57.6 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

    #F6F6F1

    oklch(97.2% 0.007 106.5)

  2. Step 100

    100

    #EBEBDF

    oklch(93.7% 0.016 106.7)

  3. Step 200

    200

    #DBDBC5

    oklch(88.6% 0.029 107)

  4. Step 300

    300

    #C5C39D

    oklch(80.9% 0.051 105)

  5. Step 400

    400 (this color)

    #B3AF71

    oklch(74.3% 0.082 105.1)

  6. Step 500

    500

    #938D39

    oklch(63.1% 0.106 105.2)

  7. Step 600

    600

    #7E760D

    oklch(55.6% 0.114 104.6)

  8. Step 700

    700

    #6A6300

    oklch(49.1% 0.104 104.8)

  9. Step 800

    800

    #565105

    oklch(42.6% 0.088 105.3)

  10. Step 900

    900

    #474311

    oklch(37.6% 0.068 104.7)

  11. Step 950

    950

    #2A280C

    oklch(27.2% 0.044 105.2)

Export this scale for Tailwind in the Tailwind colors tool

#B3AF71 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)#B9AB6C0.012
Deuteranopia (no green cones)#BBAE740.013
Tritanopia (no blue cones)#BCA79F0.074
Achromatopsia (no color)#ACACAC0.082

Harmonies

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

Complementary

The opposite hue (180°).

  • #B3AF71

    #B3AF71

    oklch(74.3% 0.082 105.1)

  • #A6A5DE

    #A6A5DE

    oklch(74.3% 0.082 285)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B3AF71

    #B3AF71

    oklch(74.3% 0.082 105.1)

  • #CAA570

    #CAA570

    oklch(74.3% 0.082 75.9)

  • #95B883

    #95B883

    oklch(74.3% 0.083 135.2)

Open the analogous palette in the generator

Split complementary

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

  • #B3AF71

    #B3AF71

    oklch(74.3% 0.082 105.1)

  • #89AEDF

    #89AEDF

    oklch(74.2% 0.082 255.6)

  • #C09CD0

    #C09CD0

    oklch(74.3% 0.083 315.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B3AF71

    #B3AF71

    oklch(74.3% 0.082 105.1)

  • #6FB7D3

    #6FB7D3

    oklch(74.3% 0.083 225)

  • #D297B8

    #D297B8

    oklch(74.3% 0.083 344.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B3AF71

    #B3AF71

    oklch(74.3% 0.082 105.1)

  • #68BCBC

    #68BCBC

    oklch(74.3% 0.082 195.5)

  • #A6A5DE

    #A6A5DE

    oklch(74.3% 0.082 285)

  • #DB979B

    #DB979B

    oklch(74.4% 0.082 15.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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