#B99D22

Closest named color: Ocher (#BF9B0C). oklch(70.1% 0.135 95.1), rgb(185, 157, 34).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (70%)
Chromamoderately saturated (0.135)
Temperaturewarm
Nearest nameOcher (#BF9B0C)
Black text7.90:1
White text2.65:1

Values

HEX#B99D22
RGBrgb(185, 157, 34)
HSLhsl(49, 69%, 43%)
OKLCHoklch(70.1% 0.135 95.1)

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 #B99D22 2.65:1 Fails Lc -56.7 Large or bold text, headings
Black text on #B99D22 7.90:1 AAA Lc 52.5 Large or bold text, headings
#B99D22 text on white 2.65:1 Fails Lc 51.5 Large or bold text, headings
#B99D22 text on black 7.90:1 AAA Lc -50.4 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

    #F8F6ED

    oklch(97.2% 0.012 96.4)

  2. Step 100

    100

    #EFEAD8

    oklch(93.6% 0.024 94.1)

  3. Step 200

    200

    #E2D9B7

    oklch(88.4% 0.046 94.9)

  4. Step 300

    300

    #D1C181

    oklch(81% 0.085 95.8)

  5. Step 400

    400 (this color)

    #B99D22

    oklch(70.1% 0.135 95.1)

  6. Step 500

    500

    #A28800

    oklch(63.2% 0.13 95.4)

  7. Step 600

    600

    #887200

    oklch(55.6% 0.114 95.6)

  8. Step 700

    700

    #735F00

    oklch(49.1% 0.101 94.6)

  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

#B99D22 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)#AE9A000.023
Deuteranopia (no green cones)#B5A22B0.013
Tritanopia (no blue cones)#C890860.123
Achromatopsia (no color)#9F9F9F0.135

Harmonies

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

Complementary

The opposite hue (180°).

  • #B99D22

    #B99D22

    oklch(70.1% 0.135 95.1)

  • #8796F2

    #8796F2

    oklch(70% 0.136 275.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B99D22

    #B99D22

    oklch(70.1% 0.135 95.1)

  • #D78B35

    #D78B35

    oklch(70% 0.135 65.1)

  • #8BAD48

    #8BAD48

    oklch(70.1% 0.135 125.3)

Open the analogous palette in the generator

Split complementary

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

  • #B99D22

    #B99D22

    oklch(70.1% 0.135 95.1)

  • #4CA6ED

    #4CA6ED

    oklch(70.1% 0.135 245.3)

  • #B388E2

    #B388E2

    oklch(70.2% 0.135 305.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B99D22

    #B99D22

    oklch(70.1% 0.135 95.1)

  • #00B1CF

    #00B1CF

    oklch(70% 0.124 215.6)

  • #D27DC0

    #D27DC0

    oklch(70.2% 0.135 335.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B99D22

    #B99D22

    oklch(70.1% 0.135 95.1)

  • #00B7A9

    #00B7A9

    oklch(70.1% 0.123 185.2)

  • #8796F2

    #8796F2

    oklch(70% 0.136 275.3)

  • #E37893

    #E37893

    oklch(70% 0.135 5.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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