#BAA252

Closest named color: Camel (#C69F59). oklch(71.7% 0.104 92.9), rgb(186, 162, 82).

Aa

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

About this color

#BAA252 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 72%, its chroma 0.104 and its hue 93°. Its hue sits on the warm side of the wheel. The nearest named color is Camel (#C69F59), ΔE 0.023 away. Black text reads best on it, at 8.37:1.

Hue familyYellows
Lightnessmedium-light (72%)
Chromamoderately saturated (0.104)
Temperaturewarm
Nearest nameCamel (#C69F59)
Black text8.37:1
White text2.50:1

Values

HEX#BAA252
RGBrgb(186, 162, 82)
HSLhsl(46, 43%, 53%)
OKLCHoklch(71.7% 0.104 92.9)

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 #BAA252 2.50:1 Fails Lc -54.2 Large or bold text, headings
Black text on #BAA252 8.37:1 AAA Lc 54.9 Large or bold text, headings
#BAA252 text on white 2.50:1 Fails Lc 49.1 Large or bold text, headings
#BAA252 text on black 8.37:1 AAA Lc -52.8 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

    #F7F5EF

    oklch(97% 0.008 91.5)

  2. Step 100

    100

    #EEEADC

    oklch(93.6% 0.019 93.7)

  3. Step 200

    200

    #E1D9BF

    oklch(88.5% 0.036 92.8)

  4. Step 300

    300

    #CFC091

    oklch(80.9% 0.065 92.5)

  5. Step 400

    400 (this color)

    #BAA252

    oklch(71.7% 0.104 92.9)

  6. Step 500

    500

    #A48600

    oklch(63% 0.129 93)

  7. Step 600

    600

    #8A7100

    oklch(55.6% 0.114 93.5)

  8. Step 700

    700

    #745E00

    oklch(49% 0.1 92.9)

  9. Step 800

    800

    #604D00

    oklch(42.7% 0.087 92.5)

  10. Step 900

    900

    #504000

    oklch(37.8% 0.077 92.8)

  11. Step 950

    950

    #302500

    oklch(26.9% 0.055 91.9)

Export this scale for Tailwind in the Tailwind colors tool

#BAA252 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)#B19F4B0.018
Deuteranopia (no green cones)#B7A7550.013
Tritanopia (no blue cones)#C797900.095
Achromatopsia (no color)#A4A4A40.104

Harmonies

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

Complementary

The opposite hue (180°).

  • #BAA252

    #BAA252

    oklch(71.7% 0.104 92.9)

  • #8E9FE5

    #8E9FE5

    oklch(71.7% 0.104 273.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BAA252

    #BAA252

    oklch(71.7% 0.104 92.9)

  • #D2955C

    #D2955C

    oklch(71.7% 0.104 63)

  • #97AE63

    #97AE63

    oklch(71.6% 0.104 123)

Open the analogous palette in the generator

Split complementary

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

  • #BAA252

    #BAA252

    oklch(71.7% 0.104 92.9)

  • #66ABE0

    #66ABE0

    oklch(71.7% 0.105 243.1)

  • #B194D9

    #B194D9

    oklch(71.8% 0.103 303.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BAA252

    #BAA252

    oklch(71.7% 0.104 92.9)

  • #44B4CA

    #44B4CA

    oklch(71.6% 0.104 213.1)

  • #CB8BC0

    #CB8BC0

    oklch(71.7% 0.104 332.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BAA252

    #BAA252

    oklch(71.7% 0.104 92.9)

  • #48B9AA

    #48B9AA

    oklch(71.7% 0.104 183.1)

  • #8E9FE5

    #8E9FE5

    oklch(71.7% 0.104 273.1)

  • #DA879D

    #DA879D

    oklch(71.6% 0.105 2.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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