#505D12

Closest named color: Army Green (#4B5D16). oklch(45.2% 0.097 119.2), rgb(80, 93, 18).

Aa

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

About this color

#505D12 is a medium-dark, moderately saturated brown. In OKLCH its lightness is 45%, its chroma 0.097 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.007 away. White text reads best on it, at 7.20:1.

Hue familyBrowns
Lightnessmedium-dark (45%)
Chromamoderately saturated (0.097)
Temperaturein between
Nearest nameArmy Green (#4B5D16)
Black text2.91:1
White text7.20:1

Values

HEX#505D12
RGBrgb(80, 93, 18)
HSLhsl(70, 68%, 22%)
OKLCHoklch(45.2% 0.097 119.2)

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 #505D12 7.20:1 AAA Lc -89.8 Fine for body text
Black text on #505D12 2.91:1 Fails Lc 19.1 Dividers and decoration only
#505D12 text on white 7.20:1 AAA Lc 84.9 Fine for body text
#505D12 text on black 2.91:1 Fails Lc -17.1 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

    #E8ECE0

    oklch(93.7% 0.017 121.8)

  3. Step 200

    200

    #D6DCC5

    oklch(88.4% 0.032 118.9)

  4. Step 300

    300

    #BCC69D

    oklch(80.8% 0.057 118.8)

  5. Step 400

    400

    #9AA967

    oklch(70.7% 0.091 119.2)

  6. Step 500

    500

    #82933A

    oklch(63.1% 0.116 119)

  7. Step 600

    600

    #6B7D0F

    oklch(55.6% 0.126 119.5)

  8. Step 700

    700

    #5A6900

    oklch(49.1% 0.115 119)

  9. Step 800

    800 (this color)

    #505D12

    oklch(45.2% 0.097 119.2)

  10. Step 900

    900

    #3D4712

    oklch(37.7% 0.076 119.4)

  11. Step 950

    950

    #242A0C

    oklch(27.1% 0.049 119.3)

Export this scale for Tailwind in the Tailwind colors tool

#505D12 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)#6457030.034
Deuteranopia (no green cones)#6257190.035
Tritanopia (no blue cones)#55584F0.082
Achromatopsia (no color)#5757570.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #505D12

    #505D12

    oklch(45.2% 0.097 119.2)

  • #5E4884

    #5E4884

    oklch(45.2% 0.098 299.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #505D12

    #505D12

    oklch(45.2% 0.097 119.2)

  • #6A5200

    #6A5200

    oklch(45.1% 0.092 89.1)

  • #276437

    #276437

    oklch(45.1% 0.096 149.6)

Open the analogous palette in the generator

Split complementary

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

  • #505D12

    #505D12

    oklch(45.2% 0.097 119.2)

  • #40528C

    #40528C

    oklch(45.2% 0.098 269.2)

  • #734070

    #734070

    oklch(45.2% 0.098 329.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #505D12

    #505D12

    oklch(45.2% 0.097 119.2)

  • #0D5C86

    #0D5C86

    oklch(45.2% 0.098 239.4)

  • #803C54

    #803C54

    oklch(45.2% 0.098 359.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #505D12

    #505D12

    oklch(45.2% 0.097 119.2)

  • #00616D

    #00616D

    oklch(45.1% 0.078 209.4)

  • #5E4884

    #5E4884

    oklch(45.2% 0.098 299.4)

  • #833E35

    #833E35

    oklch(45.1% 0.097 29.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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