#BAF28D

Closest named color: Pistachio (#C0FA8B). oklch(90% 0.142 132.3), rgb(186, 242, 141).

Aa

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

About this color

#BAF28D is a light, vivid green. In OKLCH its lightness is 90%, its chroma 0.142 and its hue 132°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pistachio (#C0FA8B), ΔE 0.024 away. Black text reads best on it, at 16.17:1.

Hue familyGreens
Lightnesslight (90%)
Chromavivid (0.142)
Temperaturein between
Nearest namePistachio (#C0FA8B)
Black text16.17:1
White text1.29:1

Values

HEX#BAF28D
RGBrgb(186, 242, 141)
HSLhsl(93, 80%, 75%)
OKLCHoklch(90% 0.142 132.3)

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 #BAF28D 1.29:1 Fails Lc -16.9 Dividers and decoration only
Black text on #BAF28D 16.17:1 AAA Lc 88.9 Fine for body text
#BAF28D text on white 1.29:1 Fails Lc 14.7 Not readable
#BAF28D text on black 16.17:1 AAA Lc -89.1 Fine for body text

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

  1. Step 50

    50

    #EFF9E9

    oklch(97% 0.024 133.5)

  2. Step 100

    100

    #DDF2CE

    oklch(93.6% 0.053 132.2)

  3. Step 200

    200 (this color)

    #BAF28D

    oklch(90% 0.142 132.3)

  4. Step 300

    300

    #92D84F

    oklch(80.8% 0.183 132.3)

  5. Step 400

    400

    #6EB800

    oklch(70.6% 0.197 132.4)

  6. Step 500

    500

    #5E9E00

    oklch(63.1% 0.176 132.3)

  7. Step 600

    600

    #4E8500

    oklch(55.6% 0.155 132.4)

  8. Step 700

    700

    #417000

    oklch(49.2% 0.137 132.3)

  9. Step 800

    800

    #345C00

    oklch(42.8% 0.12 132.5)

  10. Step 900

    900

    #2B4C00

    oklch(37.6% 0.105 132.1)

  11. Step 950

    950

    #172D00

    oklch(26.8% 0.075 132.3)

Export this scale for Tailwind in the Tailwind colors tool

#BAF28D 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)#FAE5850.084
Deuteranopia (no green cones)#F2E0930.085
Tritanopia (no blue cones)#BCEBD90.104
Achromatopsia (no color)#E2E2E20.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #BAF28D

    #BAF28D

    oklch(90% 0.142 132.3)

  • #EDD2FF

    #EDD2FF

    oklch(90% 0.067 311.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BAF28D

    #BAF28D

    oklch(90% 0.142 132.3)

  • #F0E168

    #F0E168

    oklch(89.9% 0.142 102.3)

  • #7AFBC2

    #7AFBC2

    oklch(89.9% 0.141 162.5)

Open the analogous palette in the generator

Split complementary

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

  • #BAF28D

    #BAF28D

    oklch(90% 0.142 132.3)

  • #D8DBFF

    #D8DBFF

    oklch(90% 0.049 281.6)

  • #FFCDEA

    #FFCDEA

    oklch(90% 0.067 342.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BAF28D

    #BAF28D

    oklch(90% 0.142 132.3)

  • #C7E1FF

    #C7E1FF

    oklch(90% 0.05 252.1)

  • #FFD0D4

    #FFD0D4

    oklch(89.9% 0.053 12.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BAF28D

    #BAF28D

    oklch(90% 0.142 132.3)

  • #ACE9FF

    #ACE9FF

    oklch(90% 0.069 222.2)

  • #EDD2FF

    #EDD2FF

    oklch(90% 0.067 311.8)

  • #FFD3C2

    #FFD3C2

    oklch(90% 0.055 42.2)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #BAF28D.

Similar named colors

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

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