#5A5012

Closest named color: Green Brown (#544E03). oklch(42.9% 0.08 99.7), rgb(90, 80, 18).

Aa

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

About this color

#5A5012 is a dark, moderately saturated brown. In OKLCH its lightness is 43%, its chroma 0.080 and its hue 100°. Its hue sits on the warm side of the wheel. The nearest named color is Green Brown (#544E03), ΔE 0.015 away. White text reads best on it, at 8.10:1.

Hue familyBrowns
Lightnessdark (43%)
Chromamoderately saturated (0.080)
Temperaturewarm
Nearest nameGreen Brown (#544E03)
Black text2.59:1
White text8.10:1

Values

HEX#5A5012
RGBrgb(90, 80, 18)
HSLhsl(52, 67%, 21%)
OKLCHoklch(42.9% 0.08 99.7)

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 #5A5012 8.10:1 AAA Lc -92.6 Preferred for body text
Black text on #5A5012 2.59:1 Fails Lc 16.0 Dividers and decoration only
#5A5012 text on white 8.10:1 AAA Lc 88.0 Fine for body text
#5A5012 text on black 2.59:1 Fails Lc -14.2 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

    #F6F6F1

    oklch(97.2% 0.007 106.5)

  2. Step 100

    100

    #ECEAE0

    oklch(93.6% 0.013 97.4)

  3. Step 200

    200

    #DDDAC7

    oklch(88.6% 0.026 99.6)

  4. Step 300

    300

    #C7C2A0

    oklch(80.9% 0.046 100.4)

  5. Step 400

    400

    #ABA26B

    oklch(70.7% 0.075 100.1)

  6. Step 500

    500

    #978B41

    oklch(63.2% 0.096 100.2)

  7. Step 600

    600

    #82741E

    oklch(55.6% 0.104 99.6)

  8. Step 700

    700

    #6E610F

    oklch(49.1% 0.096 99.4)

  9. Step 800

    800 (this color)

    #5A5012

    oklch(42.9% 0.08 99.7)

  10. Step 900

    900

    #494217

    oklch(37.6% 0.062 100.1)

  11. Step 950

    950

    #2B270F

    oklch(27.1% 0.039 100)

Export this scale for Tailwind in the Tailwind colors tool

#5A5012 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)#594E070.008
Deuteranopia (no green cones)#5B51160.004
Tritanopia (no blue cones)#6249440.074
Achromatopsia (no color)#5050500.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A5012

    #5A5012

    oklch(42.9% 0.08 99.7)

  • #474A7A

    #474A7A

    oklch(42.9% 0.079 279.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A5012

    #5A5012

    oklch(42.9% 0.08 99.7)

  • #6B4716

    #6B4716

    oklch(42.9% 0.08 70.5)

  • #415826

    #415826

    oklch(42.9% 0.08 129.7)

Open the analogous palette in the generator

Split complementary

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

  • #5A5012

    #5A5012

    oklch(42.9% 0.08 99.7)

  • #2A5279

    #2A5279

    oklch(42.8% 0.079 249.6)

  • #5D4270

    #5D4270

    oklch(42.8% 0.08 310.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A5012

    #5A5012

    oklch(42.9% 0.08 99.7)

  • #00596D

    #00596D

    oklch(42.9% 0.078 220)

  • #6C3D5D

    #6C3D5D

    oklch(42.8% 0.08 340)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A5012

    #5A5012

    oklch(42.9% 0.08 99.7)

  • #005C58

    #005C58

    oklch(42.8% 0.074 189.6)

  • #474A7A

    #474A7A

    oklch(42.9% 0.079 279.8)

  • #743C46

    #743C46

    oklch(43% 0.079 9.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5A5012 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.