#874F12

Closest named color: Medium Brown (#7F5112). oklch(48.3% 0.103 61.8), rgb(135, 79, 18).

Aa

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

About this color

#874F12 is a medium-dark, moderately saturated brown. In OKLCH its lightness is 48%, its chroma 0.103 and its hue 62°. Its hue sits on the warm side of the wheel. The nearest named color is Medium Brown (#7F5112), ΔE 0.016 away. White text reads best on it, at 6.65:1.

Hue familyBrowns
Lightnessmedium-dark (48%)
Chromamoderately saturated (0.103)
Temperaturewarm
Nearest nameMedium Brown (#7F5112)
Black text3.15:1
White text6.65:1

Values

HEX#874F12
RGBrgb(135, 79, 18)
HSLhsl(31, 76%, 30%)
OKLCHoklch(48.3% 0.103 61.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 #874F12 6.65:1 AA Lc -87.6 Fine for body text
Black text on #874F12 3.15:1 AA large text Lc 21.5 Dividers and decoration only
#874F12 text on white 6.65:1 AA Lc 82.5 Fine for body text
#874F12 text on black 3.15:1 AA large text Lc -19.4 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

    #F9F4F1

    oklch(97% 0.007 53.4)

  2. Step 100

    100

    #F1E8E0

    oklch(93.6% 0.015 64.3)

  3. Step 200

    200

    #E7D6C7

    oklch(88.6% 0.028 63.9)

  4. Step 300

    300

    #D9BAA0

    oklch(80.9% 0.05 62)

  5. Step 400

    400

    #C5966D

    oklch(70.8% 0.079 62.1)

  6. Step 500

    500

    #B57B44

    oklch(63.1% 0.102 62.7)

  7. Step 600

    600

    #A16323

    oklch(55.7% 0.111 62.2)

  8. Step 700

    700 (this color)

    #874F12

    oklch(48.3% 0.103 61.8)

  9. Step 800

    800

    #704315

    oklch(42.8% 0.086 61.9)

  10. Step 900

    900

    #5B3919

    oklch(37.8% 0.067 61.7)

  11. Step 950

    950

    #352110

    oklch(26.9% 0.042 60)

Export this scale for Tailwind in the Tailwind colors tool

#874F12 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)#6055050.074
Deuteranopia (no green cones)#6E61130.064
Tritanopia (no blue cones)#9442440.076
Achromatopsia (no color)#5C5C5C0.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #874F12

    #874F12

    oklch(48.3% 0.103 61.8)

  • #196493

    #196493

    oklch(48.3% 0.103 241.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #874F12

    #874F12

    oklch(48.3% 0.103 61.8)

  • #8F4638

    #8F4638

    oklch(48.3% 0.102 32.2)

  • #735C00

    #735C00

    oklch(48.4% 0.099 91.8)

Open the analogous palette in the generator

Split complementary

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

  • #874F12

    #874F12

    oklch(48.3% 0.103 61.8)

  • #006B7A

    #006B7A

    oklch(48.4% 0.084 211.5)

  • #4A5998

    #4A5998

    oklch(48.2% 0.103 271.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #874F12

    #874F12

    oklch(48.3% 0.103 61.8)

  • #006E62

    #006E62

    oklch(48.3% 0.087 181.9)

  • #694F8F

    #694F8F

    oklch(48.3% 0.103 301.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #874F12

    #874F12

    oklch(48.3% 0.103 61.8)

  • #276F40

    #276F40

    oklch(48.4% 0.104 151.8)

  • #196493

    #196493

    oklch(48.3% 0.103 241.9)

  • #7F4778

    #7F4778

    oklch(48.3% 0.102 331.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #874F12 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.