#B8C73A

Closest named color: Pea (#A4BF20). oklch(79.3% 0.16 115.4), rgb(184, 199, 58).

Aa

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

About this color

#B8C73A is a light, vivid yellow. In OKLCH its lightness is 79%, its chroma 0.160 and its hue 115°. 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.26:1.

Hue familyYellows
Lightnesslight (79%)
Chromavivid (0.160)
Temperaturein between
Nearest namePea (#A4BF20)
Black text11.26:1
White text1.86:1

Values

HEX#B8C73A
RGBrgb(184, 199, 58)
HSLhsl(66, 56%, 50%)
OKLCHoklch(79.3% 0.16 115.4)

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 #B8C73A 1.86:1 Fails Lc -39.3 Non-text elements, placeholder text
Black text on #B8C73A 11.26:1 AAA Lc 68.8 Content text, not long reading
#B8C73A text on white 1.86:1 Fails Lc 35.1 Non-text elements, placeholder text
#B8C73A text on black 11.26:1 AAA Lc -67.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

    #F4F7E7

    oklch(97% 0.021 115.4)

  2. Step 100

    100

    #E8EECB

    oklch(93.5% 0.046 115.2)

  3. Step 200

    200

    #D6E19D

    oklch(88.5% 0.089 115.7)

  4. Step 300

    300 (this color)

    #B8C73A

    oklch(79.3% 0.16 115.4)

  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

#B8C73A 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)#D5BD210.044
Deuteranopia (no green cones)#D4BF450.047
Tritanopia (no blue cones)#C4BCAC0.140
Achromatopsia (no color)#BEBEBE0.160

Harmonies

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

Complementary

The opposite hue (180°).

  • #B8C73A

    #B8C73A

    oklch(79.3% 0.16 115.4)

  • #C1ACFF

    #C1ACFF

    oklch(79.3% 0.118 295.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B8C73A

    #B8C73A

    oklch(79.3% 0.16 115.4)

  • #EAB211

    #EAB211

    oklch(79.3% 0.16 85.3)

  • #72D679

    #72D679

    oklch(79.3% 0.16 145.3)

Open the analogous palette in the generator

Split complementary

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

  • #B8C73A

    #B8C73A

    oklch(79.3% 0.16 115.4)

  • #9BBAFF

    #9BBAFF

    oklch(79.2% 0.104 265.5)

  • #EF95F3

    #EF95F3

    oklch(79.3% 0.16 325.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B8C73A

    #B8C73A

    oklch(79.3% 0.16 115.4)

  • #63C8FF

    #63C8FF

    oklch(79.4% 0.122 235.1)

  • #FF95BF

    #FF95BF

    oklch(79.2% 0.135 355.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B8C73A

    #B8C73A

    oklch(79.3% 0.16 115.4)

  • #00D4E5

    #00D4E5

    oklch(79.4% 0.136 205.1)

  • #C1ACFF

    #C1ACFF

    oklch(79.3% 0.118 295.2)

  • #FF9C94

    #FF9C94

    oklch(79.2% 0.12 25.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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