#505128

Closest named color: Green Brown (#544E03). oklch(42.4% 0.061 110), rgb(80, 81, 40).

Aa

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

About this color

#505128 is a dark, muted brown. In OKLCH its lightness is 42%, its chroma 0.061 and its hue 110°. Its hue sits on the warm side of the wheel. The nearest named color is Green Brown (#544E03), ΔE 0.028 away. White text reads best on it, at 8.23:1.

Hue familyBrowns
Lightnessdark (42%)
Chromamuted (0.061)
Temperaturewarm
Nearest nameGreen Brown (#544E03)
Black text2.54:1
White text8.23:1

Values

HEX#505128
RGBrgb(80, 81, 40)
HSLhsl(61, 34%, 24%)
OKLCHoklch(42.4% 0.061 110)

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 #505128 8.23:1 AAA Lc -93.1 Preferred for body text
Black text on #505128 2.54:1 Fails Lc 15.5 Dividers and decoration only
#505128 text on white 8.23:1 AAA Lc 88.4 Fine for body text
#505128 text on black 2.54:1 Fails Lc -13.7 Not readable

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

    #F5F6F2

    oklch(97.1% 0.005 117.9)

  2. Step 100

    100

    #EAEAE3

    oklch(93.5% 0.009 106.6)

  3. Step 200

    200

    #D9DACC

    oklch(88.4% 0.019 110.1)

  4. Step 300

    300

    #C1C3A9

    oklch(80.9% 0.036 110.8)

  5. Step 400

    400

    #A2A47B

    oklch(70.6% 0.057 110.1)

  6. Step 500

    500

    #8C8E59

    oklch(63.2% 0.073 110.2)

  7. Step 600

    600

    #76773F

    oklch(55.5% 0.078 109.6)

  8. Step 700

    700

    #636430

    oklch(49% 0.073 109.8)

  9. Step 800

    800 (this color)

    #505128

    oklch(42.4% 0.061 110)

  10. Step 900

    900

    #434426

    oklch(37.8% 0.047 110.1)

  11. Step 950

    950

    #272816

    oklch(27% 0.031 111)

Export this scale for Tailwind in the Tailwind colors tool

#505128 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)#574E240.013
Deuteranopia (no green cones)#574F2A0.014
Tritanopia (no blue cones)#554D470.053
Achromatopsia (no color)#4F4F4F0.061

Harmonies

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

Complementary

The opposite hue (180°).

  • #505128

    #505128

    oklch(42.4% 0.061 110)

  • #4D486D

    #4D486D

    oklch(42.3% 0.061 289.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #505128

    #505128

    oklch(42.4% 0.061 110)

  • #5F4A25

    #5F4A25

    oklch(42.3% 0.06 80.1)

  • #3C5636

    #3C5636

    oklch(42.3% 0.06 139.8)

Open the analogous palette in the generator

Split complementary

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

  • #505128

    #505128

    oklch(42.4% 0.061 110)

  • #3A4E6F

    #3A4E6F

    oklch(42.2% 0.061 260.1)

  • #5D4363

    #5D4363

    oklch(42.4% 0.061 319.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #505128

    #505128

    oklch(42.4% 0.061 110)

  • #265469

    #265469

    oklch(42.3% 0.061 230.3)

  • #674053

    #674053

    oklch(42.3% 0.061 349.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #505128

    #505128

    oklch(42.4% 0.061 110)

  • #1C585B

    #1C585B

    oklch(42.4% 0.06 199.8)

  • #4D486D

    #4D486D

    oklch(42.3% 0.061 289.7)

  • #6B4040

    #6B4040

    oklch(42.2% 0.06 19.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #505128 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.