#B2BF34

Closest named color: Pea (#A4BF20). oklch(77% 0.157 114.8), rgb(178, 191, 52).

Aa

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

About this color

#B2BF34 is a medium-light, vivid yellow. In OKLCH its lightness is 77%, its chroma 0.157 and its hue 115°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pea (#A4BF20), ΔE 0.023 away. Black text reads best on it, at 10.39:1.

Hue familyYellows
Lightnessmedium-light (77%)
Chromavivid (0.157)
Temperaturein between
Nearest namePea (#A4BF20)
Black text10.39:1
White text2.02:1

Values

HEX#B2BF34
RGBrgb(178, 191, 52)
HSLhsl(66, 57%, 48%)
OKLCHoklch(77% 0.157 114.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 #B2BF34 2.02:1 Fails Lc -43.6 Non-text elements, placeholder text
Black text on #B2BF34 10.39:1 AAA Lc 64.8 Content text, not long reading
#B2BF34 text on white 2.02:1 Fails Lc 39.1 Non-text elements, placeholder text
#B2BF34 text on black 10.39:1 AAA Lc -63.3 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

    #F5F7E8

    oklch(97.1% 0.02 112.9)

  2. Step 100

    100

    #E8EECC

    oklch(93.6% 0.045 115.4)

  3. Step 200

    200

    #D7E09E

    oklch(88.4% 0.086 114.5)

  4. Step 300

    300 (this color)

    #B2BF34

    oklch(77% 0.157 114.8)

  5. Step 400

    400

    #9FAB00

    oklch(70.7% 0.16 114.7)

  6. Step 500

    500

    #889200

    oklch(63% 0.142 114.5)

  7. Step 600

    600

    #727B00

    oklch(55.6% 0.126 114.8)

  8. Step 700

    700

    #5F6700

    oklch(49% 0.111 115)

  9. Step 800

    800

    #4E5400

    oklch(42.6% 0.096 114.4)

  10. Step 900

    900

    #414600

    oklch(37.7% 0.085 114.3)

  11. Step 950

    950

    #262A00

    oklch(27.2% 0.062 115.2)

Export this scale for Tailwind in the Tailwind colors tool

#B2BF34 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)#CDB5180.042
Deuteranopia (no green cones)#CCB83F0.043
Tritanopia (no blue cones)#BEB4A40.137
Achromatopsia (no color)#B6B6B60.157

Harmonies

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

Complementary

The opposite hue (180°).

  • #B2BF34

    #B2BF34

    oklch(77% 0.157 114.8)

  • #BAA3FF

    #BAA3FF

    oklch(77.1% 0.131 294.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B2BF34

    #B2BF34

    oklch(77% 0.157 114.8)

  • #E2AA08

    #E2AA08

    oklch(76.9% 0.157 84.5)

  • #6ECE72

    #6ECE72

    oklch(77% 0.157 144.7)

Open the analogous palette in the generator

Split complementary

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

  • #B2BF34

    #B2BF34

    oklch(77% 0.157 114.8)

  • #8FB3FF

    #8FB3FF

    oklch(77% 0.116 264.4)

  • #E58FEB

    #E58FEB

    oklch(77% 0.156 324.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B2BF34

    #B2BF34

    oklch(77% 0.157 114.8)

  • #47C1FF

    #47C1FF

    oklch(76.9% 0.138 235.1)

  • #FF87B9

    #FF87B9

    oklch(77% 0.155 355)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B2BF34

    #B2BF34

    oklch(77% 0.157 114.8)

  • #00CCDC

    #00CCDC

    oklch(77.1% 0.132 204.8)

  • #BAA3FF

    #BAA3FF

    oklch(77.1% 0.131 294.6)

  • #FF9088

    #FF9088

    oklch(77% 0.135 25)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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