#505E2F

Closest named color: Army Green (#4B5D16). oklch(45.8% 0.072 122.9), rgb(80, 94, 47).

Aa

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

About this color

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

Hue familyBrowns
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.072)
Temperaturein between
Nearest nameArmy Green (#4B5D16)
Black text2.98:1
White text7.03:1

Values

HEX#505E2F
RGBrgb(80, 94, 47)
HSLhsl(78, 33%, 28%)
OKLCHoklch(45.8% 0.072 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 #505E2F 7.03:1 AAA Lc -89.3 Fine for body text
Black text on #505E2F 2.98:1 Fails Lc 19.7 Dividers and decoration only
#505E2F text on white 7.03:1 AAA Lc 84.4 Fine for body text
#505E2F text on black 2.98:1 Fails Lc -17.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

    #F5F6F2

    oklch(97.1% 0.005 117.9)

  2. Step 100

    100

    #E8EBE3

    oklch(93.6% 0.011 123.5)

  3. Step 200

    200

    #D6DCCB

    oklch(88.5% 0.024 122.8)

  4. Step 300

    300

    #BBC5A8

    oklch(80.8% 0.041 122.8)

  5. Step 400

    400

    #99A879

    oklch(70.8% 0.067 122.5)

  6. Step 500

    500

    #809257

    oklch(63.1% 0.085 122.7)

  7. Step 600

    600

    #697C3B

    oklch(55.6% 0.093 122.9)

  8. Step 700

    700

    #58692D

    oklch(49.2% 0.087 122.8)

  9. Step 800

    800 (this color)

    #505E2F

    oklch(45.8% 0.072 122.9)

  10. Step 900

    900

    #3C4624

    oklch(37.6% 0.055 122.5)

  11. Step 950

    950

    #232915

    oklch(26.9% 0.036 122.4)

Export this scale for Tailwind in the Tailwind colors tool

#505E2F 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)#63592B0.031
Deuteranopia (no green cones)#6159320.031
Tritanopia (no blue cones)#535A530.059
Achromatopsia (no color)#5959590.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #505E2F

    #505E2F

    oklch(45.8% 0.072 122.9)

  • #5F4D79

    #5F4D79

    oklch(45.7% 0.073 302.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #505E2F

    #505E2F

    oklch(45.8% 0.072 122.9)

  • #655624

    #655624

    oklch(45.7% 0.071 92.7)

  • #366344

    #366344

    oklch(45.8% 0.071 152.7)

Open the analogous palette in the generator

Split complementary

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

  • #505E2F

    #505E2F

    oklch(45.8% 0.072 122.9)

  • #4A5580

    #4A5580

    oklch(45.9% 0.072 272.4)

  • #6F4869

    #6F4869

    oklch(45.8% 0.072 332.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #505E2F

    #505E2F

    oklch(45.8% 0.072 122.9)

  • #315C7C

    #315C7C

    oklch(45.8% 0.071 242.6)

  • #794654

    #794654

    oklch(45.9% 0.072 2.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #505E2F

    #505E2F

    oklch(45.8% 0.072 122.9)

  • #18626F

    #18626F

    oklch(45.9% 0.072 212.2)

  • #5F4D79

    #5F4D79

    oklch(45.7% 0.073 302.4)

  • #7A483D

    #7A483D

    oklch(45.8% 0.071 33.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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