#B99B2F

Closest named color: Ocher (#BF9B0C). oklch(69.8% 0.127 92.8), rgb(185, 155, 47).

Aa

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

About this color

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

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

Values

HEX#B99B2F
RGBrgb(185, 155, 47)
HSLhsl(47, 59%, 45%)
OKLCHoklch(69.8% 0.127 92.8)

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 #B99B2F 2.69:1 Fails Lc -57.4 Large or bold text, headings
Black text on #B99B2F 7.79:1 AAA Lc 51.9 Large or bold text, headings
#B99B2F text on white 2.69:1 Fails Lc 52.2 Large or bold text, headings
#B99B2F text on black 7.79: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

    #F8F5EE

    oklch(97.1% 0.01 87.5)

  2. Step 100

    100

    #EFEAD9

    oklch(93.6% 0.023 93.3)

  3. Step 200

    200

    #E3D9B9

    oklch(88.5% 0.044 92.7)

  4. Step 300

    300

    #D2C085

    oklch(80.9% 0.08 93.1)

  5. Step 400

    400 (this color)

    #B99B2F

    oklch(69.8% 0.127 92.8)

  6. Step 500

    500

    #A58600

    oklch(63.1% 0.129 92.4)

  7. Step 600

    600

    #8A7100

    oklch(55.6% 0.114 93.5)

  8. Step 700

    700

    #755E00

    oklch(49.1% 0.1 92.1)

  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

#B99B2F 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)#AC981D0.026
Deuteranopia (no green cones)#B4A1350.016
Tritanopia (no blue cones)#C88E860.116
Achromatopsia (no color)#9E9E9E0.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #B99B2F

    #B99B2F

    oklch(69.8% 0.127 92.8)

  • #8497EC

    #8497EC

    oklch(69.7% 0.127 273.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B99B2F

    #B99B2F

    oklch(69.8% 0.127 92.8)

  • #D58B41

    #D58B41

    oklch(69.9% 0.127 62.9)

  • #8FAA4B

    #8FAA4B

    oklch(69.7% 0.126 122.9)

Open the analogous palette in the generator

Split complementary

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

  • #B99B2F

    #B99B2F

    oklch(69.8% 0.127 92.8)

  • #4DA6E6

    #4DA6E6

    oklch(69.8% 0.127 242.9)

  • #AD89DE

    #AD89DE

    oklch(69.7% 0.127 302.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B99B2F

    #B99B2F

    oklch(69.8% 0.127 92.8)

  • #00B1CA

    #00B1CA

    oklch(69.8% 0.122 212.4)

  • #CC7FC0

    #CC7FC0

    oklch(69.9% 0.127 332.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B99B2F

    #B99B2F

    oklch(69.8% 0.127 92.8)

  • #00B6A5

    #00B6A5

    oklch(69.7% 0.124 183.2)

  • #8497EC

    #8497EC

    oklch(69.7% 0.127 273.1)

  • #DE7A96

    #DE7A96

    oklch(69.8% 0.127 3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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