#BA9A39

Closest named color: Ocher (#BF9B0C). oklch(69.7% 0.12 90.4), rgb(186, 154, 57).

Aa

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

About this color

#BA9A39 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 70%, its chroma 0.120 and its hue 90°. Its hue sits on the warm side of the wheel. The nearest named color is Ocher (#BF9B0C), ΔE 0.023 away. Black text reads best on it, at 7.76:1.

Hue familyYellows
Lightnessmedium-light (70%)
Chromamoderately saturated (0.120)
Temperaturewarm
Nearest nameOcher (#BF9B0C)
Black text7.76:1
White text2.70:1

Values

HEX#BA9A39
RGBrgb(186, 154, 57)
HSLhsl(45, 53%, 48%)
OKLCHoklch(69.7% 0.12 90.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 #BA9A39 2.70:1 Fails Lc -57.5 Large or bold text, headings
Black text on #BA9A39 7.76:1 AAA Lc 51.7 Large or bold text, headings
#BA9A39 text on white 2.70:1 Fails Lc 52.3 Large or bold text, headings
#BA9A39 text on black 7.76:1 AAA Lc -49.6 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

    #F8F5EE

    oklch(97.1% 0.01 87.5)

  2. Step 100

    100

    #EFEADA

    oklch(93.7% 0.022 92.5)

  3. Step 200

    200

    #E3D9BB

    oklch(88.6% 0.041 91.7)

  4. Step 300

    300

    #D3BF89

    oklch(80.9% 0.074 90.1)

  5. Step 400

    400 (this color)

    #BA9A39

    oklch(69.7% 0.12 90.4)

  6. Step 500

    500

    #A78500

    oklch(63.1% 0.129 90.6)

  7. Step 600

    600

    #8D6F00

    oklch(55.5% 0.113 89.9)

  8. Step 700

    700

    #765D00

    oklch(49% 0.1 90.4)

  9. Step 800

    800

    #614C00

    oklch(42.6% 0.087 90.4)

  10. Step 900

    900

    #513F00

    oklch(37.6% 0.077 90.4)

  11. Step 950

    950

    #312500

    oklch(27.1% 0.055 90.3)

Export this scale for Tailwind in the Tailwind colors tool

#BA9A39 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)#AB982C0.028
Deuteranopia (no green cones)#B3A13E0.020
Tritanopia (no blue cones)#C98D860.110
Achromatopsia (no color)#9D9D9D0.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA9A39

    #BA9A39

    oklch(69.7% 0.12 90.4)

  • #8199E8

    #8199E8

    oklch(69.7% 0.12 270.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA9A39

    #BA9A39

    oklch(69.7% 0.12 90.4)

  • #D38B4A

    #D38B4A

    oklch(69.8% 0.12 60.8)

  • #94A94E

    #94A94E

    oklch(69.9% 0.12 120.4)

Open the analogous palette in the generator

Split complementary

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

  • #BA9A39

    #BA9A39

    oklch(69.7% 0.12 90.4)

  • #4FA7E0

    #4FA7E0

    oklch(69.8% 0.119 240)

  • #AA8CDD

    #AA8CDD

    oklch(69.9% 0.12 300.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA9A39

    #BA9A39

    oklch(69.7% 0.12 90.4)

  • #0AB1C7

    #0AB1C7

    oklch(69.7% 0.12 210.5)

  • #C881C0

    #C881C0

    oklch(69.7% 0.12 330.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA9A39

    #BA9A39

    oklch(69.7% 0.12 90.4)

  • #23B5A1

    #23B5A1

    oklch(69.6% 0.119 180.7)

  • #8199E8

    #8199E8

    oklch(69.7% 0.12 270.2)

  • #DA7D9A

    #DA7D9A

    oklch(69.9% 0.119 0.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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