#505C25

Closest named color: Army Green (#4B5D16). oklch(45.1% 0.08 120), rgb(80, 92, 37).

Aa

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

About this color

#505C25 is a medium-dark, moderately saturated brown. In OKLCH its lightness is 45%, its chroma 0.080 and its hue 120°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Army Green (#4B5D16), ΔE 0.018 away. White text reads best on it, at 7.24:1.

Hue familyBrowns
Lightnessmedium-dark (45%)
Chromamoderately saturated (0.080)
Temperaturein between
Nearest nameArmy Green (#4B5D16)
Black text2.89:1
White text7.24:1

Values

HEX#505C25
RGBrgb(80, 92, 37)
HSLhsl(73, 43%, 25%)
OKLCHoklch(45.1% 0.08 120)

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 #505C25 7.24:1 AAA Lc -90.0 Fine for body text
Black text on #505C25 2.89:1 Fails Lc 18.9 Dividers and decoration only
#505C25 text on white 7.24:1 AAA Lc 85.1 Fine for body text
#505C25 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

    #F5F6F1

    oklch(97.1% 0.007 115.7)

  2. Step 100

    100

    #E8EBE1

    oklch(93.5% 0.014 120.3)

  3. Step 200

    200

    #D7DCC9

    oklch(88.5% 0.026 118.9)

  4. Step 300

    300

    #BCC6A4

    oklch(81% 0.048 120.8)

  5. Step 400

    400

    #9AA873

    oklch(70.7% 0.075 120.4)

  6. Step 500

    500

    #82924D

    oklch(63.1% 0.096 119.9)

  7. Step 600

    600

    #6C7C2F

    oklch(55.6% 0.104 119.8)

  8. Step 700

    700

    #5A6822

    oklch(49% 0.096 119.7)

  9. Step 800

    800 (this color)

    #505C25

    oklch(45.1% 0.08 120)

  10. Step 900

    900

    #3D461E

    oklch(37.6% 0.062 120)

  11. Step 950

    950

    #242912

    oklch(26.9% 0.039 119.2)

Export this scale for Tailwind in the Tailwind colors tool

#505C25 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)#62571F0.030
Deuteranopia (no green cones)#6057280.030
Tritanopia (no blue cones)#5457500.068
Achromatopsia (no color)#5757570.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #505C25

    #505C25

    oklch(45.1% 0.08 120)

  • #5D4B7B

    #5D4B7B

    oklch(45.2% 0.079 300.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #505C25

    #505C25

    oklch(45.1% 0.08 120)

  • #675318

    #675318

    oklch(45.1% 0.08 89.6)

  • #32623D

    #32623D

    oklch(45.1% 0.08 149.7)

Open the analogous palette in the generator

Split complementary

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

  • #505C25

    #505C25

    oklch(45.1% 0.08 120)

  • #445382

    #445382

    oklch(45.1% 0.08 269.6)

  • #6E456B

    #6E456B

    oklch(45.2% 0.079 329.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #505C25

    #505C25

    oklch(45.1% 0.08 120)

  • #255B7D

    #255B7D

    oklch(45.1% 0.079 239.6)

  • #794254

    #794254

    oklch(45.2% 0.079 359.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #505C25

    #505C25

    oklch(45.1% 0.08 120)

  • #00616D

    #00616D

    oklch(45.1% 0.078 209.4)

  • #5D4B7B

    #5D4B7B

    oklch(45.2% 0.079 300.5)

  • #7C433B

    #7C433B

    oklch(45.1% 0.08 29)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #505C25 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.