#845D02

Closest named color: Mud (#735C12). oklch(50.6% 0.104 79.9), rgb(132, 93, 2).

Aa

White text reads best on this color (5.91:1).

About this color

#845D02 is a medium-dark, moderately saturated brown. In OKLCH its lightness is 51%, its chroma 0.104 and its hue 80°. Its hue sits on the warm side of the wheel. The nearest named color is Mud (#735C12), ΔE 0.031 away. White text reads best on it, at 5.91:1.

Hue familyBrowns
Lightnessmedium-dark (51%)
Chromamoderately saturated (0.104)
Temperaturewarm
Nearest nameMud (#735C12)
Black text3.54:1
White text5.91:1

Values

HEX#845D02
RGBrgb(132, 93, 2)
HSLhsl(42, 97%, 26%)
OKLCHoklch(50.6% 0.104 79.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 #845D02 5.91:1 AA Lc -84.6 Fine for body text
Black text on #845D02 3.54:1 AA large text Lc 24.7 Dividers and decoration only
#845D02 text on white 5.91:1 AA Lc 79.4 Fine for body text
#845D02 text on black 3.54:1 AA large text Lc -22.5 Dividers and decoration only

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

  1. Step 50

    50

    #F8F5F0

    oklch(97.1% 0.007 80.7)

  2. Step 100

    100

    #EFE9DF

    oklch(93.6% 0.015 80.7)

  3. Step 200

    200

    #E3D8C5

    oklch(88.6% 0.028 81.5)

  4. Step 300

    300

    #D2BE9C

    oklch(81% 0.051 80.9)

  5. Step 400

    400

    #BB9B65

    oklch(70.6% 0.081 79.9)

  6. Step 500

    500

    #AA8239

    oklch(63.1% 0.103 80)

  7. Step 600

    600

    #956B0B

    oklch(55.7% 0.112 80.5)

  8. Step 700

    700 (this color)

    #845D02

    oklch(50.6% 0.104 79.9)

  9. Step 800

    800

    #684904

    oklch(42.8% 0.087 80)

  10. Step 900

    900

    #543D11

    oklch(37.7% 0.067 80)

  11. Step 950

    950

    #31240C

    oklch(27% 0.042 80.6)

Export this scale for Tailwind in the Tailwind colors tool

#845D02 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)#6C5E000.043
Deuteranopia (no green cones)#7568080.038
Tritanopia (no blue cones)#91524E0.090
Achromatopsia (no color)#6464640.104

Harmonies

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

Complementary

The opposite hue (180°).

  • #845D02

    #845D02

    oklch(50.6% 0.104 79.9)

  • #4065A0

    #4065A0

    oklch(50.7% 0.104 259.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #845D02

    #845D02

    oklch(50.6% 0.104 79.9)

  • #945128

    #945128

    oklch(50.7% 0.105 49.9)

  • #696A10

    #696A10

    oklch(50.7% 0.105 110.3)

Open the analogous palette in the generator

Split complementary

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

  • #845D02

    #845D02

    oklch(50.6% 0.104 79.9)

  • #006F93

    #006F93

    oklch(50.7% 0.1 229.5)

  • #65599C

    #65599C

    oklch(50.6% 0.105 290.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #845D02

    #845D02

    oklch(50.6% 0.104 79.9)

  • #007478

    #007478

    oklch(50.8% 0.086 199)

  • #7F508A

    #7F508A

    oklch(50.7% 0.104 319.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #845D02

    #845D02

    oklch(50.6% 0.104 79.9)

  • #00775C

    #00775C

    oklch(50.6% 0.1 169.9)

  • #4065A0

    #4065A0

    oklch(50.7% 0.104 259.4)

  • #904A6E

    #904A6E

    oklch(50.6% 0.104 349.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #845D02 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.