#5A642B

Closest named color: Camo Green (#526525). oklch(48.1% 0.081 117.8), rgb(90, 100, 43).

Aa

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

About this color

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

Hue familyBrowns
Lightnessmedium-dark (48%)
Chromamoderately saturated (0.081)
Temperaturein between
Nearest nameCamo Green (#526525)
Black text3.29:1
White text6.37:1

Values

HEX#5A642B
RGBrgb(90, 100, 43)
HSLhsl(71, 40%, 28%)
OKLCHoklch(48.1% 0.081 117.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 #5A642B 6.37:1 AA Lc -86.8 Fine for body text
Black text on #5A642B 3.29:1 AA large text Lc 22.4 Dividers and decoration only
#5A642B text on white 6.37:1 AA Lc 81.7 Fine for body text
#5A642B text on black 3.29:1 AA large text Lc -20.2 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

    #F5F6F2

    oklch(97.1% 0.005 117.9)

  2. Step 100

    100

    #E9EBE3

    oklch(93.6% 0.011 118)

  3. Step 200

    200

    #D7DBCB

    oklch(88.4% 0.022 118.3)

  4. Step 300

    300

    #BEC4A8

    oklch(80.8% 0.039 117.1)

  5. Step 400

    400

    #9DA67A

    oklch(70.7% 0.062 117.4)

  6. Step 500

    500

    #859057

    oklch(63% 0.08 117.7)

  7. Step 600

    600

    #6F7A3C

    oklch(55.6% 0.087 117.6)

  8. Step 700

    700 (this color)

    #5A642B

    oklch(48.1% 0.081 117.8)

  9. Step 800

    800

    #4C5427

    oklch(42.7% 0.067 117.7)

  10. Step 900

    900

    #3F4524

    oklch(37.6% 0.052 117.4)

  11. Step 950

    950

    #252916

    oklch(27.1% 0.033 118.4)

Export this scale for Tailwind in the Tailwind colors tool

#5A642B 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)#6A5F250.027
Deuteranopia (no green cones)#695F2E0.028
Tritanopia (no blue cones)#5F5F570.069
Achromatopsia (no color)#5F5F5F0.081

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A642B

    #5A642B

    oklch(48.1% 0.081 117.8)

  • #635386

    #635386

    oklch(48% 0.082 297.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A642B

    #5A642B

    oklch(48.1% 0.081 117.8)

  • #715B20

    #715B20

    oklch(48.1% 0.081 88.2)

  • #3C6A43

    #3C6A43

    oklch(48% 0.08 147.8)

Open the analogous palette in the generator

Split complementary

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

  • #5A642B

    #5A642B

    oklch(48.1% 0.081 117.8)

  • #4A5C8C

    #4A5C8C

    oklch(48.2% 0.081 267.7)

  • #774D75

    #774D75

    oklch(48.2% 0.081 328.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A642B

    #5A642B

    oklch(48.1% 0.081 117.8)

  • #2B6486

    #2B6486

    oklch(48.1% 0.081 237.9)

  • #824A5E

    #824A5E

    oklch(48.1% 0.08 357.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A642B

    #5A642B

    oklch(48.1% 0.081 117.8)

  • #066A76

    #066A76

    oklch(48% 0.081 208.6)

  • #635386

    #635386

    oklch(48% 0.082 297.7)

  • #864B44

    #864B44

    oklch(48.1% 0.081 27.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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