#B7C642

Closest named color: Pea (#A4BF20). oklch(79.1% 0.154 115.6), rgb(183, 198, 66).

Aa

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

About this color

#B7C642 is a light, vivid yellow. In OKLCH its lightness is 79%, its chroma 0.154 and its hue 116°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pea (#A4BF20), ΔE 0.039 away. Black text reads best on it, at 11.16:1.

Hue familyYellows
Lightnesslight (79%)
Chromavivid (0.154)
Temperaturein between
Nearest namePea (#A4BF20)
Black text11.16:1
White text1.88:1

Values

HEX#B7C642
RGBrgb(183, 198, 66)
HSLhsl(67, 54%, 52%)
OKLCHoklch(79.1% 0.154 115.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 #B7C642 1.88:1 Fails Lc -39.7 Non-text elements, placeholder text
Black text on #B7C642 11.16:1 AAA Lc 68.4 Content text, not long reading
#B7C642 text on white 1.88:1 Fails Lc 35.5 Non-text elements, placeholder text
#B7C642 text on black 11.16:1 AAA Lc -67.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

    #F4F7E8

    oklch(97% 0.02 116)

  2. Step 100

    100

    #E8EECD

    oklch(93.6% 0.044 115.6)

  3. Step 200

    200

    #D6E1A0

    oklch(88.6% 0.085 116)

  4. Step 300

    300 (this color)

    #B7C642

    oklch(79.1% 0.154 115.6)

  5. Step 400

    400

    #9DAB00

    oklch(70.6% 0.161 115.5)

  6. Step 500

    500

    #879300

    oklch(63.2% 0.144 115.4)

  7. Step 600

    600

    #717B00

    oklch(55.5% 0.126 115.3)

  8. Step 700

    700

    #5F6800

    oklch(49.3% 0.112 115.5)

  9. Step 800

    800

    #4D5500

    oklch(42.8% 0.098 115.9)

  10. Step 900

    900

    #404600

    oklch(37.6% 0.085 115.2)

  11. Step 950

    950

    #252A00

    oklch(27.1% 0.062 116.5)

Export this scale for Tailwind in the Tailwind colors tool

#B7C642 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)#D4BC2F0.044
Deuteranopia (no green cones)#D2BE4C0.046
Tritanopia (no blue cones)#C2BBAB0.134
Achromatopsia (no color)#BDBDBD0.154

Harmonies

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

Complementary

The opposite hue (180°).

  • #B7C642

    #B7C642

    oklch(79.1% 0.154 115.6)

  • #C1ABFF

    #C1ABFF

    oklch(79.1% 0.119 295.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B7C642

    #B7C642

    oklch(79.1% 0.154 115.6)

  • #E7B224

    #E7B224

    oklch(79.1% 0.154 85.6)

  • #74D47C

    #74D47C

    oklch(78.9% 0.153 145.7)

Open the analogous palette in the generator

Split complementary

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

  • #B7C642

    #B7C642

    oklch(79.1% 0.154 115.6)

  • #9AB9FF

    #9AB9FF

    oklch(78.9% 0.106 265.7)

  • #EC96F0

    #EC96F0

    oklch(79% 0.154 325.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B7C642

    #B7C642

    oklch(79.1% 0.154 115.6)

  • #61C7FF

    #61C7FF

    oklch(79.1% 0.124 235.4)

  • #FF94BE

    #FF94BE

    oklch(79.1% 0.137 355.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B7C642

    #B7C642

    oklch(79.1% 0.154 115.6)

  • #00D3E4

    #00D3E4

    oklch(79.1% 0.135 205.1)

  • #C1ABFF

    #C1ABFF

    oklch(79.1% 0.119 295.6)

  • #FF9B92

    #FF9B92

    oklch(79% 0.121 25.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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