#B4BA2C

Closest named color: Olive Yellow (#C2B709). oklch(76% 0.155 112.1), rgb(180, 186, 44).

Aa

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

About this color

#B4BA2C is a medium-light, vivid yellow. In OKLCH its lightness is 76%, its chroma 0.155 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.00:1.

Hue familyYellows
Lightnessmedium-light (76%)
Chromavivid (0.155)
Temperaturein between
Nearest nameOlive Yellow (#C2B709)
Black text10.00:1
White text2.09:1

Values

HEX#B4BA2C
RGBrgb(180, 186, 44)
HSLhsl(63, 62%, 45%)
OKLCHoklch(76% 0.155 112.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 #B4BA2C 2.09:1 Fails Lc -45.6 Large or bold text, headings
Black text on #B4BA2C 10.00:1 AAA Lc 63.0 Content text, not long reading
#B4BA2C text on white 2.09:1 Fails Lc 41.0 Non-text elements, placeholder text
#B4BA2C text on black 10.00:1 AAA Lc -61.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

    #EAEDCB

    oklch(93.5% 0.045 111.4)

  3. Step 200

    200

    #DADF9D

    oklch(88.4% 0.086 111.7)

  4. Step 300

    300 (this color)

    #B4BA2C

    oklch(76% 0.155 112.1)

  5. Step 400

    400

    #A4A900

    oklch(70.7% 0.156 111.9)

  6. Step 500

    500

    #8C9100

    oklch(63.1% 0.14 112.2)

  7. Step 600

    600

    #767A00

    oklch(55.7% 0.123 112.1)

  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

    #272900

    oklch(27% 0.06 112.6)

Export this scale for Tailwind in the Tailwind colors tool

#B4BA2C 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)#C9B1040.034
Deuteranopia (no green cones)#C9B5380.035
Tritanopia (no blue cones)#C1AEA00.140
Achromatopsia (no color)#B3B3B30.155

Harmonies

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

Complementary

The opposite hue (180°).

  • #B4BA2C

    #B4BA2C

    oklch(76% 0.155 112.1)

  • #B3A0FF

    #B3A0FF

    oklch(75.9% 0.135 292.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B4BA2C

    #B4BA2C

    oklch(76% 0.155 112.1)

  • #E2A509

    #E2A509

    oklch(76% 0.155 81.6)

  • #73C96A

    #73C96A

    oklch(75.9% 0.155 141.9)

Open the analogous palette in the generator

Split complementary

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

  • #B4BA2C

    #B4BA2C

    oklch(76% 0.155 112.1)

  • #86B1FF

    #86B1FF

    oklch(76.1% 0.122 261.8)

  • #DE8DEB

    #DE8DEB

    oklch(75.9% 0.156 321.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B4BA2C

    #B4BA2C

    oklch(76% 0.155 112.1)

  • #20C0FF

    #20C0FF

    oklch(76% 0.149 232.1)

  • #FA84BB

    #FA84BB

    oklch(76% 0.155 352.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B4BA2C

    #B4BA2C

    oklch(76% 0.155 112.1)

  • #00C9D4

    #00C9D4

    oklch(76.1% 0.129 201.8)

  • #B3A0FF

    #B3A0FF

    oklch(75.9% 0.135 292.1)

  • #FF8987

    #FF8987

    oklch(75.9% 0.144 22)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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