#9C873B

Closest named color: Coffee (#A6814C). oklch(62.7% 0.099 93.9), rgb(156, 135, 59).

Aa

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

About this color

#9C873B is a medium-light, moderately saturated yellow. In OKLCH its lightness is 63%, its chroma 0.099 and its hue 94°. Its hue sits on the warm side of the wheel. The nearest named color is Coffee (#A6814C), ΔE 0.033 away. Black text reads best on it, at 5.94:1.

Hue familyYellows
Lightnessmedium-light (63%)
Chromamoderately saturated (0.099)
Temperaturewarm
Nearest nameCoffee (#A6814C)
Black text5.94:1
White text3.53:1

Values

HEX#9C873B
RGBrgb(156, 135, 59)
HSLhsl(47, 45%, 42%)
OKLCHoklch(62.7% 0.099 93.9)

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 #9C873B 3.53:1 AA large text Lc -68.3 Content text, not long reading
Black text on #9C873B 5.94:1 AA Lc 41.2 Non-text elements, placeholder text
#9C873B text on white 3.53:1 AA large text Lc 62.8 Content text, not long reading
#9C873B text on black 5.94:1 AA Lc -38.8 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #F7F5F1

    oklch(97.1% 0.006 84.6)

  2. Step 100

    100

    #EDEAE0

    oklch(93.7% 0.014 93)

  3. Step 200

    200

    #DFD9C6

    oklch(88.5% 0.026 92.4)

  4. Step 300

    300

    #CBC19E

    oklch(81% 0.048 94)

  5. Step 400

    400

    #B0A068

    oklch(70.6% 0.077 94)

  6. Step 500

    500 (this color)

    #9C873B

    oklch(62.7% 0.099 93.9)

  7. Step 600

    600

    #887114

    oklch(55.5% 0.107 93.7)

  8. Step 700

    700

    #745F02

    oklch(49.2% 0.1 93.7)

  9. Step 800

    800

    #5E4E0A

    oklch(42.8% 0.083 94.4)

  10. Step 900

    900

    #4D4113

    oklch(37.8% 0.065 94.3)

  11. Step 950

    950

    #2D260D

    oklch(27% 0.041 93.9)

Export this scale for Tailwind in the Tailwind colors tool

#9C873B 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)#9485330.016
Deuteranopia (no green cones)#998B3E0.011
Tritanopia (no blue cones)#A87D760.090
Achromatopsia (no color)#8888880.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #9C873B

    #9C873B

    oklch(62.7% 0.099 93.9)

  • #7684C4

    #7684C4

    oklch(62.8% 0.098 273.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9C873B

    #9C873B

    oklch(62.7% 0.099 93.9)

  • #B27B44

    #B27B44

    oklch(62.8% 0.099 64.3)

  • #7C924D

    #7C924D

    oklch(62.6% 0.098 123.7)

Open the analogous palette in the generator

Split complementary

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

  • #9C873B

    #9C873B

    oklch(62.7% 0.099 93.9)

  • #508FC0

    #508FC0

    oklch(62.8% 0.099 243.8)

  • #9579B9

    #9579B9

    oklch(62.7% 0.099 303.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9C873B

    #9C873B

    oklch(62.7% 0.099 93.9)

  • #2A97AD

    #2A97AD

    oklch(62.6% 0.099 214.6)

  • #AD71A1

    #AD71A1

    oklch(62.7% 0.099 334.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9C873B

    #9C873B

    oklch(62.7% 0.099 93.9)

  • #2C9C8F

    #2C9C8F

    oklch(62.8% 0.1 183.7)

  • #7684C4

    #7684C4

    oklch(62.8% 0.098 273.8)

  • #BA6E81

    #BA6E81

    oklch(62.7% 0.099 4.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #9C873B 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.