#B2C03E

Closest named color: Pea (#A4BF20). oklch(77.3% 0.151 115.3), rgb(178, 192, 62).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (77%)
Chromavivid (0.151)
Temperaturein between
Nearest namePea (#A4BF20)
Black text10.50:1
White text1.99:1

Values

HEX#B2C03E
RGBrgb(178, 192, 62)
HSLhsl(66, 51%, 50%)
OKLCHoklch(77.3% 0.151 115.3)

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 #B2C03E 1.99:1 Fails Lc -43.1 Non-text elements, placeholder text
Black text on #B2C03E 10.50:1 AAA Lc 65.3 Content text, not long reading
#B2C03E text on white 1.99:1 Fails Lc 38.6 Non-text elements, placeholder text
#B2C03E text on black 10.50:1 AAA Lc -63.8 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

    #E8EECD

    oklch(93.6% 0.044 115.6)

  3. Step 200

    200

    #D6E0A0

    oklch(88.4% 0.084 115.4)

  4. Step 300

    300 (this color)

    #B2C03E

    oklch(77.3% 0.151 115.3)

  5. Step 400

    400

    #9EAB00

    oklch(70.7% 0.16 115.1)

  6. Step 500

    500

    #879300

    oklch(63.2% 0.144 115.4)

  7. Step 600

    600

    #717B00

    oklch(55.5% 0.126 115.3)

  8. Step 700

    700

    #5F6700

    oklch(49% 0.111 115)

  9. Step 800

    800

    #4D5500

    oklch(42.8% 0.098 115.9)

  10. Step 900

    900

    #404600

    oklch(37.6% 0.085 115.2)

  11. Step 950

    950

    #262A00

    oklch(27.2% 0.062 115.2)

Export this scale for Tailwind in the Tailwind colors tool

#B2C03E 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)#CDB62A0.042
Deuteranopia (no green cones)#CCB8480.045
Tritanopia (no blue cones)#BDB5A60.133
Achromatopsia (no color)#B7B7B70.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #B2C03E

    #B2C03E

    oklch(77.3% 0.151 115.3)

  • #BCA4FF

    #BCA4FF

    oklch(77.4% 0.129 295.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B2C03E

    #B2C03E

    oklch(77.3% 0.151 115.3)

  • #E1AC20

    #E1AC20

    oklch(77.3% 0.151 85)

  • #71CE77

    #71CE77

    oklch(77.3% 0.151 145.3)

Open the analogous palette in the generator

Split complementary

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

  • #B2C03E

    #B2C03E

    oklch(77.3% 0.151 115.3)

  • #92B4FF

    #92B4FF

    oklch(77.4% 0.114 265.2)

  • #E591E9

    #E591E9

    oklch(77.2% 0.151 325.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B2C03E

    #B2C03E

    oklch(77.3% 0.151 115.3)

  • #4DC2FF

    #4DC2FF

    oklch(77.3% 0.135 235.3)

  • #FF89B9

    #FF89B9

    oklch(77.2% 0.152 355.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B2C03E

    #B2C03E

    oklch(77.3% 0.151 115.3)

  • #00CDDD

    #00CDDD

    oklch(77.4% 0.132 204.8)

  • #BCA4FF

    #BCA4FF

    oklch(77.4% 0.129 295.3)

  • #FF9289

    #FF9289

    oklch(77.4% 0.133 25.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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