#B2BB1B

Closest named color: Pea (#A4BF20). oklch(76% 0.164 113.2), rgb(178, 187, 27).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (76%)
Chromavivid (0.164)
Temperaturein between
Nearest namePea (#A4BF20)
Black text10.01:1
White text2.09:1

Values

HEX#B2BB1B
RGBrgb(178, 187, 27)
HSLhsl(63, 75%, 42%)
OKLCHoklch(76% 0.164 113.2)

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 #B2BB1B 2.09:1 Fails Lc -45.5 Large or bold text, headings
Black text on #B2BB1B 10.01:1 AAA Lc 63.1 Content text, not long reading
#B2BB1B text on white 2.09:1 Fails Lc 40.9 Non-text elements, placeholder text
#B2BB1B text on black 10.01:1 AAA Lc -61.4 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

    #F5F7E7

    oklch(97% 0.021 112.6)

  2. Step 100

    100

    #E9EECA

    oklch(93.6% 0.048 113.7)

  3. Step 200

    200

    #D9E09A

    oklch(88.5% 0.091 112.9)

  4. Step 300

    300 (this color)

    #B2BB1B

    oklch(76% 0.164 113.2)

  5. Step 400

    400

    #A2AA00

    oklch(70.8% 0.158 113.1)

  6. Step 500

    500

    #8A9200

    oklch(63.2% 0.142 113.6)

  7. Step 600

    600

    #747A00

    oklch(55.6% 0.124 113.2)

  8. Step 700

    700

    #616700

    oklch(49.2% 0.11 113.7)

  9. Step 800

    800

    #4F5400

    oklch(42.7% 0.096 113.7)

  10. Step 900

    900

    #424600

    oklch(37.8% 0.084 113.4)

  11. Step 950

    950

    #272900

    oklch(27% 0.06 112.6)

Export this scale for Tailwind in the Tailwind colors tool

#B2BB1B 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)#CAB2000.039
Deuteranopia (no green cones)#CAB52D0.041
Tritanopia (no blue cones)#BFAF9F0.145
Achromatopsia (no color)#B3B3B30.164

Harmonies

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

Complementary

The opposite hue (180°).

  • #B2BB1B

    #B2BB1B

    oklch(76% 0.164 113.2)

  • #B59FFF

    #B59FFF

    oklch(75.9% 0.136 293.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B2BB1B

    #B2BB1B

    oklch(76% 0.164 113.2)

  • #E0A600

    #E0A600

    oklch(75.9% 0.156 83.3)

  • #6BCB68

    #6BCB68

    oklch(76% 0.164 143.2)

Open the analogous palette in the generator

Split complementary

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

  • #B2BB1B

    #B2BB1B

    oklch(76% 0.164 113.2)

  • #88B0FF

    #88B0FF

    oklch(76% 0.122 263.2)

  • #E28AEC

    #E28AEC

    oklch(75.9% 0.164 323.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B2BB1B

    #B2BB1B

    oklch(76% 0.164 113.2)

  • #2BBFFF

    #2BBFFF

    oklch(75.9% 0.148 233.4)

  • #FE81BA

    #FE81BA

    oklch(76% 0.163 353)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B2BB1B

    #B2BB1B

    oklch(76% 0.164 113.2)

  • #00C8D6

    #00C8D6

    oklch(75.9% 0.129 203.7)

  • #B59FFF

    #B59FFF

    oklch(75.9% 0.136 293.4)

  • #FF8A85

    #FF8A85

    oklch(76% 0.143 23.5)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #B2BB1B.

Similar named colors

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

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