#B4D02F

Closest named color: Yellow Green (#9ACD32). oklch(80.9% 0.177 119.5), rgb(180, 208, 47).

Aa

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

About this color

#B4D02F is a light, vivid yellow. In OKLCH its lightness is 81%, its chroma 0.177 and its hue 119°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Yellow Green (#9ACD32), ΔE 0.034 away. Black text reads best on it, at 12.00:1.

Hue familyYellows
Lightnesslight (81%)
Chromavivid (0.177)
Temperaturein between
Nearest nameYellow Green (#9ACD32)
Black text12.00:1
White text1.74:1

Values

HEX#B4D02F
RGBrgb(180, 208, 47)
HSLhsl(70, 63%, 50%)
OKLCHoklch(80.9% 0.177 119.5)

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 #B4D02F 1.74:1 Fails Lc -35.7 Non-text elements, placeholder text
Black text on #B4D02F 12.00:1 AAA Lc 72.1 Content text, not long reading
#B4D02F text on white 1.74:1 Fails Lc 31.7 Non-text elements, placeholder text
#B4D02F text on black 12.00:1 AAA Lc -71.0 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

    #F3F8E7

    oklch(97.1% 0.023 120.2)

  2. Step 100

    100

    #E5EFC9

    oklch(93.5% 0.051 119.4)

  3. Step 200

    200

    #D1E398

    oklch(88.5% 0.099 119.4)

  4. Step 300

    300 (this color)

    #B4D02F

    oklch(80.9% 0.177 119.5)

  5. Step 400

    400

    #95AE00

    oklch(70.7% 0.167 119.5)

  6. Step 500

    500

    #809500

    oklch(63.1% 0.149 119.2)

  7. Step 600

    600

    #6B7D00

    oklch(55.5% 0.131 119.3)

  8. Step 700

    700

    #596900

    oklch(49% 0.116 119.6)

  9. Step 800

    800

    #495600

    oklch(42.7% 0.101 119.3)

  10. Step 900

    900

    #3C4800

    oklch(37.7% 0.09 119.9)

  11. Step 950

    950

    #232A00

    oklch(26.9% 0.063 118.9)

Export this scale for Tailwind in the Tailwind colors tool

#B4D02F 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)#DEC4000.061
Deuteranopia (no green cones)#DAC43F0.063
Tritanopia (no blue cones)#BFC5B20.151
Achromatopsia (no color)#C4C4C40.178

Harmonies

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

Complementary

The opposite hue (180°).

  • #B4D02F

    #B4D02F

    oklch(80.9% 0.177 119.5)

  • #CBB0FF

    #CBB0FF

    oklch(80.9% 0.113 299.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B4D02F

    #B4D02F

    oklch(80.9% 0.177 119.5)

  • #EBBA00

    #EBBA00

    oklch(81% 0.165 89.5)

  • #5CE07F

    #5CE07F

    oklch(81% 0.178 149.4)

Open the analogous palette in the generator

Split complementary

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

  • #B4D02F

    #B4D02F

    oklch(80.9% 0.177 119.5)

  • #A8BEFF

    #A8BEFF

    oklch(80.9% 0.096 269.8)

  • #FF93F7

    #FF93F7

    oklch(81% 0.177 329.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B4D02F

    #B4D02F

    oklch(80.9% 0.177 119.5)

  • #7CCAFF

    #7CCAFF

    oklch(80.9% 0.108 239.7)

  • #FFA0BE

    #FFA0BE

    oklch(81% 0.118 359.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B4D02F

    #B4D02F

    oklch(80.9% 0.177 119.5)

  • #00D9F2

    #00D9F2

    oklch(81.1% 0.14 209.4)

  • #CBB0FF

    #CBB0FF

    oklch(80.9% 0.113 299.6)

  • #FFA698

    #FFA698

    oklch(81% 0.108 29.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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