#B2B73C

Closest named color: Olive Yellow (#C2B709). oklch(75.3% 0.143 111.6), rgb(178, 183, 60).

Aa

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

About this color

#B2B73C is a medium-light, vivid yellow. In OKLCH its lightness is 75%, its chroma 0.143 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.027 away. Black text reads best on it, at 9.73:1.

Hue familyYellows
Lightnessmedium-light (75%)
Chromavivid (0.143)
Temperaturein between
Nearest nameOlive Yellow (#C2B709)
Black text9.73:1
White text2.15:1

Values

HEX#B2B73C
RGBrgb(178, 183, 60)
HSLhsl(62, 51%, 48%)
OKLCHoklch(75.3% 0.143 111.6)

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 #B2B73C 2.15:1 Fails Lc -47.0 Large or bold text, headings
Black text on #B2B73C 9.73:1 AAA Lc 61.7 Content text, not long reading
#B2B73C text on white 2.15:1 Fails Lc 42.3 Non-text elements, placeholder text
#B2B73C text on black 9.73:1 AAA Lc -59.9 Large or bold text, headings

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 400.

  1. Step 50

    50

    #F5F6ED

    oklch(97% 0.012 111.8)

  2. Step 100

    100

    #EAECD8

    oklch(93.6% 0.027 111.5)

  3. Step 200

    200

    #DADDB8

    oklch(88.6% 0.049 111.2)

  4. Step 300

    300

    #C2C783

    oklch(81% 0.089 111.8)

  5. Step 400

    400 (this color)

    #B2B73C

    oklch(75.3% 0.143 111.6)

  6. Step 500

    500

    #8D9100

    oklch(63.2% 0.14 111.7)

  7. Step 600

    600

    #767900

    oklch(55.5% 0.122 111.5)

  8. Step 700

    700

    #636600

    oklch(49.1% 0.109 111.8)

  9. Step 800

    800

    #515300

    oklch(42.6% 0.094 111.4)

  10. Step 900

    900

    #434500

    oklch(37.6% 0.083 111.6)

  11. Step 950

    950

    #282900

    oklch(27.1% 0.06 111.2)

Export this scale for Tailwind in the Tailwind colors tool

#B2B73C 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)#C5AF2A0.031
Deuteranopia (no green cones)#C5B2450.033
Tritanopia (no blue cones)#BEAC9E0.127
Achromatopsia (no color)#B0B0B00.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #B2B73C

    #B2B73C

    oklch(75.3% 0.143 111.6)

  • #B09EFF

    #B09EFF

    oklch(75.3% 0.138 291.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B2B73C

    #B2B73C

    oklch(75.3% 0.143 111.6)

  • #DCA42B

    #DCA42B

    oklch(75.2% 0.143 81.5)

  • #78C56E

    #78C56E

    oklch(75.3% 0.143 141.5)

Open the analogous palette in the generator

Split complementary

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

  • #B2B73C

    #B2B73C

    oklch(75.3% 0.143 111.6)

  • #82AEFF

    #82AEFF

    oklch(75.2% 0.127 262)

  • #D88FE5

    #D88FE5

    oklch(75.3% 0.143 321.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B2B73C

    #B2B73C

    oklch(75.3% 0.143 111.6)

  • #2CBDF9

    #2CBDF9

    oklch(75.2% 0.143 232)

  • #F286B9

    #F286B9

    oklch(75.2% 0.143 351.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B2B73C

    #B2B73C

    oklch(75.3% 0.143 111.6)

  • #00C6D1

    #00C6D1

    oklch(75.2% 0.128 201.9)

  • #B09EFF

    #B09EFF

    oklch(75.3% 0.138 291.2)

  • #FC8786

    #FC8786

    oklch(75.2% 0.143 21.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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