#B2A45B

Closest named color: Camel (#C69F59). oklch(71.5% 0.095 98.7), rgb(178, 164, 91).

Aa

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

About this color

#B2A45B is a medium-light, moderately saturated yellow. In OKLCH its lightness is 71%, its chroma 0.095 and its hue 99°. Its hue sits on the warm side of the wheel. The nearest named color is Camel (#C69F59), ΔE 0.032 away. Black text reads best on it, at 8.35:1.

Hue familyYellows
Lightnessmedium-light (71%)
Chromamoderately saturated (0.095)
Temperaturewarm
Nearest nameCamel (#C69F59)
Black text8.35:1
White text2.51:1

Values

HEX#B2A45B
RGBrgb(178, 164, 91)
HSLhsl(50, 36%, 53%)
OKLCHoklch(71.5% 0.095 98.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 #B2A45B 2.51:1 Fails Lc -54.4 Large or bold text, headings
Black text on #B2A45B 8.35:1 AAA Lc 54.7 Large or bold text, headings
#B2A45B text on white 2.51:1 Fails Lc 49.3 Large or bold text, headings
#B2A45B text on black 8.35:1 AAA Lc -52.7 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

    #F7F6F0

    oklch(97.2% 0.008 98.9)

  2. Step 100

    100

    #ECEADD

    oklch(93.5% 0.017 99.6)

  3. Step 200

    200

    #DEDAC1

    oklch(88.5% 0.034 99.6)

  4. Step 300

    300

    #CAC296

    oklch(81% 0.059 98.9)

  5. Step 400

    400 (this color)

    #B2A45B

    oklch(71.5% 0.095 98.7)

  6. Step 500

    500

    #9C8A1D

    oklch(63.1% 0.122 99.2)

  7. Step 600

    600

    #857300

    oklch(55.6% 0.115 98.3)

  8. Step 700

    700

    #706100

    oklch(49.2% 0.102 98.7)

  9. Step 800

    800

    #5B4F00

    oklch(42.7% 0.088 99.2)

  10. Step 900

    900

    #4C4200

    oklch(37.8% 0.078 99.5)

  11. Step 950

    950

    #2D2705

    oklch(27.2% 0.051 99.1)

Export this scale for Tailwind in the Tailwind colors tool

#B2A45B 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)#B1A0550.011
Deuteranopia (no green cones)#B4A65E0.007
Tritanopia (no blue cones)#BD9B930.087
Achromatopsia (no color)#A3A3A30.095

Harmonies

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

Complementary

The opposite hue (180°).

  • #B2A45B

    #B2A45B

    oklch(71.5% 0.095 98.7)

  • #969DDE

    #969DDE

    oklch(71.5% 0.095 279)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B2A45B

    #B2A45B

    oklch(71.5% 0.095 98.7)

  • #CA985F

    #CA985F

    oklch(71.5% 0.095 69)

  • #91AF6E

    #91AF6E

    oklch(71.5% 0.095 128.7)

Open the analogous palette in the generator

Split complementary

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

  • #B2A45B

    #B2A45B

    oklch(71.5% 0.095 98.7)

  • #72A8DC

    #72A8DC

    oklch(71.4% 0.095 248.4)

  • #B493D1

    #B493D1

    oklch(71.5% 0.095 308.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B2A45B

    #B2A45B

    oklch(71.5% 0.095 98.7)

  • #54B1CB

    #54B1CB

    oklch(71.4% 0.095 218.8)

  • #CB8CB7

    #CB8CB7

    oklch(71.6% 0.095 339)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B2A45B

    #B2A45B

    oklch(71.5% 0.095 98.7)

  • #50B6AF

    #50B6AF

    oklch(71.4% 0.095 189.1)

  • #969DDE

    #969DDE

    oklch(71.5% 0.095 279)

  • #D78A97

    #D78A97

    oklch(71.6% 0.095 8.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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