#505B20

Closest named color: Army Green (#4B5D16). oklch(44.8% 0.083 118.8), rgb(80, 91, 32).

Aa

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

About this color

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

Hue familyBrowns
Lightnessdark (45%)
Chromamoderately saturated (0.083)
Temperaturein between
Nearest nameArmy Green (#4B5D16)
Black text2.85:1
White text7.34:1

Values

HEX#505B20
RGBrgb(80, 91, 32)
HSLhsl(71, 48%, 24%)
OKLCHoklch(44.8% 0.083 118.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 #505B20 7.34:1 AAA Lc -90.3 Preferred for body text
Black text on #505B20 2.85:1 Fails Lc 18.6 Dividers and decoration only
#505B20 text on white 7.34:1 AAA Lc 85.5 Fine for body text
#505B20 text on black 2.85:1 Fails Lc -16.6 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

    #E9EBE1

    oklch(93.6% 0.013 115.8)

  3. Step 200

    200

    #D7DCC8

    oklch(88.5% 0.027 118.4)

  4. Step 300

    300

    #BDC6A2

    oklch(81% 0.05 118.9)

  5. Step 400

    400

    #9BA870

    oklch(70.7% 0.078 119.1)

  6. Step 500

    500

    #839249

    oklch(63.1% 0.1 118.9)

  7. Step 600

    600

    #6D7C29

    oklch(55.7% 0.109 118.8)

  8. Step 700

    700

    #5B681B

    oklch(49% 0.101 118.6)

  9. Step 800

    800 (this color)

    #505B20

    oklch(44.8% 0.083 118.8)

  10. Step 900

    900

    #3E461B

    oklch(37.6% 0.065 118.4)

  11. Step 950

    950

    #242911

    oklch(26.9% 0.041 118.9)

Export this scale for Tailwind in the Tailwind colors tool

#505B20 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)#6156190.029
Deuteranopia (no green cones)#6056240.031
Tritanopia (no blue cones)#55564E0.071
Achromatopsia (no color)#5656560.084

Harmonies

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

Complementary

The opposite hue (180°).

  • #505B20

    #505B20

    oklch(44.8% 0.083 118.8)

  • #5B4A7D

    #5B4A7D

    oklch(44.9% 0.083 298.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #505B20

    #505B20

    oklch(44.8% 0.083 118.8)

  • #675212

    #675212

    oklch(44.8% 0.083 89.5)

  • #30613A

    #30613A

    oklch(44.7% 0.083 148.8)

Open the analogous palette in the generator

Split complementary

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

  • #505B20

    #505B20

    oklch(44.8% 0.083 118.8)

  • #425283

    #425283

    oklch(44.8% 0.083 269.2)

  • #6E436C

    #6E436C

    oklch(44.8% 0.084 328.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #505B20

    #505B20

    oklch(44.8% 0.083 118.8)

  • #1F5B7E

    #1F5B7E

    oklch(45% 0.083 238.5)

  • #794054

    #794054

    oklch(44.8% 0.083 358.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #505B20

    #505B20

    oklch(44.8% 0.083 118.8)

  • #00606C

    #00606C

    oklch(44.8% 0.077 209.6)

  • #5B4A7D

    #5B4A7D

    oklch(44.9% 0.083 298.3)

  • #7D4139

    #7D4139

    oklch(44.8% 0.085 28.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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