#645A28

Closest named color: Olive Brown (#645403). oklch(46.6% 0.07 98.2), rgb(100, 90, 40).

Aa

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

About this color

#645A28 is a medium-dark, moderately saturated brown. In OKLCH its lightness is 47%, its chroma 0.070 and its hue 98°. Its hue sits on the warm side of the wheel. The nearest named color is Olive Brown (#645403), ΔE 0.027 away. White text reads best on it, at 6.91:1.

Hue familyBrowns
Lightnessmedium-dark (47%)
Chromamoderately saturated (0.070)
Temperaturewarm
Nearest nameOlive Brown (#645403)
Black text3.03:1
White text6.91:1

Values

HEX#645A28
RGBrgb(100, 90, 40)
HSLhsl(50, 43%, 27%)
OKLCHoklch(46.6% 0.07 98.2)

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 #645A28 6.91:1 AA Lc -88.9 Fine for body text
Black text on #645A28 3.03:1 AA large text Lc 20.2 Dividers and decoration only
#645A28 text on white 6.91:1 AA Lc 83.9 Fine for body text
#645A28 text on black 3.03:1 AA large text Lc -18.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

    #F6F5F2

    oklch(97% 0.004 91.4)

  2. Step 100

    100

    #EBEAE3

    oklch(93.6% 0.009 100)

  3. Step 200

    200

    #DCD9CC

    oklch(88.4% 0.018 96.1)

  4. Step 300

    300

    #C6C1A9

    oklch(80.9% 0.033 97.4)

  5. Step 400

    400

    #A9A17A

    oklch(70.6% 0.055 97.9)

  6. Step 500

    500

    #948A58

    oklch(63% 0.07 98.3)

  7. Step 600

    600

    #7F743D

    oklch(55.6% 0.076 98.3)

  8. Step 700

    700 (this color)

    #645A28

    oklch(46.6% 0.07 98.2)

  9. Step 800

    800

    #574F28

    oklch(42.6% 0.058 98)

  10. Step 900

    900

    #484225

    oklch(37.7% 0.045 97.9)

  11. Step 950

    950

    #2A2716

    oklch(27.1% 0.029 99.4)

Export this scale for Tailwind in the Tailwind colors tool

#645A28 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)#6258230.008
Deuteranopia (no green cones)#655B2A0.004
Tritanopia (no blue cones)#6B544F0.064
Achromatopsia (no color)#5A5A5A0.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #645A28

    #645A28

    oklch(46.6% 0.07 98.2)

  • #505681

    #505681

    oklch(46.7% 0.07 277.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #645A28

    #645A28

    oklch(46.6% 0.07 98.2)

  • #74522B

    #74522B

    oklch(46.7% 0.071 68.3)

  • #4E6135

    #4E6135

    oklch(46.5% 0.07 128)

Open the analogous palette in the generator

Split complementary

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

  • #645A28

    #645A28

    oklch(46.6% 0.07 98.2)

  • #385D7F

    #385D7F

    oklch(46.6% 0.07 247.6)

  • #654F78

    #654F78

    oklch(46.7% 0.07 308.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #645A28

    #645A28

    oklch(46.6% 0.07 98.2)

  • #216374

    #216374

    oklch(46.6% 0.07 218.3)

  • #734A67

    #734A67

    oklch(46.5% 0.07 338.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #645A28

    #645A28

    oklch(46.6% 0.07 98.2)

  • #1D6661

    #1D6661

    oklch(46.5% 0.07 188.4)

  • #505681

    #505681

    oklch(46.7% 0.07 277.2)

  • #7B4852

    #7B4852

    oklch(46.5% 0.071 7.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #645A28 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.