#B99B2A

Closest named color: Ocher (#BF9B0C). oklch(69.7% 0.13 93.3), rgb(185, 155, 42).

Aa

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

About this color

#B99B2A is a medium-light, moderately saturated yellow. In OKLCH its lightness is 70%, its chroma 0.130 and its hue 93°. Its hue sits on the warm side of the wheel. The nearest named color is Ocher (#BF9B0C), ΔE 0.013 away. Black text reads best on it, at 7.78:1.

Hue familyYellows
Lightnessmedium-light (70%)
Chromamoderately saturated (0.130)
Temperaturewarm
Nearest nameOcher (#BF9B0C)
Black text7.78:1
White text2.69:1

Values

HEX#B99B2A
RGBrgb(185, 155, 42)
HSLhsl(47, 63%, 45%)
OKLCHoklch(69.7% 0.13 93.3)

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 #B99B2A 2.69:1 Fails Lc -57.4 Large or bold text, headings
Black text on #B99B2A 7.78:1 AAA Lc 51.8 Large or bold text, headings
#B99B2A text on white 2.69:1 Fails Lc 52.2 Large or bold text, headings
#B99B2A text on black 7.78:1 AAA Lc -49.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

    #F8F5ED

    oklch(97% 0.011 89.7)

  2. Step 100

    100

    #EFEAD9

    oklch(93.6% 0.023 93.3)

  3. Step 200

    200

    #E3D9B8

    oklch(88.5% 0.045 93.1)

  4. Step 300

    300

    #D2C084

    oklch(80.9% 0.081 93.4)

  5. Step 400

    400 (this color)

    #B99B2A

    oklch(69.7% 0.13 93.3)

  6. Step 500

    500

    #A48700

    oklch(63.2% 0.129 93.7)

  7. Step 600

    600

    #8A7100

    oklch(55.6% 0.114 93.5)

  8. Step 700

    700

    #745F00

    oklch(49.2% 0.101 93.8)

  9. Step 800

    800

    #5F4D00

    oklch(42.6% 0.087 93.4)

  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

#B99B2A 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)#AC98130.026
Deuteranopia (no green cones)#B4A1310.016
Tritanopia (no blue cones)#C88E850.118
Achromatopsia (no color)#9D9D9D0.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #B99B2A

    #B99B2A

    oklch(69.7% 0.13 93.3)

  • #8497EE

    #8497EE

    oklch(69.8% 0.13 273.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B99B2A

    #B99B2A

    oklch(69.7% 0.13 93.3)

  • #D58A3D

    #D58A3D

    oklch(69.7% 0.129 63.3)

  • #8EAB48

    #8EAB48

    oklch(69.8% 0.131 123.5)

Open the analogous palette in the generator

Split complementary

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

  • #B99B2A

    #B99B2A

    oklch(69.7% 0.13 93.3)

  • #4BA6E7

    #4BA6E7

    oklch(69.8% 0.129 242.8)

  • #AE88DF

    #AE88DF

    oklch(69.6% 0.13 303.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B99B2A

    #B99B2A

    oklch(69.7% 0.13 93.3)

  • #00B1CB

    #00B1CB

    oklch(69.9% 0.122 213)

  • #CD7EC0

    #CD7EC0

    oklch(69.8% 0.129 333)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B99B2A

    #B99B2A

    oklch(69.7% 0.13 93.3)

  • #00B6A5

    #00B6A5

    oklch(69.7% 0.124 183.2)

  • #8497EE

    #8497EE

    oklch(69.8% 0.13 273.3)

  • #DF7995

    #DF7995

    oklch(69.7% 0.129 3.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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