#BA992A

Closest named color: Ocher (#BF9B0C). oklch(69.4% 0.129 91.4), rgb(186, 153, 42).

Aa

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

About this color

#BA992A is a medium-light, moderately saturated yellow. In OKLCH its lightness is 69%, its chroma 0.129 and its hue 91°. Its hue sits on the warm side of the wheel. The nearest named color is Ocher (#BF9B0C), ΔE 0.015 away. Black text reads best on it, at 7.67:1.

Hue familyYellows
Lightnessmedium-light (69%)
Chromamoderately saturated (0.129)
Temperaturewarm
Nearest nameOcher (#BF9B0C)
Black text7.67:1
White text2.73:1

Values

HEX#BA992A
RGBrgb(186, 153, 42)
HSLhsl(46, 63%, 45%)
OKLCHoklch(69.4% 0.129 91.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 #BA992A 2.73:1 Fails Lc -58.0 Large or bold text, headings
Black text on #BA992A 7.67:1 AAA Lc 51.3 Large or bold text, headings
#BA992A text on white 2.73:1 Fails Lc 52.8 Large or bold text, headings
#BA992A text on black 7.67:1 AAA Lc -49.1 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

    #EFEAD9

    oklch(93.6% 0.023 93.3)

  3. Step 200

    200

    #E4D9B8

    oklch(88.6% 0.045 91.8)

  4. Step 300

    300

    #D4BF84

    oklch(80.9% 0.08 90.7)

  5. Step 400

    400 (this color)

    #BA992A

    oklch(69.4% 0.129 91.4)

  6. Step 500

    500

    #A68500

    oklch(63% 0.129 91.2)

  7. Step 600

    600

    #8C7000

    oklch(55.6% 0.114 91.4)

  8. Step 700

    700

    #765E00

    oklch(49.2% 0.101 91.4)

  9. Step 800

    800

    #614D00

    oklch(42.9% 0.088 91.6)

  10. Step 900

    900

    #513F00

    oklch(37.6% 0.077 90.4)

  11. Step 950

    950

    #302500

    oklch(26.9% 0.055 91.9)

Export this scale for Tailwind in the Tailwind colors tool

#BA992A 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)#AB97140.028
Deuteranopia (no green cones)#B3A0310.019
Tritanopia (no blue cones)#CA8C840.118
Achromatopsia (no color)#9C9C9C0.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA992A

    #BA992A

    oklch(69.4% 0.129 91.4)

  • #8097EC

    #8097EC

    oklch(69.4% 0.128 271.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA992A

    #BA992A

    oklch(69.4% 0.129 91.4)

  • #D5883F

    #D5883F

    oklch(69.3% 0.129 61.2)

  • #90A946

    #90A946

    oklch(69.5% 0.129 121.7)

Open the analogous palette in the generator

Split complementary

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

  • #BA992A

    #BA992A

    oklch(69.4% 0.129 91.4)

  • #47A5E5

    #47A5E5

    oklch(69.3% 0.129 241.9)

  • #AB89DF

    #AB89DF

    oklch(69.5% 0.127 301.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA992A

    #BA992A

    oklch(69.4% 0.129 91.4)

  • #00B0C7

    #00B0C7

    oklch(69.4% 0.121 211.1)

  • #CA7DC1

    #CA7DC1

    oklch(69.3% 0.129 331.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA992A

    #BA992A

    oklch(69.4% 0.129 91.4)

  • #00B5A2

    #00B5A2

    oklch(69.4% 0.124 181.9)

  • #8097EC

    #8097EC

    oklch(69.4% 0.128 271.3)

  • #DD7897

    #DD7897

    oklch(69.4% 0.129 1.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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