#5F7526

Closest named color: Muddy Green (#657432). oklch(52.8% 0.108 123.4), rgb(95, 117, 38).

Aa

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

About this color

#5F7526 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 53%, its chroma 0.108 and its hue 123°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Muddy Green (#657432), ΔE 0.017 away. White text reads best on it, at 5.17:1.

Hue familyYellows
Lightnessmedium-dark (53%)
Chromamoderately saturated (0.108)
Temperaturein between
Nearest nameMuddy Green (#657432)
Black text4.05:1
White text5.17:1

Values

HEX#5F7526
RGBrgb(95, 117, 38)
HSLhsl(77, 51%, 30%)
OKLCHoklch(52.8% 0.108 123.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 #5F7526 5.17:1 AA Lc -80.9 Fine for body text
Black text on #5F7526 4.05:1 AA large text Lc 28.5 Dividers and decoration only
#5F7526 text on white 5.17:1 AA Lc 75.5 Fine for body text
#5F7526 text on black 4.05:1 AA large text Lc -26.2 Dividers and decoration only

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 600.

  1. Step 50

    50

    #F4F6F1

    oklch(97% 0.007 124.4)

  2. Step 100

    100

    #E8ECE1

    oklch(93.7% 0.015 123)

  3. Step 200

    200

    #D5DCC9

    oklch(88.4% 0.027 123.5)

  4. Step 300

    300

    #BAC6A4

    oklch(80.8% 0.048 123.3)

  5. Step 400

    400

    #97A973

    oklch(70.7% 0.077 123.3)

  6. Step 500

    500

    #7E934D

    oklch(63% 0.099 123)

  7. Step 600

    600 (this color)

    #5F7526

    oklch(52.8% 0.108 123.4)

  8. Step 700

    700

    #566A22

    oklch(49.2% 0.1 123.4)

  9. Step 800

    800

    #46561E

    oklch(42.6% 0.082 123.4)

  10. Step 900

    900

    #3B471E

    oklch(37.7% 0.064 123)

  11. Step 950

    950

    #222A12

    oklch(27% 0.042 124.3)

Export this scale for Tailwind in the Tailwind colors tool

#5F7526 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)#7C6E1C0.045
Deuteranopia (no green cones)#796D2C0.046
Tritanopia (no blue cones)#646F650.090
Achromatopsia (no color)#6D6D6D0.108

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F7526

    #5F7526

    oklch(52.8% 0.108 123.4)

  • #785A9E

    #785A9E

    oklch(52.7% 0.108 303.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F7526

    #5F7526

    oklch(52.8% 0.108 123.4)

  • #806901

    #806901

    oklch(52.8% 0.108 93.7)

  • #2F7D4D

    #2F7D4D

    oklch(52.8% 0.108 153.4)

Open the analogous palette in the generator

Split complementary

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

  • #5F7526

    #5F7526

    oklch(52.8% 0.108 123.4)

  • #5765A9

    #5765A9

    oklch(52.7% 0.108 273.4)

  • #905285

    #905285

    oklch(52.9% 0.107 333.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F7526

    #5F7526

    oklch(52.8% 0.108 123.4)

  • #2771A4

    #2771A4

    oklch(52.8% 0.108 243.1)

  • #9D4E65

    #9D4E65

    oklch(52.8% 0.108 3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F7526

    #5F7526

    oklch(52.8% 0.108 123.4)

  • #00788B

    #00788B

    oklch(52.6% 0.092 213.7)

  • #785A9E

    #785A9E

    oklch(52.7% 0.108 303.2)

  • #A05140

    #A05140

    oklch(52.8% 0.109 33.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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