#B7C941

Closest named color: Yellow Green (#9ACD32). oklch(79.7% 0.158 116.6), rgb(183, 201, 65).

Aa

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

About this color

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

Hue familyYellows
Lightnesslight (80%)
Chromavivid (0.158)
Temperaturein between
Nearest nameYellow Green (#9ACD32)
Black text11.44:1
White text1.83:1

Values

HEX#B7C941
RGBrgb(183, 201, 65)
HSLhsl(68, 56%, 52%)
OKLCHoklch(79.7% 0.158 116.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 #B7C941 1.83:1 Fails Lc -38.4 Non-text elements, placeholder text
Black text on #B7C941 11.44:1 AAA Lc 69.6 Content text, not long reading
#B7C941 text on white 1.83:1 Fails Lc 34.3 Non-text elements, placeholder text
#B7C941 text on black 11.44:1 AAA Lc -68.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

    #F4F8E8

    oklch(97.2% 0.021 118.2)

  2. Step 100

    100

    #E7EECC

    oklch(93.5% 0.045 116.7)

  3. Step 200

    200

    #D5E19E

    oklch(88.5% 0.088 116.5)

  4. Step 300

    300 (this color)

    #B7C941

    oklch(79.7% 0.158 116.6)

  5. Step 400

    400

    #9BAC00

    oklch(70.7% 0.162 116.6)

  6. Step 500

    500

    #859300

    oklch(63% 0.144 116.3)

  7. Step 600

    600

    #6F7C00

    oklch(55.6% 0.128 116.8)

  8. Step 700

    700

    #5D6800

    oklch(49.1% 0.113 116.8)

  9. Step 800

    800

    #4C5500

    oklch(42.7% 0.098 116.6)

  10. Step 900

    900

    #3F4700

    oklch(37.7% 0.087 116.8)

  11. Step 950

    950

    #252A00

    oklch(27.1% 0.062 116.5)

Export this scale for Tailwind in the Tailwind colors tool

#B7C941 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)#D7BF2C0.047
Deuteranopia (no green cones)#D5C04B0.050
Tritanopia (no blue cones)#C2BEAE0.137
Achromatopsia (no color)#BFBFBF0.158

Harmonies

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

Complementary

The opposite hue (180°).

  • #B7C941

    #B7C941

    oklch(79.7% 0.158 116.6)

  • #C4ADFF

    #C4ADFF

    oklch(79.7% 0.116 296.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B7C941

    #B7C941

    oklch(79.7% 0.158 116.6)

  • #E9B41C

    #E9B41C

    oklch(79.7% 0.158 86.3)

  • #71D87E

    #71D87E

    oklch(79.8% 0.158 146.6)

Open the analogous palette in the generator

Split complementary

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

  • #B7C941

    #B7C941

    oklch(79.7% 0.158 116.6)

  • #9FBBFF

    #9FBBFF

    oklch(79.7% 0.102 266.9)

  • #F196F2

    #F196F2

    oklch(79.6% 0.159 326.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B7C941

    #B7C941

    oklch(79.7% 0.158 116.6)

  • #6BC8FF

    #6BC8FF

    oklch(79.7% 0.118 236.8)

  • #FF98BF

    #FF98BF

    oklch(79.7% 0.131 356.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B7C941

    #B7C941

    oklch(79.7% 0.158 116.6)

  • #00D5E9

    #00D5E9

    oklch(79.8% 0.137 206.8)

  • #C4ADFF

    #C4ADFF

    oklch(79.7% 0.116 296.6)

  • #FF9F95

    #FF9F95

    oklch(79.7% 0.116 26.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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