#505D26

Closest named color: Army Green (#4B5D16). oklch(45.4% 0.08 120.8), rgb(80, 93, 38).

Aa

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

About this color

#505D26 is a medium-dark, moderately saturated brown. In OKLCH its lightness is 45%, its chroma 0.080 and its hue 121°. 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.15:1.

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

Values

HEX#505D26
RGBrgb(80, 93, 38)
HSLhsl(74, 42%, 26%)
OKLCHoklch(45.4% 0.08 120.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 #505D26 7.15:1 AAA Lc -89.7 Fine for body text
Black text on #505D26 2.93:1 Fails Lc 19.3 Dividers and decoration only
#505D26 text on white 7.15:1 AAA Lc 84.8 Fine for body text
#505D26 text on black 2.93:1 Fails Lc -17.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 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

    #D6DCC9

    oklch(88.5% 0.026 121.2)

  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

    #81924D

    oklch(63% 0.096 120.6)

  7. Step 600

    600

    #6B7C30

    oklch(55.6% 0.103 120.5)

  8. Step 700

    700

    #596922

    oklch(49.2% 0.097 120.9)

  9. Step 800

    800 (this color)

    #505D26

    oklch(45.4% 0.08 120.8)

  10. Step 900

    900

    #3D471E

    oklch(37.8% 0.064 120.9)

  11. Step 950

    950

    #242913

    oklch(26.9% 0.038 119.5)

Export this scale for Tailwind in the Tailwind colors tool

#505D26 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)#6358200.031
Deuteranopia (no green cones)#6158290.031
Tritanopia (no blue cones)#5458510.068
Achromatopsia (no color)#5858580.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #505D26

    #505D26

    oklch(45.4% 0.08 120.8)

  • #5E4B7C

    #5E4B7C

    oklch(45.3% 0.081 301.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #505D26

    #505D26

    oklch(45.4% 0.08 120.8)

  • #675418

    #675418

    oklch(45.3% 0.08 90.8)

  • #31633F

    #31633F

    oklch(45.4% 0.08 151.2)

Open the analogous palette in the generator

Split complementary

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

  • #505D26

    #505D26

    oklch(45.4% 0.08 120.8)

  • #465383

    #465383

    oklch(45.3% 0.08 271.4)

  • #70456B

    #70456B

    oklch(45.4% 0.081 331)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #505D26

    #505D26

    oklch(45.4% 0.08 120.8)

  • #275C7F

    #275C7F

    oklch(45.5% 0.08 240.7)

  • #7A4254

    #7A4254

    oklch(45.3% 0.08 0.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #505D26

    #505D26

    oklch(45.4% 0.08 120.8)

  • #00626F

    #00626F

    oklch(45.5% 0.079 210.5)

  • #5E4B7C

    #5E4B7C

    oklch(45.3% 0.081 301.1)

  • #7D443A

    #7D443A

    oklch(45.4% 0.081 31)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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