#5F4F02

Closest named color: Olive Brown (#645403). oklch(43.1% 0.088 95.4), rgb(95, 79, 2).

Aa

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

About this color

#5F4F02 is a dark, moderately saturated brown. In OKLCH its lightness is 43%, its chroma 0.088 and its hue 95°. Its hue sits on the warm side of the wheel. The nearest named color is Olive Brown (#645403), ΔE 0.018 away. White text reads best on it, at 8.05:1.

Hue familyBrowns
Lightnessdark (43%)
Chromamoderately saturated (0.088)
Temperaturewarm
Nearest nameOlive Brown (#645403)
Black text2.60:1
White text8.05:1

Values

HEX#5F4F02
RGBrgb(95, 79, 2)
HSLhsl(50, 96%, 19%)
OKLCHoklch(43.1% 0.088 95.4)

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 #5F4F02 8.05:1 AAA Lc -92.4 Preferred for body text
Black text on #5F4F02 2.60:1 Fails Lc 16.2 Dividers and decoration only
#5F4F02 text on white 8.05:1 AAA Lc 87.8 Fine for body text
#5F4F02 text on black 2.60:1 Fails Lc -14.4 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

    #F7F5F0

    oklch(97% 0.007 88.6)

  2. Step 100

    100

    #EDEADF

    oklch(93.6% 0.015 94.2)

  3. Step 200

    200

    #DFD9C5

    oklch(88.5% 0.028 93.1)

  4. Step 300

    300

    #CAC19C

    oklch(80.9% 0.051 95.9)

  5. Step 400

    400

    #B0A164

    oklch(70.8% 0.082 96)

  6. Step 500

    500

    #9D8936

    oklch(63.2% 0.105 95.6)

  7. Step 600

    600

    #887201

    oklch(55.6% 0.114 95.5)

  8. Step 700

    700

    #725F00

    oklch(49% 0.101 95.4)

  9. Step 800

    800 (this color)

    #5F4F02

    oklch(43.1% 0.088 95.4)

  10. Step 900

    900

    #4D410F

    oklch(37.7% 0.068 95.1)

  11. Step 950

    950

    #2D260B

    oklch(27% 0.043 94.8)

Export this scale for Tailwind in the Tailwind colors tool

#5F4F02 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)#594D000.013
Deuteranopia (no green cones)#5D52090.009
Tritanopia (no blue cones)#6847420.081
Achromatopsia (no color)#5050500.088

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F4F02

    #5F4F02

    oklch(43.1% 0.088 95.4)

  • #434B80

    #434B80

    oklch(43.1% 0.088 275.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F4F02

    #5F4F02

    oklch(43.1% 0.088 95.4)

  • #704510

    #704510

    oklch(43.1% 0.087 66.1)

  • #45581D

    #45581D

    oklch(43.1% 0.087 125.1)

Open the analogous palette in the generator

Split complementary

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

  • #5F4F02

    #5F4F02

    oklch(43.1% 0.088 95.4)

  • #1F547D

    #1F547D

    oklch(43.1% 0.088 245.4)

  • #5C4376

    #5C4376

    oklch(43.2% 0.086 305.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F4F02

    #5F4F02

    oklch(43.1% 0.088 95.4)

  • #005A6A

    #005A6A

    oklch(43% 0.076 215.2)

  • #6D3C63

    #6D3C63

    oklch(43.1% 0.088 335)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F4F02

    #5F4F02

    oklch(43.1% 0.088 95.4)

  • #005D56

    #005D56

    oklch(43% 0.076 186)

  • #434B80

    #434B80

    oklch(43.1% 0.088 275.6)

  • #773A49

    #773A49

    oklch(43.1% 0.087 5.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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