#BABF8A

Closest named color: Dark Khaki (#BDB76B). oklch(78.8% 0.071 112.4), rgb(186, 191, 138).

Aa

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

About this color

#BABF8A is a light, moderately saturated yellow. In OKLCH its lightness is 79%, its chroma 0.071 and its hue 112°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Khaki (#BDB76B), ΔE 0.035 away. Black text reads best on it, at 10.90:1.

Hue familyYellows
Lightnesslight (79%)
Chromamoderately saturated (0.071)
Temperaturein between
Nearest nameDark Khaki (#BDB76B)
Black text10.90:1
White text1.92:1

Values

HEX#BABF8A
RGBrgb(186, 191, 138)
HSLhsl(66, 29%, 65%)
OKLCHoklch(78.8% 0.071 112.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 #BABF8A 1.92:1 Fails Lc -41.2 Non-text elements, placeholder text
Black text on #BABF8A 10.90:1 AAA Lc 67.1 Content text, not long reading
#BABF8A text on white 1.92:1 Fails Lc 36.8 Non-text elements, placeholder text
#BABF8A text on black 10.90:1 AAA Lc -65.6 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

    #F5F6EF

    oklch(97% 0.009 113.2)

  2. Step 100

    100

    #EAECDC

    oklch(93.7% 0.021 112.6)

  3. Step 200

    200

    #D9DCBF

    oklch(88.4% 0.039 112)

  4. Step 300

    300 (this color)

    #BABF8A

    oklch(78.8% 0.071 112.4)

  5. Step 400

    400

    #A2A84E

    oklch(70.8% 0.114 112.4)

  6. Step 500

    500

    #8C9100

    oklch(63.1% 0.14 112.2)

  7. Step 600

    600

    #757A00

    oklch(55.6% 0.124 112.6)

  8. Step 700

    700

    #626600

    oklch(49% 0.109 112.4)

  9. Step 800

    800

    #505400

    oklch(42.8% 0.095 112.9)

  10. Step 900

    900

    #434600

    oklch(37.9% 0.084 112.5)

  11. Step 950

    950

    #272900

    oklch(27% 0.06 112.6)

Export this scale for Tailwind in the Tailwind colors tool

#BABF8A 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)#C7BA870.021
Deuteranopia (no green cones)#C7BC8C0.020
Tritanopia (no blue cones)#C1B9B10.062
Achromatopsia (no color)#BBBBBB0.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #BABF8A

    #BABF8A

    oklch(78.8% 0.071 112.4)

  • #BAB2E4

    #BAB2E4

    oklch(78.7% 0.071 292)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BABF8A

    #BABF8A

    oklch(78.8% 0.071 112.4)

  • #D1B685

    #D1B685

    oklch(78.8% 0.072 82.1)

  • #A0C69C

    #A0C69C

    oklch(78.8% 0.071 142.4)

Open the analogous palette in the generator

Split complementary

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

  • #BABF8A

    #BABF8A

    oklch(78.8% 0.071 112.4)

  • #A1BAE8

    #A1BAE8

    oklch(78.6% 0.071 262.5)

  • #D0ABD5

    #D0ABD5

    oklch(78.7% 0.071 322.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BABF8A

    #BABF8A

    oklch(78.8% 0.071 112.4)

  • #8BC2E0

    #8BC2E0

    oklch(78.7% 0.071 232.7)

  • #DFA7BE

    #DFA7BE

    oklch(78.7% 0.072 352.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BABF8A

    #BABF8A

    oklch(78.8% 0.071 112.4)

  • #81C8CE

    #81C8CE

    oklch(78.8% 0.072 202.6)

  • #BAB2E4

    #BAB2E4

    oklch(78.7% 0.071 292)

  • #E4A8A5

    #E4A8A5

    oklch(78.7% 0.071 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 #BABF8A, closest first.

Similar named colors

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

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