#505F2D

Closest named color: Camo Green (#526525). oklch(46% 0.076 123.1), rgb(80, 95, 45).

Aa

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

About this color

#505F2D is a medium-dark, moderately saturated brown. In OKLCH its lightness is 46%, its chroma 0.076 and its hue 123°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Camo Green (#526525), ΔE 0.023 away. White text reads best on it, at 6.96:1.

Hue familyBrowns
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.076)
Temperaturein between
Nearest nameCamo Green (#526525)
Black text3.01:1
White text6.96:1

Values

HEX#505F2D
RGBrgb(80, 95, 45)
HSLhsl(78, 36%, 27%)
OKLCHoklch(46% 0.076 123.1)

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 #505F2D 6.96:1 AA Lc -89.0 Fine for body text
Black text on #505F2D 3.01:1 AA large text Lc 20.0 Dividers and decoration only
#505F2D text on white 6.96:1 AA Lc 84.1 Fine for body text
#505F2D text on black 3.01:1 AA large text Lc -17.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 700.

  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

    #D6DCCD

    oklch(88.6% 0.021 124.7)

  4. Step 300

    300

    #BCC5AB

    oklch(80.9% 0.037 122.8)

  5. Step 400

    400

    #99A77F

    oklch(70.7% 0.058 123.5)

  6. Step 500

    500

    #81915E

    oklch(63.1% 0.074 122.7)

  7. Step 600

    600

    #6A7B44

    oklch(55.5% 0.081 123.1)

  8. Step 700

    700 (this color)

    #505F2D

    oklch(46% 0.076 123.1)

  9. Step 800

    800

    #48552D

    oklch(42.8% 0.063 123.8)

  10. Step 900

    900

    #3D4628

    oklch(37.8% 0.049 122.4)

  11. Step 950

    950

    #232918

    oklch(27% 0.031 124.2)

Export this scale for Tailwind in the Tailwind colors tool

#505F2D 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)#645A290.033
Deuteranopia (no green cones)#6259300.034
Tritanopia (no blue cones)#535B530.061
Achromatopsia (no color)#5959590.076

Harmonies

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

Complementary

The opposite hue (180°).

  • #505F2D

    #505F2D

    oklch(46% 0.076 123.1)

  • #614D7B

    #614D7B

    oklch(46% 0.076 303.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #505F2D

    #505F2D

    oklch(46% 0.076 123.1)

  • #675720

    #675720

    oklch(46.1% 0.076 92.9)

  • #346444

    #346444

    oklch(46% 0.074 153.3)

Open the analogous palette in the generator

Split complementary

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

  • #505F2D

    #505F2D

    oklch(46% 0.076 123.1)

  • #4A5582

    #4A5582

    oklch(46% 0.075 272.7)

  • #71486A

    #71486A

    oklch(46% 0.074 333)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #505F2D

    #505F2D

    oklch(46% 0.076 123.1)

  • #2F5D7F

    #2F5D7F

    oklch(46.1% 0.075 242.8)

  • #7B4554

    #7B4554

    oklch(46% 0.076 2.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #505F2D

    #505F2D

    oklch(46% 0.076 123.1)

  • #116371

    #116371

    oklch(46.1% 0.075 212.5)

  • #614D7B

    #614D7B

    oklch(46% 0.076 303.5)

  • #7D483C

    #7D483C

    oklch(46.1% 0.076 33.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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