#BAA23E

Closest named color: Ocher (#BF9B0C). oklch(71.5% 0.121 95.6), rgb(186, 162, 62).

Aa

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

About this color

#BAA23E is a medium-light, moderately saturated yellow. In OKLCH its lightness is 71%, its chroma 0.121 and its hue 96°. Its hue sits on the warm side of the wheel. The nearest named color is Ocher (#BF9B0C), ΔE 0.025 away. Black text reads best on it, at 8.32:1.

Hue familyYellows
Lightnessmedium-light (71%)
Chromamoderately saturated (0.121)
Temperaturewarm
Nearest nameOcher (#BF9B0C)
Black text8.32:1
White text2.52:1

Values

HEX#BAA23E
RGBrgb(186, 162, 62)
HSLhsl(48, 50%, 49%)
OKLCHoklch(71.5% 0.121 95.6)

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 #BAA23E 2.52:1 Fails Lc -54.4 Large or bold text, headings
Black text on #BAA23E 8.32:1 AAA Lc 54.6 Large or bold text, headings
#BAA23E text on white 2.52:1 Fails Lc 49.4 Large or bold text, headings
#BAA23E text on black 8.32:1 AAA Lc -52.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

    #F7F6EE

    oklch(97.2% 0.011 100.8)

  2. Step 100

    100

    #EEEADA

    oklch(93.6% 0.022 95.3)

  3. Step 200

    200

    #E1DABB

    oklch(88.6% 0.042 96.6)

  4. Step 300

    300

    #CFC188

    oklch(80.9% 0.076 96)

  5. Step 400

    400 (this color)

    #BAA23E

    oklch(71.5% 0.121 95.6)

  6. Step 500

    500

    #A18800

    oklch(63.1% 0.13 96)

  7. Step 600

    600

    #887200

    oklch(55.6% 0.114 95.6)

  8. Step 700

    700

    #725F00

    oklch(49% 0.101 95.4)

  9. Step 800

    800

    #5E4E00

    oklch(42.8% 0.088 95.4)

  10. Step 900

    900

    #4E4100

    oklch(37.8% 0.078 96.2)

  11. Step 950

    950

    #2F2600

    oklch(27.1% 0.056 95.5)

Export this scale for Tailwind in the Tailwind colors tool

#BAA23E 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)#B29F320.018
Deuteranopia (no green cones)#B8A6430.010
Tritanopia (no blue cones)#C8968D0.111
Achromatopsia (no color)#A3A3A30.121

Harmonies

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

Complementary

The opposite hue (180°).

  • #BAA23E

    #BAA23E

    oklch(71.5% 0.121 95.6)

  • #8E9CEE

    #8E9CEE

    oklch(71.5% 0.121 275.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BAA23E

    #BAA23E

    oklch(71.5% 0.121 95.6)

  • #D69249

    #D69249

    oklch(71.4% 0.121 65.5)

  • #91B058

    #91B058

    oklch(71.4% 0.121 125.3)

Open the analogous palette in the generator

Split complementary

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

  • #BAA23E

    #BAA23E

    oklch(71.5% 0.121 95.6)

  • #5DAAEA

    #5DAAEA

    oklch(71.5% 0.121 245.7)

  • #B58FDF

    #B58FDF

    oklch(71.5% 0.12 305.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BAA23E

    #BAA23E

    oklch(71.5% 0.121 95.6)

  • #20B5D3

    #20B5D3

    oklch(71.4% 0.121 216.1)

  • #D285C0

    #D285C0

    oklch(71.5% 0.121 335.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BAA23E

    #BAA23E

    oklch(71.5% 0.121 95.6)

  • #1CBBAE

    #1CBBAE

    oklch(71.5% 0.121 185.9)

  • #8E9CEE

    #8E9CEE

    oklch(71.5% 0.121 275.5)

  • #E28198

    #E28198

    oklch(71.4% 0.122 5.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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