#505107

Closest named color: Green Brown (#544E03). oklch(42% 0.088 110.5), rgb(80, 81, 7).

Aa

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

About this color

#505107 is a dark, moderately saturated brown. In OKLCH its lightness is 42%, its chroma 0.088 and its hue 111°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Green Brown (#544E03), ΔE 0.010 away. White text reads best on it, at 8.32:1.

Hue familyBrowns
Lightnessdark (42%)
Chromamoderately saturated (0.088)
Temperaturein between
Nearest nameGreen Brown (#544E03)
Black text2.52:1
White text8.32:1

Values

HEX#505107
RGBrgb(80, 81, 7)
HSLhsl(61, 84%, 17%)
OKLCHoklch(42% 0.088 110.5)

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 #505107 8.32:1 AAA Lc -93.2 Preferred for body text
Black text on #505107 2.52:1 Fails Lc 15.4 Dividers and decoration only
#505107 text on white 8.32:1 AAA Lc 88.6 Fine for body text
#505107 text on black 2.52:1 Fails Lc -13.6 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

    #F5F6F1

    oklch(97.1% 0.007 115.7)

  2. Step 100

    100

    #EAEBE0

    oklch(93.6% 0.015 110.9)

  3. Step 200

    200

    #DADBC6

    oklch(88.5% 0.028 109.2)

  4. Step 300

    300

    #C2C49E

    oklch(80.9% 0.051 110)

  5. Step 400

    400

    #A3A668

    oklch(70.8% 0.083 110.7)

  6. Step 500

    500

    #8D8F3D

    oklch(63.1% 0.105 110.4)

  7. Step 600

    600

    #777914

    oklch(55.7% 0.115 110.8)

  8. Step 700

    700

    #646502

    oklch(49% 0.106 110.4)

  9. Step 800

    800 (this color)

    #505107

    oklch(42% 0.088 110.5)

  10. Step 900

    900

    #444513

    oklch(37.8% 0.07 110.4)

  11. Step 950

    950

    #28280D

    oklch(27% 0.043 109)

Export this scale for Tailwind in the Tailwind colors tool

#505107 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)#584D000.016
Deuteranopia (no green cones)#594F0F0.018
Tritanopia (no blue cones)#564B440.080
Achromatopsia (no color)#4E4E4E0.089

Harmonies

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

Complementary

The opposite hue (180°).

  • #505107

    #505107

    oklch(42% 0.088 110.5)

  • #4D437A

    #4D437A

    oklch(41.9% 0.09 290.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #505107

    #505107

    oklch(42% 0.088 110.5)

  • #654700

    #654700

    oklch(42% 0.087 81)

  • #305929

    #305929

    oklch(42.1% 0.089 140.8)

Open the analogous palette in the generator

Split complementary

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

  • #505107

    #505107

    oklch(42% 0.088 110.5)

  • #304C7D

    #304C7D

    oklch(41.9% 0.089 260.9)

  • #633C6B

    #633C6B

    oklch(42.2% 0.089 320.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #505107

    #505107

    oklch(42% 0.088 110.5)

  • #005572

    #005572

    oklch(42.1% 0.084 230)

  • #703753

    #703753

    oklch(42% 0.088 350.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #505107

    #505107

    oklch(42% 0.088 110.5)

  • #00595D

    #00595D

    oklch(42.2% 0.072 200.1)

  • #4D437A

    #4D437A

    oklch(41.9% 0.09 290.3)

  • #763738

    #763738

    oklch(42% 0.089 20.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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