#BCA31B

Closest named color: Ocher (#BF9B0C). oklch(71.6% 0.142 97.5), rgb(188, 163, 27).

Aa

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

About this color

#BCA31B is a medium-light, vivid yellow. In OKLCH its lightness is 72%, its chroma 0.142 and its hue 98°. Its hue sits on the warm side of the wheel. The nearest named color is Ocher (#BF9B0C), ΔE 0.020 away. Black text reads best on it, at 8.39:1.

Hue familyYellows
Lightnessmedium-light (72%)
Chromavivid (0.142)
Temperaturewarm
Nearest nameOcher (#BF9B0C)
Black text8.39:1
White text2.50:1

Values

HEX#BCA31B
RGBrgb(188, 163, 27)
HSLhsl(51, 75%, 42%)
OKLCHoklch(71.6% 0.142 97.5)

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 #BCA31B 2.50:1 Fails Lc -54.0 Large or bold text, headings
Black text on #BCA31B 8.39:1 AAA Lc 55.1 Large or bold text, headings
#BCA31B text on white 2.50:1 Fails Lc 48.9 Large or bold text, headings
#BCA31B text on black 8.39:1 AAA Lc -53.0 Large or bold text, headings

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

  1. Step 50

    50

    #F7F6ED

    oklch(97.1% 0.012 101.5)

  2. Step 100

    100

    #EEEAD7

    oklch(93.5% 0.026 97.1)

  3. Step 200

    200

    #E2DAB5

    oklch(88.5% 0.05 97.2)

  4. Step 300

    300

    #D0C17E

    oklch(80.8% 0.088 97.1)

  5. Step 400

    400 (this color)

    #BCA31B

    oklch(71.6% 0.142 97.5)

  6. Step 500

    500

    #9F8900

    oklch(63.1% 0.13 97.8)

  7. Step 600

    600

    #867300

    oklch(55.7% 0.115 97.6)

  8. Step 700

    700

    #716000

    oklch(49.1% 0.101 97)

  9. Step 800

    800

    #5C4F00

    oklch(42.8% 0.088 98.3)

  10. Step 900

    900

    #4D4100

    oklch(37.6% 0.078 97.3)

  11. Step 950

    950

    #2E2600

    oklch(27% 0.056 97.1)

Export this scale for Tailwind in the Tailwind colors tool

#BCA31B 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)#B59F000.017
Deuteranopia (no green cones)#BBA7270.010
Tritanopia (no blue cones)#CC968B0.130
Achromatopsia (no color)#A4A4A40.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #BCA31B

    #BCA31B

    oklch(71.6% 0.142 97.5)

  • #8F99FB

    #8F99FB

    oklch(71.6% 0.142 277.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BCA31B

    #BCA31B

    oklch(71.6% 0.142 97.5)

  • #DD902E

    #DD902E

    oklch(71.6% 0.141 67.5)

  • #8BB44A

    #8BB44A

    oklch(71.8% 0.142 127.4)

Open the analogous palette in the generator

Split complementary

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

  • #BCA31B

    #BCA31B

    oklch(71.6% 0.142 97.5)

  • #51AAF7

    #51AAF7

    oklch(71.7% 0.141 247.4)

  • #BB8AE8

    #BB8AE8

    oklch(71.6% 0.142 307.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BCA31B

    #BCA31B

    oklch(71.6% 0.142 97.5)

  • #00B6D8

    #00B6D8

    oklch(71.6% 0.128 217.6)

  • #DB7FC3

    #DB7FC3

    oklch(71.7% 0.141 337.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BCA31B

    #BCA31B

    oklch(71.6% 0.142 97.5)

  • #00BCB1

    #00BCB1

    oklch(71.6% 0.125 187.4)

  • #8F99FB

    #8F99FB

    oklch(71.6% 0.142 277.7)

  • #EC7B93

    #EC7B93

    oklch(71.7% 0.141 7.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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