#BA7D02

Closest named color: Golden Brown (#B27A01). oklch(63.7% 0.134 74.7), rgb(186, 125, 2).

Aa

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

About this color

#BA7D02 is a medium-light, moderately saturated orange. In OKLCH its lightness is 64%, its chroma 0.134 and its hue 75°. Its hue sits on the warm side of the wheel. The nearest named color is Golden Brown (#B27A01), ΔE 0.017 away. Black text reads best on it, at 6.02:1.

Hue familyOranges
Lightnessmedium-light (64%)
Chromamoderately saturated (0.134)
Temperaturewarm
Nearest nameGolden Brown (#B27A01)
Black text6.02:1
White text3.48:1

Values

HEX#BA7D02
RGBrgb(186, 125, 2)
HSLhsl(40, 98%, 37%)
OKLCHoklch(63.7% 0.134 74.7)

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 #BA7D02 3.48:1 AA large text Lc -67.6 Content text, not long reading
Black text on #BA7D02 6.02:1 AA Lc 42.0 Non-text elements, placeholder text
#BA7D02 text on white 3.48:1 AA large text Lc 62.1 Content text, not long reading
#BA7D02 text on black 6.02:1 AA Lc -39.6 Non-text elements, placeholder text

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

  1. Step 50

    50

    #F9F5EF

    oklch(97.2% 0.009 78.3)

  2. Step 100

    100

    #F2E8DC

    oklch(93.6% 0.019 72.6)

  3. Step 200

    200

    #E8D6BF

    oklch(88.5% 0.037 74)

  4. Step 300

    300

    #DABB92

    oklch(80.9% 0.065 74.4)

  5. Step 400

    400

    #C79751

    oklch(70.8% 0.105 75)

  6. Step 500

    500 (this color)

    #BA7D02

    oklch(63.7% 0.134 74.7)

  7. Step 600

    600

    #9B6700

    oklch(55.5% 0.117 74.4)

  8. Step 700

    700

    #835600

    oklch(49.1% 0.104 74.1)

  9. Step 800

    800

    #6B4600

    oklch(42.6% 0.09 74.7)

  10. Step 900

    900

    #5A3A00

    oklch(37.7% 0.08 74.4)

  11. Step 950

    950

    #362201

    oklch(27.1% 0.056 75.6)

Export this scale for Tailwind in the Tailwind colors tool

#BA7D02 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)#9380000.066
Deuteranopia (no green cones)#A18F0C0.059
Tritanopia (no blue cones)#CC6D6A0.112
Achromatopsia (no color)#8989890.134

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA7D02

    #BA7D02

    oklch(63.7% 0.134 74.7)

  • #4E8DDA

    #4E8DDA

    oklch(63.7% 0.133 254.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA7D02

    #BA7D02

    oklch(63.7% 0.134 74.7)

  • #CC6D41

    #CC6D41

    oklch(63.6% 0.134 44.4)

  • #988E04

    #988E04

    oklch(63.5% 0.134 104.5)

Open the analogous palette in the generator

Split complementary

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

  • #BA7D02

    #BA7D02

    oklch(63.7% 0.134 74.7)

  • #009AC1

    #009AC1

    oklch(63.8% 0.12 224.1)

  • #837ED9

    #837ED9

    oklch(63.7% 0.134 284.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA7D02

    #BA7D02

    oklch(63.7% 0.134 74.7)

  • #009F9F

    #009F9F

    oklch(63.6% 0.109 194.8)

  • #A970C3

    #A970C3

    oklch(63.6% 0.134 314.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA7D02

    #BA7D02

    oklch(63.7% 0.134 74.7)

  • #02A476

    #02A476

    oklch(63.7% 0.134 164.7)

  • #4E8DDA

    #4E8DDA

    oklch(63.7% 0.133 254.6)

  • #C3679E

    #C3679E

    oklch(63.7% 0.134 344.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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