#5A4E02

Closest named color: Green Brown (#544E03). oklch(42.3% 0.087 98.9), rgb(90, 78, 2).

Aa

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

About this color

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

Hue familyBrowns
Lightnessdark (42%)
Chromamoderately saturated (0.087)
Temperaturewarm
Nearest nameGreen Brown (#544E03)
Black text2.52:1
White text8.31:1

Values

HEX#5A4E02
RGBrgb(90, 78, 2)
HSLhsl(52, 96%, 18%)
OKLCHoklch(42.3% 0.087 98.9)

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

    #F6F6F0

    oklch(97.1% 0.008 106.5)

  2. Step 100

    100

    #ECEADF

    oklch(93.6% 0.015 98.3)

  3. Step 200

    200

    #DDDAC5

    oklch(88.5% 0.028 100.3)

  4. Step 300

    300

    #C8C29D

    oklch(80.9% 0.05 99.8)

  5. Step 400

    400

    #ADA265

    oklch(70.7% 0.082 99.3)

  6. Step 500

    500

    #998A38

    oklch(63% 0.104 99)

  7. Step 600

    600

    #847309

    oklch(55.5% 0.112 98.6)

  8. Step 700

    700

    #6F6100

    oklch(49.1% 0.102 99.4)

  9. Step 800

    800 (this color)

    #5A4E02

    oklch(42.3% 0.087 98.9)

  10. Step 900

    900

    #4B4211

    oklch(37.8% 0.067 98.6)

  11. Step 950

    950

    #2C270C

    oklch(27.1% 0.043 98.9)

Export this scale for Tailwind in the Tailwind colors tool

#5A4E02 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)#574C000.008
Deuteranopia (no green cones)#5A50090.006
Tritanopia (no blue cones)#6247410.079
Achromatopsia (no color)#4E4E4E0.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A4E02

    #5A4E02

    oklch(42.3% 0.087 98.9)

  • #44487C

    #44487C

    oklch(42.3% 0.086 278.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A4E02

    #5A4E02

    oklch(42.3% 0.087 98.9)

  • #6C440B

    #6C440B

    oklch(42.3% 0.086 69.2)

  • #3F571F

    #3F571F

    oklch(42.4% 0.087 129.1)

Open the analogous palette in the generator

Split complementary

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

  • #5A4E02

    #5A4E02

    oklch(42.3% 0.087 98.9)

  • #23517B

    #23517B

    oklch(42.4% 0.086 248.7)

  • #5C4072

    #5C4072

    oklch(42.4% 0.087 308.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A4E02

    #5A4E02

    oklch(42.3% 0.087 98.9)

  • #00576A

    #00576A

    oklch(42.2% 0.076 219.3)

  • #6C3A5E

    #6C3A5E

    oklch(42.4% 0.086 338.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A4E02

    #5A4E02

    oklch(42.3% 0.087 98.9)

  • #005A56

    #005A56

    oklch(42.2% 0.073 189.5)

  • #44487C

    #44487C

    oklch(42.3% 0.086 278.7)

  • #753844

    #753844

    oklch(42.4% 0.086 9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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