#B5A162

Closest named color: Camel (#C69F59). oklch(71.2% 0.086 92.4), rgb(181, 161, 98).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (71%)
Chromamoderately saturated (0.086)
Temperaturewarm
Nearest nameCamel (#C69F59)
Black text8.23:1
White text2.54:1

Values

HEX#B5A162
RGBrgb(181, 161, 98)
HSLhsl(46, 36%, 55%)
OKLCHoklch(71.2% 0.086 92.4)

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 #B5A162 2.54:1 Fails Lc -55.0 Large or bold text, headings
Black text on #B5A162 8.23:1 AAA Lc 54.1 Large or bold text, headings
#B5A162 text on white 2.54:1 Fails Lc 49.9 Large or bold text, headings
#B5A162 text on black 8.23:1 AAA Lc -52.1 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

    #F7F5F0

    oklch(97% 0.007 88.6)

  2. Step 100

    100

    #EDEADF

    oklch(93.6% 0.015 94.2)

  3. Step 200

    200

    #E0D9C4

    oklch(88.5% 0.029 91.7)

  4. Step 300

    300

    #CDC09A

    oklch(80.9% 0.053 91.4)

  5. Step 400

    400 (this color)

    #B5A162

    oklch(71.2% 0.086 92.4)

  6. Step 500

    500

    #A1872F

    oklch(63.1% 0.11 92.3)

  7. Step 600

    600

    #8B7000

    oklch(55.5% 0.114 92)

  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

    #4F400A

    oklch(37.7% 0.071 92.2)

  11. Step 950

    950

    #2E2609

    oklch(27.1% 0.045 93.6)

Export this scale for Tailwind in the Tailwind colors tool

#B5A162 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)#AD9F5D0.015
Deuteranopia (no green cones)#B3A5640.010
Tritanopia (no blue cones)#C198920.079
Achromatopsia (no color)#A2A2A20.086

Harmonies

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

Complementary

The opposite hue (180°).

  • #B5A162

    #B5A162

    oklch(71.2% 0.086 92.4)

  • #909FD8

    #909FD8

    oklch(71.2% 0.085 272.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B5A162

    #B5A162

    oklch(71.2% 0.086 92.4)

  • #C99669

    #C99669

    oklch(71.2% 0.086 62.2)

  • #99AB6E

    #99AB6E

    oklch(71.2% 0.086 122)

Open the analogous palette in the generator

Split complementary

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

  • #B5A162

    #B5A162

    oklch(71.2% 0.086 92.4)

  • #71A9D4

    #71A9D4

    oklch(71.3% 0.086 242.5)

  • #AC96CF

    #AC96CF

    oklch(71.3% 0.085 302)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B5A162

    #B5A162

    oklch(71.2% 0.086 92.4)

  • #5CB1C2

    #5CB1C2

    oklch(71.4% 0.086 212.3)

  • #C38EBA

    #C38EBA

    oklch(71.2% 0.087 332.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B5A162

    #B5A162

    oklch(71.2% 0.086 92.4)

  • #5FB4A7

    #5FB4A7

    oklch(71.3% 0.085 182.7)

  • #909FD8

    #909FD8

    oklch(71.2% 0.085 272.7)

  • #D08C9D

    #D08C9D

    oklch(71.3% 0.085 3.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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