#BAC047

Closest named color: Olive Yellow (#C2B709). oklch(78% 0.143 112), rgb(186, 192, 71).

Aa

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

About this color

#BAC047 is a light, vivid yellow. In OKLCH its lightness is 78%, its chroma 0.143 and its hue 112°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Olive Yellow (#C2B709), ΔE 0.030 away. Black text reads best on it, at 10.71:1.

Hue familyYellows
Lightnesslight (78%)
Chromavivid (0.143)
Temperaturein between
Nearest nameOlive Yellow (#C2B709)
Black text10.71:1
White text1.95:1

Values

HEX#BAC047
RGBrgb(186, 192, 71)
HSLhsl(63, 49%, 52%)
OKLCHoklch(78% 0.143 112)

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 #BAC047 1.95:1 Fails Lc -42.0 Non-text elements, placeholder text
Black text on #BAC047 10.71:1 AAA Lc 66.3 Content text, not long reading
#BAC047 text on white 1.95:1 Fails Lc 37.6 Non-text elements, placeholder text
#BAC047 text on black 10.71:1 AAA Lc -64.8 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

    #F5F7E9

    oklch(97.1% 0.019 113.3)

  2. Step 100

    100

    #EAEDCE

    oklch(93.6% 0.041 111.7)

  3. Step 200

    200

    #DADFA2

    oklch(88.5% 0.08 111.8)

  4. Step 300

    300 (this color)

    #BAC047

    oklch(78% 0.143 112)

  5. Step 400

    400

    #A4A900

    oklch(70.7% 0.156 111.9)

  6. Step 500

    500

    #8C9100

    oklch(63.1% 0.14 112.2)

  7. Step 600

    600

    #767A00

    oklch(55.7% 0.123 112.1)

  8. Step 700

    700

    #636600

    oklch(49.1% 0.109 111.8)

  9. Step 800

    800

    #515300

    oklch(42.6% 0.094 111.4)

  10. Step 900

    900

    #434500

    oklch(37.6% 0.083 111.6)

  11. Step 950

    950

    #272900

    oklch(27% 0.06 112.6)

Export this scale for Tailwind in the Tailwind colors tool

#BAC047 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)#CEB8380.032
Deuteranopia (no green cones)#CEBB4F0.034
Tritanopia (no blue cones)#C6B5A70.127
Achromatopsia (no color)#B9B9B90.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #BAC047

    #BAC047

    oklch(78% 0.143 112)

  • #B9A9FF

    #B9A9FF

    oklch(78.1% 0.122 291.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BAC047

    #BAC047

    oklch(78% 0.143 112)

  • #E5AD38

    #E5AD38

    oklch(78% 0.143 81.6)

  • #80CE77

    #80CE77

    oklch(78% 0.142 141.8)

Open the analogous palette in the generator

Split complementary

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

  • #BAC047

    #BAC047

    oklch(78% 0.143 112)

  • #90B7FF

    #90B7FF

    oklch(77.9% 0.112 262.2)

  • #E297ED

    #E297ED

    oklch(78% 0.143 322.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BAC047

    #BAC047

    oklch(78% 0.143 112)

  • #46C6FF

    #46C6FF

    oklch(78% 0.136 231.8)

  • #FC8FC1

    #FC8FC1

    oklch(78% 0.143 352)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BAC047

    #BAC047

    oklch(78% 0.143 112)

  • #00D0DB

    #00D0DB

    oklch(78% 0.133 201.6)

  • #B9A9FF

    #B9A9FF

    oklch(78.1% 0.122 291.9)

  • #FF9592

    #FF9592

    oklch(78% 0.128 22.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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