#525A42

Closest named color: Pine (#2B5D34). oklch(45.3% 0.039 122.9), rgb(82, 90, 66).

Aa

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

About this color

#525A42 is a medium-dark, muted brown. In OKLCH its lightness is 45%, its chroma 0.039 and its hue 123°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine (#2B5D34), ΔE 0.058 away. White text reads best on it, at 7.24:1.

Hue familyBrowns
Lightnessmedium-dark (45%)
Chromamuted (0.039)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.89:1
White text7.24:1

Values

HEX#525A42
RGBrgb(82, 90, 66)
HSLhsl(80, 15%, 31%)
OKLCHoklch(45.3% 0.039 122.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 #525A42 7.24:1 AAA Lc -90.0 Preferred for body text
Black text on #525A42 2.89:1 Fails Lc 18.9 Dividers and decoration only
#525A42 text on white 7.24:1 AAA Lc 85.2 Fine for body text
#525A42 text on black 2.89:1 Fails Lc -16.9 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 800.

  1. Step 50

    50

    #F5F6F3

    oklch(97.2% 0.004 121.6)

  2. Step 100

    100

    #E9EBE6

    oklch(93.7% 0.007 124.5)

  3. Step 200

    200

    #D7DBD2

    oklch(88.6% 0.013 126.4)

  4. Step 300

    300

    #BEC3B3

    oklch(80.9% 0.023 121.1)

  5. Step 400

    400

    #9CA58C

    oklch(70.8% 0.037 123.5)

  6. Step 500

    500

    #848E6F

    oklch(63% 0.046 122.3)

  7. Step 600

    600

    #6E7858

    oklch(55.5% 0.049 122.1)

  8. Step 700

    700

    #5C6548

    oklch(49.1% 0.046 122.1)

  9. Step 800

    800 (this color)

    #525A42

    oklch(45.3% 0.039 122.9)

  10. Step 900

    900

    #3E4433

    oklch(37.6% 0.029 123.6)

  11. Step 950

    950

    #25281E

    oklch(27% 0.018 121.2)

Export this scale for Tailwind in the Tailwind colors tool

#525A42 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)#5D57410.019
Deuteranopia (no green cones)#5C57430.018
Tritanopia (no blue cones)#5458540.031
Achromatopsia (no color)#5757570.039

Harmonies

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

Complementary

The opposite hue (180°).

  • #525A42

    #525A42

    oklch(45.3% 0.039 122.9)

  • #5A5168

    #5A5168

    oklch(45.2% 0.039 302.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #525A42

    #525A42

    oklch(45.3% 0.039 122.9)

  • #5E563D

    #5E563D

    oklch(45.4% 0.039 92.4)

  • #465D4C

    #465D4C

    oklch(45.4% 0.039 152.7)

Open the analogous palette in the generator

Split complementary

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

  • #525A42

    #525A42

    oklch(45.3% 0.039 122.9)

  • #4F556C

    #4F556C

    oklch(45.3% 0.038 273.4)

  • #644E60

    #644E60

    oklch(45.3% 0.04 332.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #525A42

    #525A42

    oklch(45.3% 0.039 122.9)

  • #43596A

    #43596A

    oklch(45.3% 0.039 241.9)

  • #694D54

    #694D54

    oklch(45.2% 0.039 2.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #525A42

    #525A42

    oklch(45.3% 0.039 122.9)

  • #3C5C63

    #3C5C63

    oklch(45.3% 0.039 212.9)

  • #5A5168

    #5A5168

    oklch(45.2% 0.039 302.7)

  • #6A4F48

    #6A4F48

    oklch(45.4% 0.038 35)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #525A42 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.