#B2C016

Closest named color: Pea (#A4BF20). oklch(77.1% 0.17 115), rgb(178, 192, 22).

Aa

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

About this color

#B2C016 is a medium-light, vivid yellow. In OKLCH its lightness is 77%, its chroma 0.170 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.019 away. Black text reads best on it, at 10.44:1.

Hue familyYellows
Lightnessmedium-light (77%)
Chromavivid (0.170)
Temperaturein between
Nearest namePea (#A4BF20)
Black text10.44:1
White text2.01:1

Values

HEX#B2C016
RGBrgb(178, 192, 22)
HSLhsl(65, 79%, 42%)
OKLCHoklch(77.1% 0.17 115)

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 #B2C016 2.01:1 Fails Lc -43.3 Non-text elements, placeholder text
Black text on #B2C016 10.44:1 AAA Lc 65.1 Content text, not long reading
#B2C016 text on white 2.01:1 Fails Lc 38.8 Non-text elements, placeholder text
#B2C016 text on black 10.44:1 AAA Lc -63.6 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

    #F5F8E6

    oklch(97.2% 0.024 114.5)

  2. Step 100

    100

    #E8EEC9

    oklch(93.5% 0.049 114.8)

  3. Step 200

    200

    #D7E198

    oklch(88.5% 0.095 114.7)

  4. Step 300

    300 (this color)

    #B2C016

    oklch(77.1% 0.17 115)

  5. Step 400

    400

    #9EAB00

    oklch(70.7% 0.16 115.1)

  6. Step 500

    500

    #889300

    oklch(63.3% 0.143 115)

  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

    #4E5500

    oklch(42.8% 0.097 115.1)

  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

#B2C016 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)#CFB6000.046
Deuteranopia (no green cones)#CEB82C0.048
Tritanopia (no blue cones)#BEB4A40.151
Achromatopsia (no color)#B7B7B70.171

Harmonies

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

Complementary

The opposite hue (180°).

  • #B2C016

    #B2C016

    oklch(77.1% 0.17 115)

  • #BBA3FF

    #BBA3FF

    oklch(77.1% 0.131 295.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B2C016

    #B2C016

    oklch(77.1% 0.17 115)

  • #E2AB00

    #E2AB00

    oklch(77.1% 0.158 85.2)

  • #65D06C

    #65D06C

    oklch(77.1% 0.17 145)

Open the analogous palette in the generator

Split complementary

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

  • #B2C016

    #B2C016

    oklch(77.1% 0.17 115)

  • #90B3FF

    #90B3FF

    oklch(77.1% 0.116 264.9)

  • #EA8BF0

    #EA8BF0

    oklch(77.1% 0.171 324.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B2C016

    #B2C016

    oklch(77.1% 0.17 115)

  • #48C1FF

    #48C1FF

    oklch(77% 0.138 235.2)

  • #FF88B9

    #FF88B9

    oklch(77.1% 0.153 355.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B2C016

    #B2C016

    oklch(77.1% 0.17 115)

  • #00CCDC

    #00CCDC

    oklch(77.1% 0.132 204.8)

  • #BBA3FF

    #BBA3FF

    oklch(77.1% 0.131 295.2)

  • #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 #B2C016, closest first.

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

Similar named colors

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

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