#505F2B

Closest named color: Camo Green (#526525). oklch(46% 0.078 122.8), rgb(80, 95, 43).

Aa

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

About this color

#505F2B is a medium-dark, moderately saturated brown. In OKLCH its lightness is 46%, its chroma 0.078 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.022 away. White text reads best on it, at 6.97:1.

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

Values

HEX#505F2B
RGBrgb(80, 95, 43)
HSLhsl(77, 38%, 27%)
OKLCHoklch(46% 0.078 122.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 #505F2B 6.97:1 AA Lc -89.0 Fine for body text
Black text on #505F2B 3.01:1 AA large text Lc 20.0 Dividers and decoration only
#505F2B text on white 6.97:1 AA Lc 84.1 Fine for body text
#505F2B 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

    #BCC5AA

    oklch(80.9% 0.038 122.3)

  5. Step 400

    400

    #99A77E

    oklch(70.6% 0.06 123.2)

  6. Step 500

    500

    #81915C

    oklch(63% 0.077 122.3)

  7. Step 600

    600

    #6A7B42

    oklch(55.5% 0.083 122.7)

  8. Step 700

    700 (this color)

    #505F2B

    oklch(46% 0.078 122.8)

  9. Step 800

    800

    #48552B

    oklch(42.7% 0.066 123.3)

  10. Step 900

    900

    #3D4627

    oklch(37.7% 0.05 122)

  11. Step 950

    950

    #232917

    oklch(26.9% 0.033 123.6)

Export this scale for Tailwind in the Tailwind colors tool

#505F2B 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)#645A260.032
Deuteranopia (no green cones)#62592E0.034
Tritanopia (no blue cones)#545B530.063
Achromatopsia (no color)#5959590.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #505F2B

    #505F2B

    oklch(46% 0.078 122.8)

  • #614D7C

    #614D7C

    oklch(46.1% 0.078 303)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #505F2B

    #505F2B

    oklch(46% 0.078 122.8)

  • #67571E

    #67571E

    oklch(46.1% 0.078 93.3)

  • #326543

    #326543

    oklch(46.1% 0.079 153)

Open the analogous palette in the generator

Split complementary

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

  • #505F2B

    #505F2B

    oklch(46% 0.078 122.8)

  • #495584

    #495584

    oklch(46.1% 0.078 272.1)

  • #72476B

    #72476B

    oklch(46% 0.078 332.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #505F2B

    #505F2B

    oklch(46% 0.078 122.8)

  • #2D5D80

    #2D5D80

    oklch(46.1% 0.077 242.6)

  • #7C4554

    #7C4554

    oklch(46.1% 0.078 3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #505F2B

    #505F2B

    oklch(46% 0.078 122.8)

  • #096372

    #096372

    oklch(46% 0.078 213.1)

  • #614D7C

    #614D7C

    oklch(46.1% 0.078 303)

  • #7E473B

    #7E473B

    oklch(46.1% 0.078 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 #505F2B, closest first.

Similar named colors

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

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