#B4BA39

Closest named color: Olive Yellow (#C2B709). oklch(76.1% 0.148 112.1), rgb(180, 186, 57).

Aa

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

About this color

#B4BA39 is a medium-light, vivid yellow. In OKLCH its lightness is 76%, its chroma 0.148 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.023 away. Black text reads best on it, at 10.02:1.

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

Values

HEX#B4BA39
RGBrgb(180, 186, 57)
HSLhsl(63, 53%, 48%)
OKLCHoklch(76.1% 0.148 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 #B4BA39 2.09:1 Fails Lc -45.5 Large or bold text, headings
Black text on #B4BA39 10.02:1 AAA Lc 63.1 Content text, not long reading
#B4BA39 text on white 2.09:1 Fails Lc 40.9 Non-text elements, placeholder text
#B4BA39 text on black 10.02:1 AAA Lc -61.4 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

    #EAEDCD

    oklch(93.5% 0.042 111.6)

  3. Step 200

    200

    #DADFA0

    oklch(88.5% 0.082 111.8)

  4. Step 300

    300 (this color)

    #B4BA39

    oklch(76.1% 0.148 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

#B4BA39 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)#C8B1240.033
Deuteranopia (no green cones)#C9B5430.035
Tritanopia (no blue cones)#C0AFA10.132
Achromatopsia (no color)#B3B3B30.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #B4BA39

    #B4BA39

    oklch(76.1% 0.148 112.1)

  • #B3A1FF

    #B3A1FF

    oklch(76.1% 0.133 291.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B4BA39

    #B4BA39

    oklch(76.1% 0.148 112.1)

  • #E0A725

    #E0A725

    oklch(76.2% 0.148 82.1)

  • #77C96F

    #77C96F

    oklch(76.2% 0.148 142.1)

Open the analogous palette in the generator

Split complementary

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

  • #B4BA39

    #B4BA39

    oklch(76.1% 0.148 112.1)

  • #86B1FF

    #86B1FF

    oklch(76.1% 0.122 261.8)

  • #DD90E9

    #DD90E9

    oklch(76.2% 0.148 322)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B4BA39

    #B4BA39

    oklch(76.1% 0.148 112.1)

  • #26C0FE

    #26C0FE

    oklch(76% 0.147 232)

  • #F787BB

    #F787BB

    oklch(76% 0.148 352)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B4BA39

    #B4BA39

    oklch(76.1% 0.148 112.1)

  • #00C9D4

    #00C9D4

    oklch(76.1% 0.129 201.8)

  • #B3A1FF

    #B3A1FF

    oklch(76.1% 0.133 291.7)

  • #FF8A88

    #FF8A88

    oklch(76.1% 0.142 22)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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