#5A510F

Closest named color: Green Brown (#544E03). oklch(43.1% 0.083 101.1), rgb(90, 81, 15).

Aa

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

About this color

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

Hue familyBrowns
Lightnessdark (43%)
Chromamoderately saturated (0.083)
Temperaturewarm
Nearest nameGreen Brown (#544E03)
Black text2.61:1
White text8.01:1

Values

HEX#5A510F
RGBrgb(90, 81, 15)
HSLhsl(53, 71%, 21%)
OKLCHoklch(43.1% 0.083 101.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 #5A510F 8.01:1 AAA Lc -92.4 Preferred for body text
Black text on #5A510F 2.61:1 Fails Lc 16.3 Dividers and decoration only
#5A510F text on white 8.01:1 AAA Lc 87.7 Fine for body text
#5A510F text on black 2.61:1 Fails Lc -14.5 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

    #DDDAC6

    oklch(88.5% 0.027 99.9)

  4. Step 300

    300

    #C7C29F

    oklch(80.9% 0.048 100.6)

  5. Step 400

    400

    #ABA269

    oklch(70.6% 0.077 100.4)

  6. Step 500

    500

    #968B3E

    oklch(63% 0.099 101.3)

  7. Step 600

    600

    #817518

    oklch(55.7% 0.108 101.5)

  8. Step 700

    700

    #6D6207

    oklch(49.2% 0.1 101.5)

  9. Step 800

    800 (this color)

    #5A510F

    oklch(43.1% 0.083 101.1)

  10. Step 900

    900

    #494215

    oklch(37.6% 0.064 100.4)

  11. Step 950

    950

    #2B270E

    oklch(27% 0.04 100.4)

Export this scale for Tailwind in the Tailwind colors tool

#5A510F 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)#5A4E020.010
Deuteranopia (no green cones)#5C52140.006
Tritanopia (no blue cones)#624A450.077
Achromatopsia (no color)#5050500.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A510F

    #5A510F

    oklch(43.1% 0.083 101.1)

  • #484A7C

    #484A7C

    oklch(43.1% 0.082 280.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A510F

    #5A510F

    oklch(43.1% 0.083 101.1)

  • #6C4713

    #6C4713

    oklch(43% 0.082 70.7)

  • #405926

    #405926

    oklch(43.1% 0.082 130.8)

Open the analogous palette in the generator

Split complementary

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

  • #5A510F

    #5A510F

    oklch(43.1% 0.083 101.1)

  • #2A527C

    #2A527C

    oklch(43% 0.083 251.4)

  • #5F4271

    #5F4271

    oklch(43.1% 0.083 311.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A510F

    #5A510F

    oklch(43.1% 0.083 101.1)

  • #00596F

    #00596F

    oklch(43% 0.08 222.1)

  • #6E3D5D

    #6E3D5D

    oklch(43.1% 0.082 341.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A510F

    #5A510F

    oklch(43.1% 0.083 101.1)

  • #005D5A

    #005D5A

    oklch(43.2% 0.074 190.9)

  • #484A7C

    #484A7C

    oklch(43.1% 0.082 280.6)

  • #763B45

    #763B45

    oklch(43% 0.083 10.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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