#B2C987

Closest named color: Pale Olive (#B9CC81). oklch(80.3% 0.092 124.1), rgb(178, 201, 135).

Aa

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

About this color

#B2C987 is a light, moderately saturated yellow. In OKLCH its lightness is 80%, its chroma 0.092 and its hue 124°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Olive (#B9CC81), ΔE 0.015 away. Black text reads best on it, at 11.59:1.

Hue familyYellows
Lightnesslight (80%)
Chromamoderately saturated (0.092)
Temperaturein between
Nearest namePale Olive (#B9CC81)
Black text11.59:1
White text1.81:1

Values

HEX#B2C987
RGBrgb(178, 201, 135)
HSLhsl(81, 38%, 66%)
OKLCHoklch(80.3% 0.092 124.1)

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 #B2C987 1.81:1 Fails Lc -37.8 Non-text elements, placeholder text
Black text on #B2C987 11.59:1 AAA Lc 70.2 Content text, not long reading
#B2C987 text on white 1.81:1 Fails Lc 33.7 Non-text elements, placeholder text
#B2C987 text on black 11.59:1 AAA Lc -68.9 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

    #F4F7EE

    oklch(97.1% 0.012 121.7)

  2. Step 100

    100

    #E6EDDA

    oklch(93.6% 0.026 123.4)

  3. Step 200

    200

    #D2DFBB

    oklch(88.4% 0.05 123.6)

  4. Step 300

    300 (this color)

    #B2C987

    oklch(80.3% 0.092 124.1)

  5. Step 400

    400

    #8EAF3C

    oklch(70.7% 0.146 123.8)

  6. Step 500

    500

    #769800

    oklch(63.1% 0.157 124)

  7. Step 600

    600

    #638000

    oklch(55.7% 0.138 124)

  8. Step 700

    700

    #526B00

    oklch(49% 0.122 124.1)

  9. Step 800

    800

    #435800

    oklch(42.7% 0.106 124.1)

  10. Step 900

    900

    #374900

    oklch(37.6% 0.094 124.1)

  11. Step 950

    950

    #202B00

    oklch(26.9% 0.066 123.3)

Export this scale for Tailwind in the Tailwind colors tool

#B2C987 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)#D0C1820.043
Deuteranopia (no green cones)#CDC08A0.044
Tritanopia (no blue cones)#B7C3B80.074
Achromatopsia (no color)#C0C0C00.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #B2C987

    #B2C987

    oklch(80.3% 0.092 124.1)

  • #CBB0EF

    #CBB0EF

    oklch(80.2% 0.092 304)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B2C987

    #B2C987

    oklch(80.3% 0.092 124.1)

  • #D2BE79

    #D2BE79

    oklch(80.3% 0.091 93.8)

  • #8FD0A4

    #8FD0A4

    oklch(80.2% 0.091 154.3)

Open the analogous palette in the generator

Split complementary

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

  • #B2C987

    #B2C987

    oklch(80.3% 0.092 124.1)

  • #ACBBFA

    #ACBBFA

    oklch(80.3% 0.091 273.8)

  • #E3A9D7

    #E3A9D7

    oklch(80.3% 0.091 333.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B2C987

    #B2C987

    oklch(80.3% 0.092 124.1)

  • #8BC5F6

    #8BC5F6

    oklch(80.2% 0.092 244.8)

  • #F1A6B8

    #F1A6B8

    oklch(80.2% 0.091 3.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B2C987

    #B2C987

    oklch(80.3% 0.092 124.1)

  • #73CEE3

    #73CEE3

    oklch(80.2% 0.092 214.4)

  • #CBB0EF

    #CBB0EF

    oklch(80.2% 0.092 304)

  • #F3A998

    #F3A998

    oklch(80.2% 0.091 33.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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