#5A671F

Closest named color: Camo Green (#526525). oklch(48.7% 0.097 118.9), rgb(90, 103, 31).

Aa

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

About this color

#5A671F is a medium-dark, moderately saturated brown. In OKLCH its lightness is 49%, its chroma 0.097 and its hue 119°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Camo Green (#526525), ΔE 0.014 away. White text reads best on it, at 6.18:1.

Hue familyBrowns
Lightnessmedium-dark (49%)
Chromamoderately saturated (0.097)
Temperaturein between
Nearest nameCamo Green (#526525)
Black text3.39:1
White text6.18:1

Values

HEX#5A671F
RGBrgb(90, 103, 31)
HSLhsl(71, 54%, 26%)
OKLCHoklch(48.7% 0.097 118.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 #5A671F 6.18:1 AA Lc -85.9 Fine for body text
Black text on #5A671F 3.39:1 AA large text Lc 23.3 Dividers and decoration only
#5A671F text on white 6.18:1 AA Lc 80.8 Fine for body text
#5A671F text on black 3.39:1 AA large text Lc -21.1 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

    #F5F6F1

    oklch(97.1% 0.007 115.7)

  2. Step 100

    100

    #E9EBE1

    oklch(93.6% 0.013 115.8)

  3. Step 200

    200

    #D7DCC9

    oklch(88.5% 0.026 118.9)

  4. Step 300

    300

    #BDC5A4

    oklch(80.8% 0.046 118.5)

  5. Step 400

    400

    #9BA872

    oklch(70.8% 0.076 119.4)

  6. Step 500

    500

    #83924C

    oklch(63.2% 0.096 119.2)

  7. Step 600

    600

    #6D7C2E

    oklch(55.7% 0.104 119.1)

  8. Step 700

    700 (this color)

    #5A671F

    oklch(48.7% 0.097 118.9)

  9. Step 800

    800

    #4A551D

    oklch(42.7% 0.08 119.3)

  10. Step 900

    900

    #3E461E

    oklch(37.7% 0.062 118.8)

  11. Step 950

    950

    #242912

    oklch(26.9% 0.039 119.2)

Export this scale for Tailwind in the Tailwind colors tool

#5A671F 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)#6E61150.033
Deuteranopia (no green cones)#6C61240.034
Tritanopia (no blue cones)#5F61580.082
Achromatopsia (no color)#6161610.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A671F

    #5A671F

    oklch(48.7% 0.097 118.9)

  • #67528F

    #67528F

    oklch(48.7% 0.098 298.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A671F

    #5A671F

    oklch(48.7% 0.097 118.9)

  • #765C08

    #765C08

    oklch(48.8% 0.097 88.7)

  • #336F40

    #336F40

    oklch(48.9% 0.097 148.8)

Open the analogous palette in the generator

Split complementary

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

  • #5A671F

    #5A671F

    oklch(48.7% 0.097 118.9)

  • #495C96

    #495C96

    oklch(48.7% 0.096 268.9)

  • #7D4A7A

    #7D4A7A

    oklch(48.6% 0.097 329)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A671F

    #5A671F

    oklch(48.7% 0.097 118.9)

  • #1D6690

    #1D6690

    oklch(48.7% 0.097 239.1)

  • #8B465E

    #8B465E

    oklch(48.7% 0.097 359.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A671F

    #5A671F

    oklch(48.7% 0.097 118.9)

  • #006C79

    #006C79

    oklch(48.6% 0.084 209.2)

  • #67528F

    #67528F

    oklch(48.7% 0.098 298.6)

  • #8E483F

    #8E483F

    oklch(48.6% 0.097 28.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5A671F 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.