#B5CF15

Closest named color: Yellow Green (#9ACD32). oklch(80.7% 0.185 118.6), rgb(181, 207, 21).

Aa

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

About this color

#B5CF15 is a light, vivid yellow. In OKLCH its lightness is 81%, its chroma 0.185 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 11.90:1.

Hue familyYellows
Lightnesslight (81%)
Chromavivid (0.185)
Temperaturein between
Nearest nameYellow Green (#9ACD32)
Black text11.90:1
White text1.76:1

Values

HEX#B5CF15
RGBrgb(181, 207, 21)
HSLhsl(68, 82%, 45%)
OKLCHoklch(80.7% 0.185 118.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 #B5CF15 1.76:1 Fails Lc -36.1 Non-text elements, placeholder text
Black text on #B5CF15 11.90:1 AAA Lc 71.7 Content text, not long reading
#B5CF15 text on white 1.76:1 Fails Lc 32.2 Non-text elements, placeholder text
#B5CF15 text on black 11.90:1 AAA Lc -70.5 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

    #F3F8E6

    oklch(97.1% 0.024 119.5)

  2. Step 100

    100

    #E6EFC8

    oklch(93.5% 0.052 118)

  3. Step 200

    200

    #D2E395

    oklch(88.5% 0.102 118.5)

  4. Step 300

    300 (this color)

    #B5CF15

    oklch(80.7% 0.185 118.6)

  5. Step 400

    400

    #97AD00

    oklch(70.6% 0.165 118.5)

  6. Step 500

    500

    #819500

    oklch(63.2% 0.148 118.8)

  7. Step 600

    600

    #6C7D00

    oklch(55.6% 0.13 118.8)

  8. Step 700

    700

    #5B6900

    oklch(49.2% 0.115 118.5)

  9. Step 800

    800

    #4A5600

    oklch(42.8% 0.1 118.6)

  10. Step 900

    900

    #3D4700

    oklch(37.6% 0.088 118.5)

  11. Step 950

    950

    #242A00

    oklch(27% 0.063 117.7)

Export this scale for Tailwind in the Tailwind colors tool

#B5CF15 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)#DDC3000.061
Deuteranopia (no green cones)#DBC42F0.063
Tritanopia (no blue cones)#C1C3B00.159
Achromatopsia (no color)#C3C3C30.185

Harmonies

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

Complementary

The opposite hue (180°).

  • #B5CF15

    #B5CF15

    oklch(80.7% 0.185 118.6)

  • #C9B0FF

    #C9B0FF

    oklch(80.7% 0.112 298.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B5CF15

    #B5CF15

    oklch(80.7% 0.185 118.6)

  • #EBB800

    #EBB800

    oklch(80.6% 0.165 88.4)

  • #58E079

    #58E079

    oklch(80.8% 0.186 148.6)

Open the analogous palette in the generator

Split complementary

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

  • #B5CF15

    #B5CF15

    oklch(80.7% 0.185 118.6)

  • #A6BEFF

    #A6BEFF

    oklch(80.7% 0.096 268.6)

  • #FF90FB

    #FF90FB

    oklch(80.7% 0.186 328.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B5CF15

    #B5CF15

    oklch(80.7% 0.185 118.6)

  • #78CAFF

    #78CAFF

    oklch(80.7% 0.11 238.5)

  • #FF9EBF

    #FF9EBF

    oklch(80.7% 0.121 358.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B5CF15

    #B5CF15

    oklch(80.7% 0.185 118.6)

  • #00D8EF

    #00D8EF

    oklch(80.7% 0.139 208.4)

  • #C9B0FF

    #C9B0FF

    oklch(80.7% 0.112 298.4)

  • #FFA497

    #FFA497

    oklch(80.6% 0.11 28.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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