#BFAF08

Closest named color: Muddy Yellow (#BFAC05). oklch(74.4% 0.155 102.8), rgb(191, 175, 8).

Aa

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

About this color

#BFAF08 is a medium-light, vivid yellow. In OKLCH its lightness is 74%, its chroma 0.155 and its hue 103°. Its hue sits on the warm side of the wheel. The nearest named color is Muddy Yellow (#BFAC05), ΔE 0.008 away. Black text reads best on it, at 9.35:1.

Hue familyYellows
Lightnessmedium-light (74%)
Chromavivid (0.155)
Temperaturewarm
Nearest nameMuddy Yellow (#BFAC05)
Black text9.35:1
White text2.24:1

Values

HEX#BFAF08
RGBrgb(191, 175, 8)
HSLhsl(55, 92%, 39%)
OKLCHoklch(74.4% 0.155 102.8)

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 #BFAF08 2.24:1 Fails Lc -48.9 Large or bold text, headings
Black text on #BFAF08 9.35:1 AAA Lc 59.9 Large or bold text, headings
#BFAF08 text on white 2.24:1 Fails Lc 44.1 Non-text elements, placeholder text
#BFAF08 text on black 9.35:1 AAA Lc -58.1 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

    #F7F6EC

    oklch(97.1% 0.013 102)

  2. Step 100

    100

    #EDEBD6

    oklch(93.6% 0.028 102.5)

  3. Step 200

    200

    #DFDBB3

    oklch(88.4% 0.053 102.7)

  4. Step 300

    300

    #CCC478

    oklch(81% 0.098 103.1)

  5. Step 400

    400 (this color)

    #BFAF08

    oklch(74.4% 0.155 102.8)

  6. Step 500

    500

    #998C00

    oklch(63.2% 0.133 102.9)

  7. Step 600

    600

    #807500

    oklch(55.5% 0.117 103)

  8. Step 700

    700

    #6C6200

    oklch(49% 0.103 102.5)

  9. Step 800

    800

    #585000

    oklch(42.6% 0.089 102.9)

  10. Step 900

    900

    #4A4300

    oklch(37.8% 0.079 102.7)

  11. Step 950

    950

    #2C2700

    oklch(27% 0.057 102.1)

Export this scale for Tailwind in the Tailwind colors tool

#BFAF08 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)#C0A9000.015
Deuteranopia (no green cones)#C5B0200.012
Tritanopia (no blue cones)#CFA1950.144
Achromatopsia (no color)#ADADAD0.155

Harmonies

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

Complementary

The opposite hue (180°).

  • #BFAF08

    #BFAF08

    oklch(74.4% 0.155 102.8)

  • #A0A0FF

    #A0A0FF

    oklch(74.4% 0.136 282.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BFAF08

    #BFAF08

    oklch(74.4% 0.155 102.8)

  • #E79A13

    #E79A13

    oklch(74.5% 0.155 72.7)

  • #85C052

    #85C052

    oklch(74.4% 0.155 132.6)

Open the analogous palette in the generator

Split complementary

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

  • #BFAF08

    #BFAF08

    oklch(74.4% 0.155 102.8)

  • #6AB0FF

    #6AB0FF

    oklch(74.4% 0.135 252.7)

  • #CE8DF1

    #CE8DF1

    oklch(74.5% 0.154 313)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BFAF08

    #BFAF08

    oklch(74.4% 0.155 102.8)

  • #00BEEB

    #00BEEB

    oklch(74.4% 0.138 222.9)

  • #EE81C6

    #EE81C6

    oklch(74.4% 0.156 342.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BFAF08

    #BFAF08

    oklch(74.4% 0.155 102.8)

  • #00C5C2

    #00C5C2

    oklch(74.4% 0.128 192.8)

  • #A0A0FF

    #A0A0FF

    oklch(74.4% 0.136 282.6)

  • #FE7F90

    #FE7F90

    oklch(74.5% 0.155 13.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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