#B5BC28

Closest named color: Olive Yellow (#C2B709). oklch(76.5% 0.159 112.4), rgb(181, 188, 40).

Aa

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

About this color

#B5BC28 is a medium-light, vivid yellow. In OKLCH its lightness is 77%, its chroma 0.159 and its hue 112°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Olive Yellow (#C2B709), ΔE 0.020 away. Black text reads best on it, at 10.18:1.

Hue familyYellows
Lightnessmedium-light (77%)
Chromavivid (0.159)
Temperaturein between
Nearest nameOlive Yellow (#C2B709)
Black text10.18:1
White text2.06:1

Values

HEX#B5BC28
RGBrgb(181, 188, 40)
HSLhsl(63, 65%, 45%)
OKLCHoklch(76.5% 0.159 112.4)

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 #B5BC28 2.06:1 Fails Lc -44.6 Non-text elements, placeholder text
Black text on #B5BC28 10.18:1 AAA Lc 63.9 Content text, not long reading
#B5BC28 text on white 2.06:1 Fails Lc 40.1 Non-text elements, placeholder text
#B5BC28 text on black 10.18:1 AAA Lc -62.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

    #F5F7E7

    oklch(97% 0.021 112.6)

  2. Step 100

    100

    #EAEECB

    oklch(93.7% 0.046 112.6)

  3. Step 200

    200

    #DAE09C

    oklch(88.6% 0.088 112.3)

  4. Step 300

    300 (this color)

    #B5BC28

    oklch(76.5% 0.159 112.4)

  5. Step 400

    400

    #A3A900

    oklch(70.6% 0.157 112.3)

  6. Step 500

    500

    #8C9100

    oklch(63.1% 0.14 112.2)

  7. Step 600

    600

    #757A00

    oklch(55.6% 0.124 112.6)

  8. Step 700

    700

    #626600

    oklch(49% 0.109 112.4)

  9. Step 800

    800

    #505400

    oklch(42.8% 0.095 112.9)

  10. Step 900

    900

    #434600

    oklch(37.9% 0.084 112.5)

  11. Step 950

    950

    #272900

    oklch(27% 0.06 112.6)

Export this scale for Tailwind in the Tailwind colors tool

#B5BC28 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)#CBB3000.036
Deuteranopia (no green cones)#CBB6360.038
Tritanopia (no blue cones)#C2B0A10.142
Achromatopsia (no color)#B5B5B50.159

Harmonies

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

Complementary

The opposite hue (180°).

  • #B5BC28

    #B5BC28

    oklch(76.5% 0.159 112.4)

  • #B5A2FF

    #B5A2FF

    oklch(76.5% 0.132 292.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B5BC28

    #B5BC28

    oklch(76.5% 0.159 112.4)

  • #E3A700

    #E3A700

    oklch(76.4% 0.157 82.6)

  • #71CC6B

    #71CC6B

    oklch(76.6% 0.159 142.6)

Open the analogous palette in the generator

Split complementary

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

  • #B5BC28

    #B5BC28

    oklch(76.5% 0.159 112.4)

  • #89B2FF

    #89B2FF

    oklch(76.5% 0.12 262.4)

  • #E28EED

    #E28EED

    oklch(76.6% 0.158 322.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B5BC28

    #B5BC28

    oklch(76.5% 0.159 112.4)

  • #30C1FF

    #30C1FF

    oklch(76.4% 0.145 232.6)

  • #FE84BC

    #FE84BC

    oklch(76.5% 0.16 352.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B5BC28

    #B5BC28

    oklch(76.5% 0.159 112.4)

  • #00CAD6

    #00CAD6

    oklch(76.4% 0.13 202.4)

  • #B5A2FF

    #B5A2FF

    oklch(76.5% 0.132 292.4)

  • #FF8C89

    #FF8C89

    oklch(76.4% 0.14 22.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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